]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx28-tx28: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Fri, 7 Apr 2023 16:14:43 +0000 (13:14 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:14:28 +0000 (11:14 +0800)
As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.

Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-tx28.dts

index ffe58c7093e1c2489a511e45a70cb905c9003fe9..23ad7cd0a1de02a0233396d1ce4a82244fb02767 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&tx28_spi_gpio_pins>;
 
-               gpio-sck = <&gpio2 24 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio2 25 GPIO_ACTIVE_HIGH>;
-               gpio-miso = <&gpio2 26 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
+               miso-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
                num-chipselects = <3>;
                cs-gpios = <
                        &gpio2 27 GPIO_ACTIVE_LOW