
22 Apr
2015
22 Apr
'15
7:09 p.m.
On 22 April 2015 at 10:30, Simon Glass sjg@chromium.org wrote:
On 20 April 2015 at 12:07, Przemyslaw Marczak p.marczak@samsung.com wrote:
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
Changes v3:
- new file
- add Kconfig
Changes V4:
- common/cmd_pmic.c: cleanup
- move config name: CONFIG_DM_PMIC_CMD to CONFIG_CMD_PMIC
common/Kconfig | 14 ++++ common/Makefile | 3 + common/cmd_pmic.c | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 common/cmd_pmic.c
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm/next, thanks!