zephyr/drivers/regulator
Gerard Marull-Paretas a29bdc262c drivers: regulator: drop async enable
Drop the async enable function. This feature is rarely/never used,
complicates driver design, and doesn't really follow the sync/async API
design/naming used in other areas. In the future we can introduce
regulator_enable_async if needed, with support from the driver class (no
onoff). Note that drivers like PCA9420 did not implement any
asynchronous behavior. regulator-fixed implemented in the past
asynchronous behavior using work queues, an overkill for most GPIO
driven regulators. Let's keep things simple for now and extend the API
when needed, based on specific usecases.

In the current implementation, reference counting is managed by the
driver class. \isr-ok attribute is dropped, since calls are potentially
blocking. Note that drivers like PCA9420 already violated such rule.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-11-30 15:49:30 +01:00
..
CMakeLists.txt drivers: regulator: drop async enable 2022-11-30 15:49:30 +01:00
Kconfig drivers: regulator: s/pmic/pca9420 2022-11-14 16:59:05 +01:00
Kconfig.fixed drivers: regulator: Update Kconfig 2022-08-17 09:58:55 -05:00
Kconfig.pca9420 drivers: regulator: pca9420: store common config in parent device 2022-11-29 11:54:31 +01:00
regulator_common.c drivers: regulator: drop async enable 2022-11-30 15:49:30 +01:00
regulator_fixed.c drivers: regulator: drop async enable 2022-11-30 15:49:30 +01:00
regulator_pca9420.c drivers: regulator: drop async enable 2022-11-30 15:49:30 +01:00
regulator_shell.c drivers: regulator: drop async enable 2022-11-30 15:49:30 +01:00