402d4eb0da
Fix support for DVS modes, as the dvs_state_set implementation previously had the mask and value parameters in the i2c_reg_update_byte_dt function swapped. Also, record the active DVS state and update the voltage get/set and regulator enable/disable function to target the active DVS mode. This will enable a user to configure multiple run modes, and modify target voltages for those modes when in the new mode. When a user is utilizing the MODESEL pins, update the active state but return an error so that the application can still edit settings for the new DVS mode once it has reconfigured the appropriate pins. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.adp5360 | ||
Kconfig.fake | ||
Kconfig.fixed | ||
Kconfig.npm1100 | ||
Kconfig.npm1300 | ||
Kconfig.npm6001 | ||
Kconfig.pca9420 | ||
Kconfig.rpi_pico | ||
regulator_adp5360.c | ||
regulator_common.c | ||
regulator_fake.c | ||
regulator_fixed.c | ||
regulator_npm1100.c | ||
regulator_npm1300.c | ||
regulator_npm6001.c | ||
regulator_pca9420.c | ||
regulator_rpi_pico.c | ||
regulator_shell.c |