summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-04-20 20:07:44 +0200
committerSimon Glass <sjg@chromium.org>2015-05-14 18:49:37 -0600
commit6262b72b8beff316eefc673e1a45ecfee76c9cb1 (patch)
tree5e67535c805d60e6981747035d524c727a36ef4d /common/Makefile
parentd89fdcf9cfdfc7ac5eaf57914dabddc0e4018979 (diff)
downloadtalos-obmc-uboot-6262b72b8beff316eefc673e1a45ecfee76c9cb1.tar.gz
talos-obmc-uboot-6262b72b8beff316eefc673e1a45ecfee76c9cb1.zip
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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 425658c4cd..d6c1d4844d 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
OpenPOWER on IntegriCloud