cros_ec: exynos: Use the correct tps65090 driver in each case
authorSimon Glass <sjg@chromium.org>
Wed, 8 Oct 2014 04:01:41 +0000 (22:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 8 Oct 2014 08:25:47 +0000 (17:25 +0900)
Exynos 5250 boards (snow, spring) use the I2C driver but Exynos 5420 boards
cannot due to a hardware design decision. Select the correct driver to use
in each case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/power/pmic/Makefile
include/configs/exynos5250-dt.h
include/configs/peach-pit.h

index 0b766112c013bb186f99a787f5fb4221ce179933..e7b07ebab49ea365d51234621ac989a8d4078e2e 100644 (file)
@@ -11,7 +11,7 @@ obj-$(CONFIG_POWER_MAX8997) += pmic_max8997.o
 obj-$(CONFIG_POWER_MUIC_MAX8997) += muic_max8997.o
 obj-$(CONFIG_POWER_MAX77686) += pmic_max77686.o
 obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o
-obj-$(CONFIG_POWER_TPS65090) += pmic_tps65090.o
+obj-$(CONFIG_POWER_TPS65090_I2C) += pmic_tps65090.o
 obj-$(CONFIG_POWER_TPS65090_EC) += pmic_tps65090_ec.o
 obj-$(CONFIG_POWER_TPS65217) += pmic_tps65217.o
 obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o
index c24984bd2b9a7f6831fae5ac991ab4dc2fb783d8..5504515ab1fd8cbdbe0e6c3a0d87c213bf430cc7 100644 (file)
@@ -42,6 +42,7 @@
 
 /* PMIC */
 #define CONFIG_POWER_MAX77686
+#define CONFIG_POWER_TPS65090_I2C
 
 /* Sound */
 #define CONFIG_CMD_SOUND
index 987cef504c9bd0d31ed23a7d207c6ce59cf8054d..34734ada21c39da8bc0e5b6177eac30ea575787c 100644 (file)
@@ -30,4 +30,6 @@
 #define LCD_BPP                        LCD_COLOR16
 #endif
 
+#define CONFIG_POWER_TPS65090_EC
+
 #endif /* __CONFIG_PEACH_PIT_H */