]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: fix the chip select gpios definition in the SPI nodes
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Wed, 16 Jul 2014 15:19:10 +0000 (17:19 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 18:37:50 +0000 (19:37 +0100)
This patch replaces the "cs-gpio" from "controller-data" node
as was specified in the old binding and uses the standard
"cs-gpios" property expected by the SPI core as is defined now
in the spi-s3c64xx driver DT binding.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm/boot/dts/exynos4210-smdkv310.dts
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts

index 636d16684750e4f342048d3bf3207a8929581b42..676e6e0c8cf396b562bc3971db21ef93deb35406 100644 (file)
        };
 
        spi_2: spi@13940000 {
+               cs-gpios = <&gpc1 2 0>;
                status = "okay";
 
                w25x80@0 {
                        spi-max-frequency = <1000000>;
 
                        controller-data {
-                               cs-gpio = <&gpc1 2 0>;
                                samsung,spi-feedback-delay = <0>;
                        };
 
index 77878447b3121f59009a7578f170be08f4915a56..11967f4561e023430e4f192b77c0c29c1aef3e7b 100644 (file)
        spi_1: spi@13930000 {
                pinctrl-names = "default";
                pinctrl-0 = <&spi1_bus>;
+               cs-gpios = <&gpb 5 0>;
                status = "okay";
 
                s5c73m3_spi: s5c73m3 {
                        spi-max-frequency = <50000000>;
                        reg = <0>;
                        controller-data {
-                               cs-gpio = <&gpb 5 0>;
                                samsung,spi-feedback-delay = <2>;
                        };
                };
index a794a705d4040ec220c7b380e09dbc83a9193025..0c6433ae63ac1a1697e219e67024f29f112507b5 100644 (file)
        };
 
        spi_1: spi@12d30000 {
+               cs-gpios = <&gpa2 5 0>;
                status = "okay";
 
                w25q80bw@0 {
                        spi-max-frequency = <1000000>;
 
                        controller-data {
-                               cs-gpio = <&gpa2 5 0>;
                                samsung,spi-feedback-delay = <0>;
                        };