[U-Boot] [PATCH v4 06/16] dm: pmic: add pmic command

Simon Glass
2015-04-22T16:30:46Z

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>