From d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979 Mon Sep 17 00:00:00 2001 From: Przemyslaw Marczak Date: Mon, 20 Apr 2015 20:07:43 +0200 Subject: dm: pmic: add pmic command This is new command for the PMIC devices based on driver model PMIC API. Command features are unchanged: - list UCLASS pmic devices - show or [set] operating pmic device (NEW) - dump registers - read byte of register at address - write byte to register at address The only one change for this command is 'dev' subcommand. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass --- common/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/Makefile') diff --git a/common/Makefile b/common/Makefile index 9084c73..425658c 100644 --- a/common/Makefile +++ b/common/Makefile @@ -211,6 +211,9 @@ obj-$(CONFIG_UPDATE_TFTP) += update.o obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o obj-$(CONFIG_CMD_DFU) += cmd_dfu.o obj-$(CONFIG_CMD_GPT) += cmd_gpt.o + +# Power +obj-$(CONFIG_CMD_PMIC) += cmd_pmic.o endif ifdef CONFIG_SPL_BUILD -- cgit v1.1