summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-04-20 18:07:42 (GMT)
committerSimon Glass <sjg@chromium.org>2015-05-15 00:49:37 (GMT)
commitaf41e8db26821ae65fa10c8c4689ccb39043878f (patch)
tree6fd25150cbc31bdb10b2881a4fbf544ae8c5d8e1 /include/dm
parent4d9057e82be11a862db411c4867e859fe0d4ca2a (diff)
downloadu-boot-fsl-qoriq-af41e8db26821ae65fa10c8c4689ccb39043878f.tar.xz
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>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index e7adf53..4d737f4 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -51,6 +51,7 @@ enum uclass_id {
/* Power Management */
UCLASS_PMIC, /* PMIC I/O device */
+ UCLASS_REGULATOR, /* REGULATOR device */
UCLASS_COUNT,
UCLASS_INVALID = -1,