]> git.sur5r.net Git - u-boot/commitdiff
arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 13 Nov 2012 03:22:06 +0000 (03:22 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 14 Nov 2012 10:21:11 +0000 (11:21 +0100)
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>
board/samsung/trats/trats.c
include/configs/trats.h

index ebbc7abd1f8f17172f8a290b391344951adc172c..2359a99fc4eceb0540cbf636fcac85a51081684a 100644 (file)
@@ -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;
 
index d7808aa7123770c1b227376f84f7e3d8d1dfd86e..74c4a237734f903127221fb2d779319cc35be94f 100644 (file)
 #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