diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2016-12-09 16:08:58 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-01-18 09:28:57 -0800 |
commit | 4394ad1227e5752b13fefa99846cb7073f4dd42b (patch) | |
tree | b6deb2fbee3649f955a2129dc8c39dfcb49a402e /include/power/mc34vr500_pmic.h | |
parent | 762161b04ade62be5c708ff167f5fdde2e61fa9c (diff) | |
download | u-boot-4394ad1227e5752b13fefa99846cb7073f4dd42b.tar.gz |
pmic: pmic_mc34vr500: Add APIs to set/get SWx volt
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/power/mc34vr500_pmic.h')
-rw-r--r-- | include/power/mc34vr500_pmic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/power/mc34vr500_pmic.h b/include/power/mc34vr500_pmic.h index df4985ace7..b0b143a591 100644 --- a/include/power/mc34vr500_pmic.h +++ b/include/power/mc34vr500_pmic.h @@ -162,5 +162,14 @@ enum { #define APS_PFM 0xc #define PWM_PFM 0xd +enum swx { + SW1 = 0, + SW2, + SW3, + SW4, +}; + +int mc34vr500_get_sw_volt(uint8_t sw); +int mc34vr500_set_sw_volt(uint8_t sw, int sw_volt); int power_mc34vr500_init(unsigned char bus); #endif /* __MC34VR500_PMIC_H_ */ |