]> git.sur5r.net Git - u-boot/commit
dm: pmic: add pmic command
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:43 +0000 (20:07 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:37 +0000 (18:49 -0600)
commitd89fdcf9cfdfc7ac5eaf57914dabddc0e4018979
treed23a94d62f6ee549a5bbcbb92a6103eec0c1a859
parentaf41e8db26821ae65fa10c8c4689ccb39043878f
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]