[U-Boot] [PATCH 19/19] odroid: config: enable dm pmic, dm regulator and max77686 driver

Przemyslaw Marczak p.marczak at samsung.com
Wed Oct 8 22:48:55 CEST 2014


This change enables the configs required to init and setup
max77686 regulator driver, using the new driver model pmic API.

Enabled configs:
- CONFIG_DM_PMIC
- CONFIG_DM_PMIC_MAX77686
- CONFIG_DM_PMIC_I2C
- CONFIG_DM_REGULATOR
- CONFIG_DM_REGULATOR_MAX77686

Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
---
 include/configs/odroid.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index b928af8..ccc602d 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -185,9 +185,11 @@
 #define CONFIG_SYS_I2C_INIT_BOARD
 
 /* POWER */
-#define CONFIG_POWER
-#define CONFIG_POWER_I2C
-#define CONFIG_POWER_MAX77686
+#define CONFIG_DM_PMIC
+#define CONFIG_DM_PMIC_MAX77686
+#define CONFIG_DM_PMIC_I2C
+#define CONFIG_DM_REGULATOR
+#define CONFIG_DM_REGULATOR_MAX77686
 
 /* GPT */
 #define CONFIG_RANDOM_UUID
-- 
1.9.1



More information about the U-Boot mailing list