aboutsummaryrefslogtreecommitdiff
path: root/include/power/mc34vr500_pmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power/mc34vr500_pmic.h')
-rw-r--r--include/power/mc34vr500_pmic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/power/mc34vr500_pmic.h b/include/power/mc34vr500_pmic.h
index df4985a..b0b143a 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_ */