summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2012-11-13 03:22:06 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 11:21:11 +0100
commit7dcda99d4f1f9f966383609b72edad4b76e9aad4 (patch)
tree545bd9c8e0a88aefc7cf5c0d5dcb74a848082f67
parenta52a7b14775bf54b3c6e279146e4f58c010b6823 (diff)
downloadu-boot-imx-7dcda99d4f1f9f966383609b72edad4b76e9aad4.zip
u-boot-imx-7dcda99d4f1f9f966383609b72edad4b76e9aad4.tar.gz
u-boot-imx-7dcda99d4f1f9f966383609b72edad4b76e9aad4.tar.bz2
arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board
MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--board/samsung/trats/trats.c3
-rw-r--r--include/configs/trats.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index ebbc7ab..2359a99 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -38,6 +38,7 @@
#include <usb/s3c_udc.h>
#include <power/max8997_pmic.h>
#include <libtizen.h>
+#include <power/max8997_muic.h>
#include "setup.h"
@@ -241,7 +242,7 @@ int power_init_board(void)
ret = pmic_init(I2C_5);
ret |= pmic_init_max8997();
-
+ ret |= power_muic_init(I2C_5);
if (ret)
return ret;
diff --git a/include/configs/trats.h b/include/configs/trats.h
index d7808aa..74c4a23 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -238,6 +238,8 @@
#define CONFIG_PMIC_I2C
#define CONFIG_PMIC_MAX8997
+#define CONFIG_POWER_MUIC
+#define CONFIG_POWER_MUIC_MAX8997
#define CONFIG_USB_GADGET
#define CONFIG_USB_GADGET_S3C_UDC_OTG
#define CONFIG_USB_GADGET_DUALSPEED