From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 22 Apr 2015 11:10:32 -0600 Subject: [U-Boot] [PATCH v4 10/16] dm: regulator: add max77686 regulator driver In-Reply-To: References: <1427229051-20170-1-git-send-email-p.marczak@samsung.com> <1429553273-6453-1-git-send-email-p.marczak@samsung.com> <1429553273-6453-11-git-send-email-p.marczak@samsung.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22 April 2015 at 10:31, Simon Glass wrote: > On 20 April 2015 at 12:07, Przemyslaw Marczak 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 >> --- >> 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 Applied to u-boot-dm/next, thanks!