ARM: dts: armada-xp: Replace deprecated spi-gpio properties
PATCH 1/1 ARM: dts: armada-xp: Replace deprecated spi-gpio properties
From: Fabio Estevam <[email protected]>
As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml, 'gpio-mosi' and 'gpio-sck' are deprecated properties.
Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.
--- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +2 -2
@@ -167,8 +167,8 @@ scroll-button { spi-3 { compatible = "spi-gpio"; status = "okay"; - gpio-sck = <&gpio0 25 GPIO_ACTIVE_LOW>; - gpio-mosi = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/ + sck-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; + mosi-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/ cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; num-chipselects = <1>; #address-cells = <1>;
Signature · 1 line
2.34.1
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As stated in
Documentation/devicetree/bindings/spi/spi-gpio.yaml, 'gpio-mosi' and 'gpio-sck' are deprecated properties.Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.
Signed-off-by Fabio Estevam <[email protected]>
Andrew
Quoted 11 lines · Andrew Lunn
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As stated in
Documentation/devicetree/bindings/spi/spi-gpio.yaml, 'gpio-mosi' and 'gpio-sck' are deprecated properties.Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Andrew Lunn <[email protected]>
Applied on mvebu/dt
Thanks,
Gregory
Quoted 2 lines
Andrew
Signature · 8 lines
Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel