]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: pmic: add pmic command
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:43 +0000 (20:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:40:24 +0000 (22:40 +0200)
commita0d5fa9cba669fdc174b8017616af3a368859acb
tree78351afe51968d8db97aff54862a5a674753240d
parent6668402f9ba6596b671ebd6e113dad0d079c4a65
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 <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/Kconfig
common/Makefile
common/cmd_pmic.c [new file with mode: 0644]