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 <festevam@denx.de> Link: https://lore.kernel.org/r/20230407162504.1683422-1-festevam@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230410220300.2431524-1-linus.walleij@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 10678a0 commit 325ae15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)