[U-Boot] [PATCH v3 15/24] arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board

Lukasz Majewski l.majewski at samsung.com
Fri Oct 19 17:44:02 CEST 2012


MUIC IC built into the MAX8997 device is enabled at TRATS.

Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
---
Changes for v2:
- None
Changes for v3:
- None
---
 board/samsung/trats/trats.c |    2 ++
 include/configs/trats.h     |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index 7b6f6dc..ed44def 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"
 
@@ -240,6 +241,7 @@ int power_init_board(void)
 	pmic_init(I2C_5);
 
 	pmic_init_max8997();
+	power_muic_init(I2C_5);
 	return 0;
 }
 
diff --git a/include/configs/trats.h b/include/configs/trats.h
index b3b5a3d..8f5239a 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -239,6 +239,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
-- 
1.7.2.3



More information about the U-Boot mailing list