]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: regulator: add implementation of driver model regulator uclass
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:42 +0000 (20:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:40:24 +0000 (22:40 +0200)
commit6668402f9ba6596b671ebd6e113dad0d079c4a65
tree66d52182b6afc8bcbefa9472648cf53169f77b39
parent9d7c65249adc1682d977263a27d76baef0ae871c
dm: regulator: add implementation of driver model regulator uclass

This commit introduces the implementation of dm regulator API.
Device tree support allows for auto binding. And by the basic
uclass operations, it allows to driving the devices in a common
way. For detailed informations, please look into the header file.

Core files:
- drivers/power/regulator-uclass.c - provides regulator common functions api
- include/power/regulator.h - define all structures required by the regulator

Changes:
- new uclass-id: UCLASS_REGULATOR
- new config: CONFIG_DM_REGULATOR

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Makefile
doc/device-tree-bindings/regulator/regulator.txt [new file with mode: 0644]
drivers/power/Kconfig
drivers/power/regulator/Kconfig [new file with mode: 0644]
drivers/power/regulator/Makefile [new file with mode: 0644]
drivers/power/regulator/regulator-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/power/regulator.h [new file with mode: 0644]