devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: daniel@zonque.org
Cc: haojian.zhuang@gmail.com, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Fabio Estevam <festevam@denx.de>
Subject: [PATCH] ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties
Date: Tue, 16 May 2023 10:16:30 -0300	[thread overview]
Message-ID: <20230516131630.580213-1-festevam@gmail.com> (raw)

From: Fabio Estevam <festevam@denx.de>

As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.

Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/pxa300-raumfeld-common.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
index 147c99191dc2..5e93f315588a 100644
--- a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
+++ b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
@@ -74,9 +74,9 @@ spi: spi {
 		#size-cells = <0>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&spi_pins>;
-		gpio-sck = <&gpio 95 GPIO_ACTIVE_HIGH>;
-		gpio-miso = <&gpio 98 GPIO_ACTIVE_HIGH>;
-		gpio-mosi = <&gpio 97 GPIO_ACTIVE_HIGH>;
+		sck-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>;
+		miso-gpios = <&gpio 98 GPIO_ACTIVE_HIGH>;
+		mosi-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
 		cs-gpios = <
 			&gpio 34 GPIO_ACTIVE_HIGH
 			&gpio 125 GPIO_ACTIVE_HIGH
-- 
2.34.1


             reply	other threads:[~2023-05-16 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16 13:16 Fabio Estevam [this message]
2023-05-16 13:18 ` [PATCH] ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties Daniel Mack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230516131630.580213-1-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=daniel@zonque.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@denx.de \
    --cc=haojian.zhuang@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).