7feb008c85
Some regulators are enabled by default, however, such condition cannot be captured now by the regulator driver API. Refactor regulator_common_init_enable to regulator_common_init (enable removed, as it also sets mode) and add a new argument to specify such condition. With this change, regulator_disable() and regulator_is_enabled() work as expected without a first call to regulator_enable(). Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.fake | ||
Kconfig.fixed | ||
Kconfig.npm6001 | ||
Kconfig.pca9420 | ||
regulator_common.c | ||
regulator_fake.c | ||
regulator_fixed.c | ||
regulator_npm6001.c | ||
regulator_pca9420.c | ||
regulator_shell.c |