loongarch.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] archs: use proper node names for GPIO based I2C busses
@ 2025-05-19 12:15 Wolfram Sang
  2025-05-19 12:15 ` [PATCH 6/7] LoongArch: dts: " Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wolfram Sang @ 2025-05-19 12:15 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Albert Ou, Alexandre Belloni, Alexandre Ghiti,
	Alim Akhtar, AngeloGioacchino Del Regno, Chen-Yu Tsai,
	Claudiu Beznea, Conor Dooley, devicetree, Huacai Chen,
	Jernej Skrabec, Krzysztof Kozlowski, Linus Walleij,
	linux-arm-kernel, linux-mediatek, linux-riscv, linux-samsung-soc,
	linux-sunxi, loongarch, Matthias Brugger, Nicolas Ferre,
	Palmer Dabbelt, Paul Walmsley, Rob Herring, Samuel Holland,
	WANG Xuerui

A lot of boards across various archs have a superfluous '-' in their
node name for GPIO based I2C busses. 'dtbs_check' complains, so fix
them.

Based on linux-next as of 20250516. Build bots are happy. ARM patches
depend on another cleanup series[1], the rest has no dependencies. I
suggest that patches go via their subsystem trees.

Tested on Calao USB boards using AT91 chipsets and a Renesas Lager board
using R-Car H2.

[1] "[PATCH 0/4] ARM: dts: use recent scl/sda gpio bindings"
    https://lore.kernel.org/r/20250519112107.2980-1-wsa+renesas@sang-engineering.com

Wolfram Sang (7):
  arm64: dts: exynos: use proper node names for GPIO based I2C busses
  arm64: dts: mediatek: use proper node names for GPIO based I2C busses
  ARM: dts: microchip: use proper node names for GPIO based I2C busses
  ARM: dts: samsung: use proper node names for GPIO based I2C busses
  ARM: dts: stm32: use proper node names for GPIO based I2C busses
  LoongArch: dts: use proper node names for GPIO based I2C busses
  riscv: dts: allwinner: use proper node names for GPIO based I2C busses

 arch/arm/boot/dts/microchip/at91-foxg20.dts      |  2 +-
 arch/arm/boot/dts/microchip/at91-qil_a9260.dts   |  2 +-
 arch/arm/boot/dts/microchip/at91-sam9_l9260.dts  |  2 +-
 arch/arm/boot/dts/microchip/at91rm9200.dtsi      |  2 +-
 arch/arm/boot/dts/microchip/at91sam9260.dtsi     |  2 +-
 arch/arm/boot/dts/microchip/at91sam9260ek.dts    |  2 +-
 arch/arm/boot/dts/microchip/at91sam9261.dtsi     |  2 +-
 arch/arm/boot/dts/microchip/at91sam9263.dtsi     |  2 +-
 arch/arm/boot/dts/microchip/at91sam9263ek.dts    |  2 +-
 .../boot/dts/microchip/at91sam9g20ek_common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/at91sam9g45.dtsi     |  2 +-
 arch/arm/boot/dts/microchip/at91sam9n12.dtsi     |  2 +-
 arch/arm/boot/dts/microchip/at91sam9rl.dtsi      |  4 ++--
 arch/arm/boot/dts/microchip/at91sam9rlek.dts     |  4 ++--
 arch/arm/boot/dts/microchip/at91sam9x5.dtsi      |  6 +++---
 arch/arm/boot/dts/microchip/ethernut5.dts        |  2 +-
 arch/arm/boot/dts/microchip/evk-pro3.dts         |  2 +-
 arch/arm/boot/dts/microchip/mpa1600.dts          |  2 +-
 arch/arm/boot/dts/microchip/tny_a9263.dts        |  2 +-
 .../arm/boot/dts/microchip/usb_a9260_common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/usb_a9263.dts        |  2 +-
 arch/arm/boot/dts/microchip/usb_a9g20_lpw.dts    |  2 +-
 arch/arm/boot/dts/samsung/exynos3250-monk.dts    |  2 +-
 arch/arm/boot/dts/samsung/exynos3250-rinato.dts  |  2 +-
 arch/arm/boot/dts/samsung/exynos4210-i9100.dts   |  6 +++---
 arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi   | 10 +++++-----
 .../boot/dts/samsung/exynos4412-galaxy-s3.dtsi   |  4 ++--
 arch/arm/boot/dts/samsung/exynos4412-midas.dtsi  |  6 +++---
 arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi |  8 ++++----
 arch/arm/boot/dts/samsung/s5pv210-aries.dtsi     | 16 ++++++++--------
 arch/arm/boot/dts/samsung/s5pv210-galaxys.dts    |  2 +-
 .../boot/dts/st/ste-ux500-samsung-codina-tmo.dts |  8 ++++----
 .../arm/boot/dts/st/ste-ux500-samsung-codina.dts |  8 ++++----
 .../arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 12 ++++++------
 .../arm/boot/dts/st/ste-ux500-samsung-golden.dts |  8 ++++----
 .../arm/boot/dts/st/ste-ux500-samsung-janice.dts | 16 ++++++++--------
 arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts  |  8 ++++----
 .../arm/boot/dts/st/ste-ux500-samsung-skomer.dts |  8 ++++----
 .../boot/dts/exynos/exynos5433-tm2-common.dtsi   |  2 +-
 .../dts/mediatek/mt7986a-bananapi-bpi-r3.dts     |  4 ++--
 arch/loongarch/boot/dts/loongson-2k1000.dtsi     |  4 ++--
 .../dts/allwinner/sun20i-d1-devterm-v3.14.dts    |  2 +-
 42 files changed, 94 insertions(+), 94 deletions(-)

-- 
2.47.2


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

* [PATCH 6/7] LoongArch: dts: use proper node names for GPIO based I2C busses
  2025-05-19 12:15 [PATCH 0/7] archs: use proper node names for GPIO based I2C busses Wolfram Sang
@ 2025-05-19 12:15 ` Wolfram Sang
  2025-05-19 12:54 ` [PATCH 0/7] archs: " Geert Uytterhoeven
  2025-05-19 18:59 ` Wolfram Sang
  2 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2025-05-19 12:15 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Huacai Chen, WANG Xuerui, devicetree, loongarch

