Devicetree
 help / color / mirror / Atom feed
* [PATCH v6 0/6] arm64: dts: renesas: Enable ISP and IVC on RZ/V2H EVK
@ 2026-11-05 12:53 Linus Walleij
  2026-11-05 12:53 ` [PATCH v6 1/6] dt-bindings: media: renesas,r9a09g057-ivc: Describe additional interrupts Linus Walleij
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Linus Walleij @ 2026-11-05 12:53 UTC (permalink / raw)
  To: Daniel Scally, Jacopo Mondi, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
	Magnus Damm
  Cc: linux-media, devicetree, linux-renesas-soc, Linus Walleij,
	Conor Dooley, Lad Prabhakar

Describe the optional ISP DMA line-tick and IVC frame-start/frame-stop
interrupts. Add the RZ/V2H(P) IVC and Arm Mali-C55 ISP nodes, connect their
video endpoints, and enable both blocks on the RZ/V2H EVK.

A driver fix orders the bulk reset names so that the register and AXI
interface resets are asserted before the ISP core reset. Prabhakar
confirmed that this avoids the register-access hang across repeated
runtime-PM cycles on the RZ/V2H EVK, including with IVC enabled.

After these patches, and enabling the right Linux drivers, we get
this in the console:
mali-c55 16080000.isp: Detected Mali-C55 ISP 9000043.31032022.0

This was done in order to enable booting mainline with mainline
device trees.

The patches were authored with the assistance of an LLM.

Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Changes in v6:
- Rebased on v7.4-rc1.
- Drop both RFC patches; fix reset assertion order using the bulk API.
- Specify hresetn, aresetn, vresetn order in the driver's reset array,
  asserting the ISP core reset last.
- Link to v5: https://patch.msgid.link/20261027-mali-c55-renesas-dts-v5-0-51bbb43969c1@kernel.org

Changes in v5:
- Add two RFC driver patches for explicit clock and reset sequencing.
- Match the call order from the reported DT swap using named handles.
- Link to v4: https://patch.msgid.link/20261012-mali-c55-renesas-dts-v4-0-c410e280bf2d@kernel.org

Changes in v4:
- Provide interrupt names in both bindings, their examples and SoC nodes.
- Use Renesas RZ/V2H interrupt numbers in the binding examples.
- Link to v3: https://patch.msgid.link/20260928-mali-c55-renesas-dts-v3-0-2cf7eb746ebb@kernel.org

Changes in v3:
- Correct the ISP video and register clock/reset mappings by swapping
  vclk/hclk and vresetn/hresetn.
- Add an optional ISP power-domain binding and attach the RZ/V2H ISP
  to the CPG power domain.
- Link to v2: https://patch.msgid.link/20260925-mali-c55-renesas-dts-v2-0-69f728a474a2@kernel.org

Changes in v2:
- Add separate IVC and ISP binding patches describing the optional IVC
  frame-start/frame-stop completion and ISP DMA line-tick IRQs.
  Show all six IRQs in the examples using consecutive mock numbers.
- Add the IVC frame-start/stop and ISP DMA line-tick interrupt lines
  using the confirmed SPI assignments, addressing Geert's IRQ review.
- Correct the IVC and ISP register sizes to 64 KiB and 512 KiB,
  respectively, as requested by Geert. GPV_VIDEO0 is a separate bus
  interconnect region.
- Compact the clock and reset properties and remove blank lines between
  properties, following Geert's review.
- Link to v1: https://patch.msgid.link/20260922-mali-c55-renesas-dts-v1-0-cd63cdb51033@kernel.org

---
Daniel Scally (2):
      arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes
      arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add ISP and IVC nodes

Linus Walleij (4):
      dt-bindings: media: renesas,r9a09g057-ivc: Describe additional interrupts
      dt-bindings: media: arm,mali-c55: Describe DMA line-tick interrupts
      dt-bindings: media: arm,mali-c55: Add power domain
      media: mali-c55: Assert the ISP core reset last

 .../devicetree/bindings/media/arm,mali-c55.yaml    | 27 ++++++++++++-
 .../bindings/media/renesas,r9a09g057-ivc.yaml      | 22 +++++++++-
 arch/arm64/boot/dts/renesas/r9a09g057.dtsi         | 47 ++++++++++++++++++++++
 .../boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts    |  8 ++++
 .../media/platform/arm/mali-c55/mali-c55-core.c    | 11 ++++-
 5 files changed, 109 insertions(+), 6 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20260922-mali-c55-renesas-dts-74d4727f59e5

Best regards,
--  
Linus Walleij <linusw@kernel.org>


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

end of thread, other threads:[~2026-11-23  8:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 12:53 [PATCH v6 0/6] arm64: dts: renesas: Enable ISP and IVC on RZ/V2H EVK Linus Walleij
2026-11-05 12:53 ` [PATCH v6 1/6] dt-bindings: media: renesas,r9a09g057-ivc: Describe additional interrupts Linus Walleij
2026-11-05 12:53 ` [PATCH v6 2/6] dt-bindings: media: arm,mali-c55: Describe DMA line-tick interrupts Linus Walleij
2026-11-05 12:53 ` [PATCH v6 3/6] dt-bindings: media: arm,mali-c55: Add power domain Linus Walleij
2026-11-05 12:53 ` [PATCH v6 4/6] arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes Linus Walleij
2026-11-06 10:50   ` Lad, Prabhakar
2026-11-05 12:53 ` [PATCH v6 5/6] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add ISP and IVC nodes Linus Walleij
2026-11-06 10:51   ` Lad, Prabhakar
2026-11-05 12:53 ` [PATCH v6 6/6] media: mali-c55: Assert the ISP core reset last Linus Walleij
2026-11-06 10:51   ` Lad, Prabhakar
2026-11-23  0:11 ` [PATCH v6 0/6] arm64: dts: renesas: Enable ISP and IVC on RZ/V2H EVK Linus Walleij
2026-11-23  7:55   ` Jacopo Mondi
2026-11-23  8:39     ` Linus Walleij

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