diff options
Diffstat (limited to 'src/drivers/xpowers/axp209/axp209.h')
-rw-r--r-- | src/drivers/xpowers/axp209/axp209.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/xpowers/axp209/axp209.h b/src/drivers/xpowers/axp209/axp209.h index 1d369f590c..c9cdd7efba 100644 --- a/src/drivers/xpowers/axp209/axp209.h +++ b/src/drivers/xpowers/axp209/axp209.h @@ -6,6 +6,7 @@ */ #include <types.h> +#include "chip.h" #define AXP209_I2C_ADDR (0x68 >> 1) @@ -15,3 +16,5 @@ enum cb_err axp209_set_dcdc3_voltage(u8 bus, u16 millivolts); enum cb_err axp209_set_ldo2_voltage(u8 bus, u16 millivolts); enum cb_err axp209_set_ldo3_voltage(u8 bus, u16 millivolts); enum cb_err axp209_set_ldo4_voltage(u8 bus, u16 millivolts); +enum cb_err axp209_set_voltages(u8 bus, const struct + drivers_xpowers_axp209_config *cfg); |