devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings
@ 2025-08-11 18:37 Wolfram Sang
  2025-08-11 18:37 ` [PATCH RESEND 1/2] ARM: dts: cirrus: ep7211: " Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-08-11 18:37 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Linus Walleij, Wolfram Sang, Conor Dooley, devicetree,
	Krzysztof Kozlowski, Rob Herring

Some ARM boards still use the deprecated 'gpios' property to describe a
GPIO based I2C bus. Let them use the proper '{scl|sda}-gpios' property.

Based on 6.17-rc1. No dependencies. These patches are the leftovers from
the series for the 6.16 cycle. Please apply.


Wolfram Sang (2):
  ARM: dts: cirrus: ep7211: use recent scl/sda gpio bindings
  ARM: dts: stm32: use recent scl/sda gpio bindings

 arch/arm/boot/dts/cirrus/ep7211-edb7211.dts | 4 ++--
 arch/arm/boot/dts/st/ste-nomadik-s8815.dts  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.47.2


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

* [PATCH RESEND 1/2] ARM: dts: cirrus: ep7211: use recent scl/sda gpio bindings
  2025-08-11 18:37 [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings Wolfram Sang
@ 2025-08-11 18:37 ` Wolfram Sang
  2025-08-11 18:37 ` [PATCH RESEND 2/2] ARM: dts: stm32: " Wolfram Sang
  2025-08-19 10:05 ` [PATCH RESEND 0/2] ARM: dts: " Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-08-11 18:37 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Linus Walleij, Wolfram Sang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

We have dedictaded bindings for scl/sda nowadays. Switch away from the
deprecated plain 'gpios' property.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm/boot/dts/cirrus/ep7211-edb7211.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/cirrus/ep7211-edb7211.dts b/arch/arm/boot/dts/cirrus/ep7211-edb7211.dts
index adc74243ed19..0b15ccaa762e 100644
--- a/arch/arm/boot/dts/cirrus/ep7211-edb7211.dts
+++ b/arch/arm/boot/dts/cirrus/ep7211-edb7211.dts
@@ -46,8 +46,8 @@ timing0: timing-320x240 {
 
 	i2c: i2c {
 		compatible = "i2c-gpio";
-		gpios = <&portd 4 GPIO_ACTIVE_HIGH>,
-			<&portd 5 GPIO_ACTIVE_HIGH>;
+		sda-gpios = <&portd 4 GPIO_ACTIVE_HIGH>;
+		scl-gpios = <&portd 5 GPIO_ACTIVE_HIGH>;
 		i2c-gpio,delay-us = <2>;
 		i2c-gpio,scl-output-only;
 		#address-cells = <1>;
-- 
2.47.2


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

* [PATCH RESEND 2/2] ARM: dts: stm32: use recent scl/sda gpio bindings
  2025-08-11 18:37 [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings Wolfram Sang
  2025-08-11 18:37 ` [PATCH RESEND 1/2] ARM: dts: cirrus: ep7211: " Wolfram Sang
@ 2025-08-11 18:37 ` Wolfram Sang
  2025-08-19 10:05 ` [PATCH RESEND 0/2] ARM: dts: " Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-08-11 18:37 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Linus Walleij, Wolfram Sang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

We have dedictaded bindings for scl/sda nowadays. Switch away from the
deprecated plain 'gpios' property.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm/boot/dts/st/ste-nomadik-s8815.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
index c905c2643a12..aeb58d2c08a1 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
+++ b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
@@ -117,8 +117,8 @@ lis3lv02dl@1d {
 	/* GPIO I2C connected to the USB portions of the STw4811 only */
 	gpio-i2c {
 		compatible = "i2c-gpio";
-		gpios = <&gpio2 10 0>, /* sda */
-			<&gpio2 9 0>; /* scl */
+		sda-gpios = <&gpio2 10 0>;
+		scl-gpios = <&gpio2 9 0>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		pinctrl-names = "default";
-- 
2.47.2


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

* Re: [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings
  2025-08-11 18:37 [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings Wolfram Sang
  2025-08-11 18:37 ` [PATCH RESEND 1/2] ARM: dts: cirrus: ep7211: " Wolfram Sang
  2025-08-11 18:37 ` [PATCH RESEND 2/2] ARM: dts: stm32: " Wolfram Sang
@ 2025-08-19 10:05 ` Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2025-08-19 10:05 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-arm-kernel, Conor Dooley, devicetree, Krzysztof Kozlowski,
	Rob Herring

On Mon, Aug 11, 2025 at 8:37 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:

> Some ARM boards still use the deprecated 'gpios' property to describe a
> GPIO based I2C bus. Let them use the proper '{scl|sda}-gpios' property.
>
> Based on 6.17-rc1. No dependencies. These patches are the leftovers from
> the series for the 6.16 cycle. Please apply.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

I think you need to send a PR to linux-soc to get this merged but
maybe the DT people want to queue it?

Yours,
Linus Walleij

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

end of thread, other threads:[~2025-08-19 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 18:37 [PATCH RESEND 0/2] ARM: dts: use recent scl/sda gpio bindings Wolfram Sang
2025-08-11 18:37 ` [PATCH RESEND 1/2] ARM: dts: cirrus: ep7211: " Wolfram Sang
2025-08-11 18:37 ` [PATCH RESEND 2/2] ARM: dts: stm32: " Wolfram Sang
2025-08-19 10:05 ` [PATCH RESEND 0/2] ARM: dts: " Linus Walleij

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).