mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Add I3C support to RZ/V2N and RZ/V2H(P) SoCs
@ 2025-09-04 16:59 Prabhakar
  2025-09-04 16:59 ` [PATCH 1/2] arm64: dts: renesas: r9a09g057: Add I3C node Prabhakar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Prabhakar @ 2025-09-04 16:59 UTC (permalink / raw)
  To: Geert Uytterhoeven, Wolfram Sang, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
	Fabrizio Castro, Lad Prabhakar

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This series adds I3C node to RZ/V2N and RZ/V2H(P) SoC DTSI files.

I3C was tested on RZ/V2H(P) and RZ/V2N EVKs using P3T1085UK Arduino
Shield Evaluation Board [0].

Disable I2C2 on PMOD connector CN6 and enable I3C.

Connect EVK TO P3T1085UK Arduino Shield Evaluation Board
P3T1085UK <-> EVK PMOD CN6
- J13[1] to CN6[3] (I3C_SCL)
- J13[2] to CN6[4] (I3C_SDA)
- J13[4] to CN6[5] (GND)
- J9[7]  to CN6[11] (GND)
- J9[9]  to CN6[6] (3.3V)

On P3T1085UK,
- JP2 pin1 to pin2 (I3C_SDA)
- JP3 pin1 to pin2 (I3C_SCL)
- JP1 pin2 to pin3 (VDD 3V3)


[0] https://www.nxp.com/design/design-center/development-boards-and-designs/analog-toolbox/arduino-shields-solutions/p3t1085uk-arduino-shield-evaluation-board:P3T1085UK-ARD

Test Logs:
--- RZ/V2H(P) ---
root@rzv2h-evk:~# cat /sys/kernel/debug/clk/clk_summary | grep i3c
          i3c_0_pclk     1       2        0   100000000   0   0     50000      Y    12400000.i3c     pclk
          i3c_0_pclkrw   1       2        0   100000000   0   0     50000      Y    12400000.i3c     pclkrw
          i3c_0_tclk     1       2        0   200000000   0   0     50000      Y    12400000.i3c     tclk
root@rzv2h-evk:~#
root@rzv2h-evk:~# cat /sys/class/hwmon/*/temp1_input
26687
26812
root@rzv2h-evk:~# cat /proc/interrupts | grep i3c
150:         38          0          0          0    GICv3 709 Edge      i3c-resp
151:          2          0          0          0    GICv3 712 Edge      i3c-rx
152:          0          0          0          0    GICv3 713 Edge      i3c-tx
153:          0          0          0          0    GICv3 721 Level     i3c-start
154:          0          0          0          0    GICv3 722 Level     i3c-stop
155:          0          0          0          0    GICv3 724 Level     i3c-tend
156:          0          0          0          0    GICv3 725 Level     i3c-nack
root@rzv2h-evk:~# cat /sys/class/hwmon/*/temp1_input
26687
26812
root@rzv2h-evk:~# cat /proc/interrupts | grep i3c
150:         42          0          0          0    GICv3 709 Edge      i3c-resp
151:          2          0          0          0    GICv3 712 Edge      i3c-rx
152:          0          0          0          0    GICv3 713 Edge      i3c-tx
153:          0          0          0          0    GICv3 721 Level     i3c-start
154:          0          0          0          0    GICv3 722 Level     i3c-stop
155:          0          0          0          0    GICv3 724 Level     i3c-tend
156:          0          0          0          0    GICv3 725 Level     i3c-nack
root@rzv2h-evk:~#

--- RZ/V2N ---
root@rzv2n-evk:~# cat /sys/kernel/debug/clk/clk_summary | grep i3c
          i3c_0_pclk     1       2        0   100000000   0    0     50000      Y   12400000.i3c     pclk
          i3c_0_pclkrw   1       2        0   100000000   0    0     50000      Y   12400000.i3c     pclkrw
          i3c_0_tclk     1       2        0   200000000   0    0     50000      Y   12400000.i3c     tclk
root@rzv2n-evk:~# cat /proc/interrupts | grep i3c
 65:         22          0          0          0    GICv3 709 Edge      i3c-resp
 66:          2          0          0          0    GICv3 712 Edge      i3c-rx
 67:          0          0          0          0    GICv3 713 Edge      i3c-tx
 68:          0          0          0          0    GICv3 721 Level     i3c-start
 69:          0          0          0          0    GICv3 722 Level     i3c-stop
 70:          0          0          0          0    GICv3 724 Level     i3c-tend
 71:          0          0          0          0    GICv3 725 Level     i3c-nack
root@rzv2n-evk:~# cat /sys/class/hwmon/*/temp1_input
27000
27125
root@rzv2n-evk:~# cat /proc/interrupts | grep i3c
 65:         26          0          0          0    GICv3 709 Edge      i3c-resp
 66:          2          0          0          0    GICv3 712 Edge      i3c-rx
 67:          0          0          0          0    GICv3 713 Edge      i3c-tx
 68:          0          0          0          0    GICv3 721 Level     i3c-start
 69:          0          0          0          0    GICv3 722 Level     i3c-stop
 70:          0          0          0          0    GICv3 724 Level     i3c-tend
 71:          0          0          0          0    GICv3 725 Level     i3c-nack
root@rzv2n-evk:~#

Cheers,
Prabhakar

Lad Prabhakar (2):
  arm64: dts: renesas: r9a09g057: Add I3C node
  arm64: dts: renesas: r9a09g056: Add I3C node

 arch/arm64/boot/dts/renesas/r9a09g056.dtsi | 33 ++++++++++++++++++++++
 arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 33 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

-- 
2.51.0


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

end of thread, other threads:[~2025-09-11 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-04 16:59 [PATCH 0/2] Add I3C support to RZ/V2N and RZ/V2H(P) SoCs Prabhakar
2025-09-04 16:59 ` [PATCH 1/2] arm64: dts: renesas: r9a09g057: Add I3C node Prabhakar
2025-09-11 15:51   ` Geert Uytterhoeven
2025-09-04 16:59 ` [PATCH 2/2] arm64: dts: renesas: r9a09g056: " Prabhakar
2025-09-11 15:51   ` Geert Uytterhoeven
2025-09-05  2:32 ` [PATCH 0/2] Add I3C support to RZ/V2N and RZ/V2H(P) SoCs Rob Herring (Arm)

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

all inboxes | Powered by JetHome®