There shall not be a '-' before the number.

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

diff --git a/arch/loongarch/boot/dts/loongson-2k1000.dtsi b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
index 1da3beb00f0e..ddf63801eef0 100644
--- a/arch/loongarch/boot/dts/loongson-2k1000.dtsi
+++ b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
@@ -46,7 +46,7 @@ cpuintc: interrupt-controller {
 	};
 
 	/* i2c of the dvi eeprom edid */
-	i2c-gpio-0 {
+	i2c-gpio0 {
 		compatible = "i2c-gpio";
 		scl-gpios = <&gpio0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 		sda-gpios = <&gpio0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
@@ -57,7 +57,7 @@ i2c-gpio-0 {
 	};
 
 	/* i2c of the eeprom edid */
-	i2c-gpio-1 {
+	i2c-gpio1 {
 		compatible = "i2c-gpio";
 		scl-gpios = <&gpio0 33 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 		sda-gpios = <&gpio0 32 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
-- 
2.47.2


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

* Re: [PATCH 0/7] archs: use proper node names for GPIO based I2C busses
  2025-05-19 12:15 [PATCH 0/7] archs: use proper node names for GPIO based I2C busses Wolfram Sang
  2025-05-19 12:15 ` [PATCH 6/7] LoongArch: dts: " Wolfram Sang
@ 2025-05-19 12:54 ` Geert Uytterhoeven
  2025-05-19 14:47   ` Wolfram Sang
  2025-05-19 18:59 ` Wolfram Sang
  2 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2025-05-19 12:54 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Albert Ou, Alexandre Belloni, Alexandre Ghiti,
	Alim Akhtar, AngeloGioacchino Del Regno, Chen-Yu Tsai,
	Claudiu Beznea, Conor Dooley, devicetree, Huacai Chen,
	Jernej Skrabec, Krzysztof Kozlowski, Linus Walleij,
	linux-arm-kernel, linux-mediatek, linux-riscv, linux-samsung-soc,
	linux-sunxi, loongarch, Matthias Brugger, Nicolas Ferre,
	Palmer Dabbelt, Paul Walmsley, Rob Herring, Samuel Holland,
	WANG Xuerui

Hi Wolfram,

On Mon, 19 May 2025 at 14:15, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> A lot of boards across various archs have a superfluous '-' in their
> node name for GPIO based I2C busses. 'dtbs_check' complains, so fix
> them.
>
> Based on linux-next as of 20250516. Build bots are happy. ARM patches
> depend on another cleanup series[1], the rest has no dependencies. I
> suggest that patches go via their subsystem trees.
>
> Tested on Calao USB boards using AT91 chipsets and a Renesas Lager board
> using R-Car H2.

Thanks for your series!

>   arm64: dts: exynos: use proper node names for GPIO based I2C busses
>   arm64: dts: mediatek: use proper node names for GPIO based I2C busses
>   ARM: dts: microchip: use proper node names for GPIO based I2C busses
>   ARM: dts: samsung: use proper node names for GPIO based I2C busses
>   ARM: dts: stm32: use proper node names for GPIO based I2C busses
>   LoongArch: dts: use proper node names for GPIO based I2C busses
>   riscv: dts: allwinner: use proper node names for GPIO based I2C busses

Hmmm... which of these changes affect the R-Car board? ;-)
Am I missing something?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 0/7] archs: use proper node names for GPIO based I2C busses
  2025-05-19 12:54 ` [PATCH 0/7] archs: " Geert Uytterhoeven
@ 2025-05-19 14:47   ` Wolfram Sang
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2025-05-19 14:47 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-renesas-soc, Albert Ou, Alexandre Belloni, Alexandre Ghiti,
	Alim Akhtar, AngeloGioacchino Del Regno, Chen-Yu Tsai,
	Claudiu Beznea, Conor Dooley, devicetree, Huacai Chen,
	Jernej Skrabec, Krzysztof Kozlowski, Linus Walleij,
	linux-arm-kernel, linux-mediatek, linux-riscv, linux-samsung-soc,
	linux-sunxi, loongarch, Matthias Brugger, Nicolas Ferre,
	Palmer Dabbelt, Paul Walmsley, Rob Herring, Samuel Holland,
	WANG Xuerui

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]


> Hmmm... which of these changes affect the R-Car board? ;-)

