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

Simon Glass sjg at chromium.org
Wed Apr 22 18:30:46 CEST 2015


On 20 April 2015 at 12:07, Przemyslaw Marczak <p.marczak at 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 at 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 at chromium.org>


More information about the U-Boot mailing list