diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-08 12:49:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-29 08:01:32 +0200 |
commit | 485788954c1c4be5f64be143228fc54ec41c00f0 (patch) | |
tree | 7f2f7034af557314ceced91bd6ed7a75af33456f /commands/Kconfig | |
parent | 0af79fbb6779921d3f1962773adb7fb57d3c89d4 (diff) | |
download | barebox-485788954c1c4be5f64be143228fc54ec41c00f0.tar.gz barebox-485788954c1c4be5f64be143228fc54ec41c00f0.tar.xz |
Add initial regulator support
Provide minimal regulator support. Only supported operations are enabling
and disabling regulators. Association of devices with their regulators is
limited to devicetree only. If regulator support is disabled the API expands
to static inline stubs so consumers can still use the API.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index cc014f30ac..510cc910ed 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -690,6 +690,14 @@ config CMD_GPIO include gpio_set_value, gpio_get_value, gpio_direction_input and gpio_direction_output commands to control gpios. +config CMD_REGULATOR + bool + depends on REGULATOR + prompt "regulator command" + help + the regulator command lists the currently registered regulators and + their current state. + config CMD_UNCOMPRESS bool select UNCOMPRESS |