Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Fabio Estevam and committed by
Arnd Bergmann
325ae154 10678a07

+2 -2
+2 -2
arch/arm/boot/dts/ste-nomadik-nhk15.dts
··· 210 210 * As we're dealing with 3wire SPI, we only define SCK 211 211 * and MOSI (in the spec MOSI is called "SDA"). 212 212 */ 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>; 215 215 cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 216 216 num-chipselects = <1>; 217 217