SMDK5250: Config: Enable MAX77686 pmic chip
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Fri, 24 Aug 2012 00:39:24 +0000 (00:39 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 15 Nov 2012 12:08:19 +0000 (21:08 +0900)
This patch enables MAX77686 pmic chip for SMDK5250.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk5250/smdk5250.c
include/configs/smdk5250.h

index a5816e445c80308f9843728c6ea64428088d03fb..18dd5d248ecc7c69478b63b2c8a30555a2566721 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/arch/mmc.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/sromc.h>
+#include <pmic.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -63,6 +64,9 @@ static int smc9115_pre_init(void)
 int board_init(void)
 {
        gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
+#if defined(CONFIG_PMIC)
+       pmic_init();
+#endif
        return 0;
 }
 
index 91da16799810629be38e2eee401d3e40feb87ad9..89f442bd27d07b1bfa19769bd72db7e4b8fb32d1 100644 (file)
 #define CONFIG_MAX_I2C_NUM     8
 #define CONFIG_SYS_I2C_SLAVE    0x0
 
+/* PMIC */
+#define CONFIG_PMIC
+#define CONFIG_PMIC_I2C
+#define CONFIG_PMIC_MAX77686
+
 /* Ethernet Controllor Driver */
 #ifdef CONFIG_CMD_NET
 #define CONFIG_SMC911X