| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com> |
| * X-Powers AX Power Management IC support header |
| #ifdef CONFIG_AXP152_POWER |
| #ifdef CONFIG_AXP209_POWER |
| #ifdef CONFIG_AXP221_POWER |
| #ifdef CONFIG_AXP305_POWER |
| #ifdef CONFIG_AXP809_POWER |
| #ifdef CONFIG_AXP818_POWER |
| 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_get_sid(unsigned int *sid); |