]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Odroid-XU3: enable s2mps11 PMIC support
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Oct 2015 12:08:02 +0000 (13:08 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 2 Nov 2015 01:38:00 +0000 (10:38 +0900)
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/dts/exynos5422-odroidxu3.dts
configs/odroid-xu3_defconfig

index d0a8621fdad3c95cd0890a96ccc0208d8c03111a..9dec679e0e8009ac6c7099d17b33cb84e2091415 100644 (file)
                        0xb0000000 0xea00000>;
        };
 
+       i2c@12CA0000 {
+               s2mps11_pmic@66 {
+                       compatible = "samsung,s2mps11-pmic";
+                       reg = <0x66>;
+               };
+       };
+
        ehci@12110000 {
                samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
        };
index 479af9e71afd0fcea6a9f529326abd696e5619ab..780dcabfccc0462a4b15904111654b89a721c729 100644 (file)
@@ -9,7 +9,10 @@ CONFIG_SYS_PROMPT="ODROID-XU3 # "
 # CONFIG_CMD_SETEXPR is not set
 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_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_BRIDGE=y