2024-05-23 20:51:06

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 0/3] arm64: dts: renesas: add aliases for I2C

Here are the I2C alias patches for the other Gen4 boards specifying the
I2C bus numbers in their schematics.

Wolfram Sang (3):
arm64: dts: renesas: white-hawk-cpu: add aliases for I2C busses
arm64: dts: renesas: spider-cpu: add aliases for I2C busses
arm64: dts: renesas: s4sk: add aliases for I2C busses

arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 6 ++++++
arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts | 6 ++++++
arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi | 6 ++++++
3 files changed, 18 insertions(+)

--
2.39.2



2024-05-23 20:51:14

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 1/3] arm64: dts: renesas: white-hawk-cpu: add aliases for I2C busses

They are numbered like this in the schematics, so keep the names in
Linux the same.

Signed-off-by: Wolfram Sang <[email protected]>
---
arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
index 8ac17370ff36..dd201f587e15 100644
--- a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi
@@ -13,6 +13,12 @@
/ {
aliases {
ethernet0 = &avb0;
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
+ i2c3 = &i2c3;
+ i2c4 = &i2c4;
+ i2c5 = &i2c5;
serial0 = &hscif0;
};

--
2.39.2


2024-05-23 20:51:18

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 2/3] arm64: dts: renesas: spider-cpu: add aliases for I2C busses

They are numbered like this in the schematics, so keep the names in
Linux the same.

Signed-off-by: Wolfram Sang <[email protected]>
---
arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
index 477f3114d2fd..4ed8d4c37906 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
@@ -15,6 +15,12 @@ / {
compatible = "renesas,spider-cpu", "renesas,r8a779f0";

aliases {
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
+ i2c3 = &i2c3;
+ i2c4 = &i2c4;
+ i2c5 = &i2c5;
serial0 = &hscif0;
serial1 = &scif0;
};
--
2.39.2


2024-05-23 20:52:16

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 3/3] arm64: dts: renesas: s4sk: add aliases for I2C busses

They are numbered like this in the schematics, so keep the names in
Linux the same.

Signed-off-by: Wolfram Sang <[email protected]>
---
arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
index bc65a7b4d999..fa910b85859e 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
@@ -14,6 +14,12 @@ / {
compatible = "renesas,s4sk", "renesas,r8a779f4", "renesas,r8a779f0";

aliases {
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
+ i2c3 = &i2c3;
+ i2c4 = &i2c4;
+ i2c5 = &i2c5;
serial0 = &hscif0;
serial1 = &hscif1;
ethernet0 = &rswitch;
--
2.39.2


2024-05-27 09:40:04

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 3/3] arm64: dts: renesas: s4sk: add aliases for I2C busses

On Thu, May 23, 2024 at 10:50 PM Wolfram Sang
<[email protected]> wrote:
> They are numbered like this in the schematics, so keep the names in
> Linux the same.
>
> Signed-off-by: Wolfram Sang <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v6.11, with s/busses/buses/.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

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

2024-05-27 09:48:02

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64: dts: renesas: white-hawk-cpu: add aliases for I2C busses

On Thu, May 23, 2024 at 10:50 PM Wolfram Sang
<[email protected]> wrote:
> They are numbered like this in the schematics, so keep the names in
> Linux the same.
>
> Signed-off-by: Wolfram Sang <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v6.11, with s/busses/buses/.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

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

2024-05-27 09:48:59

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 2/3] arm64: dts: renesas: spider-cpu: add aliases for I2C busses

On Thu, May 23, 2024 at 10:50 PM Wolfram Sang
<[email protected]> wrote:
> They are numbered like this in the schematics, so keep the names in
> Linux the same.
>
> Signed-off-by: Wolfram Sang <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v6.11, with s/busses/buses/.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

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