Right, in this series, none :)

> Am I missing something?

I tested another series on top of this series with Lager. After the
EmbeddedRecipes break, I forgot that only the next series affects Lager.
Sorry for the confusion!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 0/7] archs: use proper node names for GPIO based I2C busses
  2025-05-19 12:15 [PATCH 0/7] archs: use proper node names for GPIO based I2C busses Wolfram Sang
  2025-05-19 12:15 ` [PATCH 6/7] LoongArch: dts: " Wolfram Sang
  2025-05-19 12:54 ` [PATCH 0/7] archs: " Geert Uytterhoeven
@ 2025-05-19 18:59 ` Wolfram Sang
  2 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2025-05-19 18:59 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Albert Ou, Alexandre Belloni, Alexandre Ghiti, Alim Akhtar,
	AngeloGioacchino Del Regno, Chen-Yu Tsai, Claudiu Beznea,
	Conor Dooley, devicetree, Huacai Chen, Jernej Skrabec,
	Krzysztof Kozlowski, Linus Walleij, linux-arm-kernel,
	linux-mediatek, linux-riscv, linux-samsung-soc, linux-sunxi,
	loongarch, Matthias Brugger, Nicolas Ferre, Palmer Dabbelt,
	Paul Walmsley, Rob Herring, Samuel Holland, WANG Xuerui

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

On Mon, May 19, 2025 at 02:15:00PM +0200, Wolfram Sang wrote:
> A lot of boards across various archs have a superfluous '-' in their
> node name for GPIO based I2C busses. 'dtbs_check' complains, so fix
> them.

Please drop this series. We found out that upstream dt-schema is broken
instead. I sent a fix.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19 12:15 [PATCH 0/7] archs: use proper node names for GPIO based I2C busses Wolfram Sang
2025-05-19 12:15 ` [PATCH 6/7] LoongArch: dts: " Wolfram Sang
2025-05-19 12:54 ` [PATCH 0/7] archs: " Geert Uytterhoeven
2025-05-19 14:47   ` Wolfram Sang
2025-05-19 18:59 ` Wolfram Sang

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