mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
sunxi: power: Unify axp pmic function names
Stop prefixing the axp functions for setting voltages, etc. with the model number, there ever is only one pmic driver built into u-boot, this allows simplifying the callers. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
@ -39,12 +39,3 @@ enum axp209_reg {
|
||||
#define AXP_GPIO_CTRL_INPUT 0x02 /* Input */
|
||||
#define AXP_GPIO_STATE 0x94
|
||||
#define AXP_GPIO_STATE_OFFSET 4
|
||||
|
||||
extern int axp209_set_dcdc2(int mvolt);
|
||||
extern int axp209_set_dcdc3(int mvolt);
|
||||
extern int axp209_set_ldo2(int mvolt);
|
||||
extern int axp209_set_ldo3(int mvolt);
|
||||
extern int axp209_set_ldo4(int mvolt);
|
||||
extern int axp209_init(void);
|
||||
extern int axp209_poweron_by_dc(void);
|
||||
extern int axp209_power_button(void);
|
||||
|
Reference in New Issue
Block a user