mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
fbd37d8d28
This PMIC can be found on H616 boards and it's very similar to AXP805 and AXP806. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*
|
|
* X-Powers AX Power Management IC support header
|
|
*/
|
|
#ifndef _AXP_PMIC_H_
|
|
|
|
#ifdef CONFIG_AXP152_POWER
|
|
#include <axp152.h>
|
|
#endif
|
|
#ifdef CONFIG_AXP209_POWER
|
|
#include <axp209.h>
|
|
#endif
|
|
#ifdef CONFIG_AXP221_POWER
|
|
#include <axp221.h>
|
|
#endif
|
|
#ifdef CONFIG_AXP305_POWER
|
|
#include <axp305.h>
|
|
#endif
|
|
#ifdef CONFIG_AXP809_POWER
|
|
#include <axp809.h>
|
|
#endif
|
|
#ifdef CONFIG_AXP818_POWER
|
|
#include <axp818.h>
|
|
#endif
|
|
|
|
int axp_set_dcdc1(unsigned int mvolt);
|
|
int axp_set_dcdc2(unsigned int mvolt);
|
|
int axp_set_dcdc3(unsigned int mvolt);
|
|
int axp_set_dcdc4(unsigned int mvolt);
|
|
int axp_set_dcdc5(unsigned int mvolt);
|
|
int axp_set_aldo1(unsigned int mvolt);
|
|
int axp_set_aldo2(unsigned int mvolt);
|
|
int axp_set_aldo3(unsigned int mvolt);
|
|
int axp_set_aldo4(unsigned int mvolt);
|
|
int axp_set_dldo(int dldo_num, unsigned int mvolt);
|
|
int axp_set_eldo(int eldo_num, unsigned int mvolt);
|
|
int axp_set_fldo(int fldo_num, unsigned int mvolt);
|
|
int axp_set_sw(bool on);
|
|
int axp_init(void);
|
|
int axp_get_sid(unsigned int *sid);
|
|
|
|
#endif
|