]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: add sysreg phandle to i2c device nodes for exynos
authorPankaj Dubey <pankaj.dubey@samsung.com>
Wed, 26 Nov 2014 18:24:45 +0000 (03:24 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 26 Nov 2014 18:24:45 +0000 (03:24 +0900)
This patch adds syscon based phandle to i2c device nodes of exynos5250
and exynos5420. These phandles will be used to save restore i2c sysreg
configuration register during s2r from i2c driver.

CC: Rob Herring <robh+dt@kernel.org>
CC: Randy Dunlap <rdunlap@infradead.org>
CC: Russell King <linux@arm.linux.org.uk>
CC: devicetree@vger.kernel.org
CC: linux-doc@vger.kernel.org
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos5420.dtsi

index 278de8e64bbf591b2b9fe4350fb843679b2cdc8c..89b3250f049b6ead36b110df609a1ab340ac0fb8 100644 (file)
@@ -32,6 +32,7 @@ Optional properties:
     specified, default value is 0.
   - samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not
     specified, the default value in Hz is 100000.
+  - samsung,sysreg-phandle - handle to syscon used to control the system registers
 
 Example:
 
index 012b0211afed89732d1c32c14c086caf85082e42..6a32d50070c12bf9c98e3bea2ddf46d6c74c5470 100644 (file)
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c0_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c1_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c2_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c3_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
index 8617a031cbc06bf670e42f167056fe6c061b0d63..90bf4011e3195ae93a5a38bab7343e506ff45c0a 100644 (file)
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c0_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c1_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c2_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };
 
                clock-names = "i2c";
                pinctrl-names = "default";
                pinctrl-0 = <&i2c3_bus>;
+               samsung,sysreg-phandle = <&sysreg_system_controller>;
                status = "disabled";
        };