[U-Boot] [PATCH v4 10/16] dm: regulator: add max77686 regulator driver
Simon Glass
sjg at chromium.org
Wed Apr 22 19:10:32 CEST 2015
On 22 April 2015 at 10:31, Simon Glass <sjg at chromium.org> wrote:
> On 20 April 2015 at 12:07, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
>> This commit adds support to MAX77686 regulator driver,
>> based on a driver model regulator's API. It implements
>> almost all regulator operations, beside those for setting
>> and geting the Current value.
>> For proper bind and operation it requires the MAX77686 PMIC driver.
>>
>> New file: drivers/power/regulator/max77686.c
>> New config: CONFIG_DM_REGULATOR_MAX77686
>>
>> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
>> ---
>> Changes V2:
>> - change debug() to error()
>> - code cleanup
>> - fix data types
>> - ldo/buck state implementation
>> - adjust to new uclass api
>>
>> Changes V3:
>> - regulator/max77686.c:
>> -- adjust to api changes
>> -- add separeted drivers for buck and ldo
>> -- bind regulators by its compatibles
>> - Kconfig: add regulator max77686 entry
>>
>> Changes V4:
>> - move DM_REGULATOR_MAX77686 Kconfig entry from: drivers/power/Kconfig to
>> drivers/power/regulator/Kconfig
>> - regulator/max77686.c: cleanup
>> - regulator/max77686.c: add missing break for switch
>> - regulator/max77686.c: includes cleanup
>> - regulator.h: comments cleanup
>> - add binding info
>>
>> ---
>> doc/device-tree-bindings/regulator/max77686.txt | 70 ++
>> drivers/power/Makefile | 1 -
>> drivers/power/regulator/Kconfig | 8 +
>> drivers/power/regulator/Makefile | 1 +
>> drivers/power/regulator/max77686.c | 825 ++++++++++++++++++++++++
>> include/power/max77686_pmic.h | 19 +-
>> include/power/regulator.h | 42 +-
>> 7 files changed, 942 insertions(+), 24 deletions(-)
>> create mode 100644 doc/device-tree-bindings/regulator/max77686.txt
>> create mode 100644 drivers/power/regulator/max77686.c
>
> Acked-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list