Skip to content

Commit 325ae15

Browse files
Fabio Estevamarndb
authored andcommitted
ARM: dts: nomadik: Replace deprecated spi-gpio properties
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 10678a0 commit 325ae15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/ste-nomadik-nhk15.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@
210210
* As we're dealing with 3wire SPI, we only define SCK
211211
* and MOSI (in the spec MOSI is called "SDA").
212212
*/
213-
gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
214-
gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
213+
sck-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
214+
mosi-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
215215
cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
216216
num-chipselects = <1>;
217217

0 commit comments

Comments
 (0)