summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-07 22:01:41 -0600
committerMinkyu Kang <mk7.kang@samsung.com>2014-10-08 17:25:47 +0900
commit5b9c8cb6cbb822594b9e5171a7ee2839f497352e (patch)
tree2b4bb4ebf8fae8906a0d1c5a5a5b314e6f7eb6e7
parent2c94611d5f6dc5b49c02806dfdaacf6b27a5da83 (diff)
downloadu-boot-imx-5b9c8cb6cbb822594b9e5171a7ee2839f497352e.zip
u-boot-imx-5b9c8cb6cbb822594b9e5171a7ee2839f497352e.tar.gz
u-boot-imx-5b9c8cb6cbb822594b9e5171a7ee2839f497352e.tar.bz2
cros_ec: exynos: Use the correct tps65090 driver in each case
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>
-rw-r--r--drivers/power/pmic/Makefile2
-rw-r--r--include/configs/exynos5250-dt.h1
-rw-r--r--include/configs/peach-pit.h2
3 files changed, 4 insertions, 1 deletions
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index 0b76611..e7b07eb 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -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
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index c24984b..5504515 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -42,6 +42,7 @@
/* PMIC */
#define CONFIG_POWER_MAX77686
+#define CONFIG_POWER_TPS65090_I2C
/* Sound */
#define CONFIG_CMD_SOUND
diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h
index 987cef5..34734ad 100644
--- a/include/configs/peach-pit.h
+++ b/include/configs/peach-pit.h
@@ -30,4 +30,6 @@
#define LCD_BPP LCD_COLOR16
#endif
+#define CONFIG_POWER_TPS65090_EC
+
#endif /* __CONFIG_PEACH_PIT_H */