public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] ARM: dts: imx7d-sdb: Replace deprecated spi-gpio properties
@ 2023-04-07 16:14 Fabio Estevam
  2023-04-07 16:14 ` [PATCH 2/7] ARM: dts: imx6ul-14x14-evk: " Fabio Estevam
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Fabio Estevam @ 2023-04-07 16:14 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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>
---
 arch/arm/boot/dts/imx7d-sdb.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index f483bc0afe5e..25681c430393 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -43,8 +43,8 @@ spi-4 {
 		compatible = "spi-gpio";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_spi4>;
-		gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-		gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+		sck-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+		mosi-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
 		cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
 		num-chipselects = <1>;
 		#address-cells = <1>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-13  3:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-07 16:14 [PATCH 1/7] ARM: dts: imx7d-sdb: Replace deprecated spi-gpio properties Fabio Estevam
2023-04-07 16:14 ` [PATCH 2/7] ARM: dts: imx6ul-14x14-evk: " Fabio Estevam
2023-04-07 16:14 ` [PATCH 3/7] ARM: dts: imx51-zii-rdu1: " Fabio Estevam
2023-04-07 16:14 ` [PATCH 4/7] ARM: dts: vf610-zii-dev-rev-b: " Fabio Estevam
2023-04-07 16:14 ` [PATCH 5/7] ARM: dts: imx6ul-tx6ul: " Fabio Estevam
2023-04-07 16:14 ` [PATCH 6/7] sARM: dts: imx28-tx28: " Fabio Estevam
2023-04-10 17:24   ` Krzysztof Kozlowski
2023-05-13  3:15     ` Shawn Guo
2023-04-07 16:14 ` [PATCH 7/7] ARM: dts: imx28-cfa: " Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox