[U-Boot] [PATCH V3 05/14] dm: pmic: add s2mps11 PMIC I/O driver

Simon Glass
2015-10-28T18:50:19Z

On 27 October 2015 at 06:07, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> This driver allows I/O operations on the Samsung S2MPS11 PMIC,
> which provides lots of LDO/BUCK outputs.
>
> To enable it, update defconfig with:
> - CONFIG_PMIC_S2MPS11
> and additional, if were not defined:
> - CONFIG_CMD_PMIC
> - CONFIG_ERRNO_STR
>
> The binding info: doc/device-tree-bindings/pmic/s2mps11.txt
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> Changes V2:
> - remove "DM" prefix from config name
> - fix word mistake in binding description
> Changes V3:
> - correct return values for driver's read/write methods
> ---
> doc/device-tree-bindings/pmic/s2mps11.txt | 17 +++++
> drivers/power/pmic/Kconfig | 14 ++++
> drivers/power/pmic/Makefile | 1 +
> drivers/power/pmic/s2mps11.c | 62 +++++++++++++++++
> include/power/s2mps11.h | 109 ++++++++++++++++++++++++++++++
> 5 files changed, 203 insertions(+)
> create mode 100644 doc/device-tree-bindings/pmic/s2mps11.txt
> create mode 100644 drivers/power/pmic/s2mps11.c
> create mode 100644 include/power/s2mps11.h

Reviewed-by: Simon Glass <sjg@chromium.org>