提交 0d146a56 编写于 作者: R Rajeshwari Shinde 提交者: Minkyu Kang

SMDK5250: Config: Enable MAX77686 pmic chip

This patch enables MAX77686 pmic chip for SMDK5250.
Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
上级 58894524
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <asm/arch/mmc.h> #include <asm/arch/mmc.h>
#include <asm/arch/pinmux.h> #include <asm/arch/pinmux.h>
#include <asm/arch/sromc.h> #include <asm/arch/sromc.h>
#include <pmic.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -63,6 +64,9 @@ static int smc9115_pre_init(void) ...@@ -63,6 +64,9 @@ static int smc9115_pre_init(void)
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL); gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
#if defined(CONFIG_PMIC)
pmic_init();
#endif
return 0; return 0;
} }
......
...@@ -204,6 +204,11 @@ ...@@ -204,6 +204,11 @@
#define CONFIG_MAX_I2C_NUM 8 #define CONFIG_MAX_I2C_NUM 8
#define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SLAVE 0x0
/* PMIC */
#define CONFIG_PMIC
#define CONFIG_PMIC_I2C
#define CONFIG_PMIC_MAX77686
/* Ethernet Controllor Driver */ /* Ethernet Controllor Driver */
#ifdef CONFIG_CMD_NET #ifdef CONFIG_CMD_NET
#define CONFIG_SMC911X #define CONFIG_SMC911X
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册