summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-05-11 13:42:29 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:34 +0100
commitfefbd3e0e5132a7655046e19c4c7305ec3490e11 (patch)
tree7de301d040a5396e4e3f8c1c9139f5d2eb80a49b /include
parentbed50086e3ae27bf360f7beca30434dc570e85a1 (diff)
MLK-10873-1 imx:mx7d use pmic framework
Use pmic framework to simplify code and make code clean. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx7d_12x12_ddr3_arm2.h9
-rw-r--r--include/configs/mx7d_12x12_lpddr3_arm2.h1
-rw-r--r--include/configs/mx7d_19x19_ddr3_arm2.h9
3 files changed, 8 insertions, 11 deletions
diff --git a/include/configs/mx7d_12x12_ddr3_arm2.h b/include/configs/mx7d_12x12_ddr3_arm2.h
index b6c07dba9f..5ff3625c87 100644
--- a/include/configs/mx7d_12x12_ddr3_arm2.h
+++ b/include/configs/mx7d_12x12_ddr3_arm2.h
@@ -33,11 +33,10 @@
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_SPEED 100000
/* PMIC */
-#define CONFIG_PFUZE3000_PMIC_I2C
-#ifdef CONFIG_PFUZE3000_PMIC_I2C
-#define CONFIG_PMIC_I2C_BUS 0
-#define CONFIG_PMIC_I2C_SLAVE 0x8
-#endif
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE300
+#define CONFIG_POWER_PFUZE300_I2C_ADDR 0x08
#endif
#ifdef CONFIG_SYS_USE_SPINOR
diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h
index ece93b1077..1ad45c121b 100644
--- a/include/configs/mx7d_12x12_lpddr3_arm2.h
+++ b/include/configs/mx7d_12x12_lpddr3_arm2.h
@@ -45,7 +45,6 @@
#endif
/* PMIC */
-/* PMIC */
#define CONFIG_POWER
#define CONFIG_POWER_I2C
#define CONFIG_POWER_PFUZE300
diff --git a/include/configs/mx7d_19x19_ddr3_arm2.h b/include/configs/mx7d_19x19_ddr3_arm2.h
index dddc248169..d855d00069 100644
--- a/include/configs/mx7d_19x19_ddr3_arm2.h
+++ b/include/configs/mx7d_19x19_ddr3_arm2.h
@@ -53,11 +53,10 @@
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_SPEED 100000
/* PMIC */
-#define CONFIG_PFUZE3000_PMIC_I2C
-#ifdef CONFIG_PFUZE3000_PMIC_I2C
-#define CONFIG_PMIC_I2C_BUS 0
-#define CONFIG_PMIC_I2C_SLAVE 0x8
-#endif
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE300
+#define CONFIG_POWER_PFUZE300_I2C_ADDR 0x08
#endif
#ifdef CONFIG_SYS_USE_SPINOR