diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-04-20 20:07:43 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:37 -0600 |
commit | d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979 (patch) | |
tree | d23a94d62f6ee549a5bbcbb92a6103eec0c1a859 /common/Kconfig | |
parent | af41e8db26821ae65fa10c8c4689ccb39043878f (diff) | |
download | u-boot-imx-d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979.zip u-boot-imx-d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979.tar.gz u-boot-imx-d89fdcf9cfdfc7ac5eaf57914dabddc0e4018979.tar.bz2 |
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>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 15759f7..dd123f0 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -460,4 +460,18 @@ config BOOTSTAGE_STASH_SIZE endmenu +menu "Power commands" +config CMD_PMIC + bool "Enable Driver Model PMIC command" + depends on DM_PMIC + help + This is the pmic command, based on a driver model pmic's API. + Command features are unchanged: + - list - list pmic devices + - pmic dev <id> - show or [set] operating pmic device (NEW) + - pmic dump - dump registers + - pmic read address - read byte of register at address + - pmic write address - write byte to register at address + The only one change for this command is 'dev' subcommand. +endmenu endmenu |