diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-04-20 18:07:44 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-15 00:49:37 (GMT) |
commit | 6262b72b8beff316eefc673e1a45ecfee76c9cb1 (patch) | |
tree | 5e67535c805d60e6981747035d524c727a36ef4d /common/Makefile | |
parent | d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979 (diff) | |
download | u-boot-6262b72b8beff316eefc673e1a45ecfee76c9cb1.tar.xz |
dm: regulator: add regulator command
This command is based on driver model regulator's API.
The user interface provides:
- list UCLASS regulator devices
- show or [set] operating regulator device
- print constraints info
- print operating status
- print/[set] voltage value [uV] (force)
- print/[set] current value [uA]
- print/[set] operating mode id
- enable the regulator output
- disable the regulator output
The 'force' option can be used for setting the value which exceeds
the constraints min/max limits.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 425658c..d6c1d48 100644 --- a/common/Makefile +++ b/common/Makefile @@ -214,6 +214,7 @@ obj-$(CONFIG_CMD_GPT) += cmd_gpt.o # Power obj-$(CONFIG_CMD_PMIC) += cmd_pmic.o +obj-$(CONFIG_CMD_REGULATOR) += cmd_regulator.o endif ifdef CONFIG_SPL_BUILD |