[U-Boot] [PATCH V2 08/11] Odroid-XU3: enable s2mps11 PMIC support

Przemyslaw Marczak p.marczak at samsung.com
Mon Sep 21 14:26:40 CEST 2015


Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
---
Changes V2:
- none
---
 arch/arm/dts/exynos5422-odroidxu3.dts | 7 +++++++
 configs/odroid-xu3_defconfig          | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts/exynos5422-odroidxu3.dts
index d0a8621..9dec679 100644
--- a/arch/arm/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/dts/exynos5422-odroidxu3.dts
@@ -31,6 +31,13 @@
 			0xb0000000 0xea00000>;
 	};
 
+	i2c at 12CA0000 {
+		s2mps11_pmic at 66 {
+			compatible = "samsung,s2mps11-pmic";
+			reg = <0x66>;
+		};
+	};
+
 	ehci at 12110000 {
 		samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
 	};
diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig
index 9c3b6d6..f38c37b 100644
--- a/configs/odroid-xu3_defconfig
+++ b/configs/odroid-xu3_defconfig
@@ -8,7 +8,10 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5422-odroidxu3"
 CONFIG_DM_I2C=y
 CONFIG_DM_I2C_COMPAT=y
 CONFIG_DM_PMIC=y
+CONFIG_CMD_PMIC=y
+CONFIG_ERRNO_STR=y
 CONFIG_DM_REGULATOR=y
+CONFIG_PMIC_S2MPS11=y
 CONFIG_VIDEO_BRIDGE=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 CONFIG_USB=y
-- 
1.9.1



More information about the U-Boot mailing list