Skip to content

arm64: dts: renesas: rcar-gen4: Correct avb[01] reg sizes

Geert Uytterhoeven linux-arm-kernel linux-devicetree linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizesarch/arm64/boot/dts/renesas/r8a779a0.dtsi+2 -20 replies
2/2arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizesarch/arm64/boot/dts/renesas/r8a779g0.dtsi+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] arm64: dts: renesas: rcar-gen4: Correct avb[01] reg sizes

Hi all,

All Ethernet AVB instances on R-Car Gen4 SoCs have registers related to UDP/IP support, starting at offset 0x800. However, the register blocks for some (but not all) instances are too small to cover them.

This patch series fixes this by extending the register block sizes where needed. Note that this has no immediate impact on actual operation, as the Linux driver does not use the UDP/IP registers. Besides, ioremap() granulatity is PAGE_SIZE, so the registers are accessible anyway.

I also considered introducing a new reg tuplet to cover the UDP/IP registers. However, that would complicate handling as some instances (on some R-Car Gen2/3 SoCs) already have two reg tuplets, and there are no reg-names defined:

reg:
items:
- description: MAC register block
- description: Stream buffer

So I think just enlarging the first register block would be fine.

To be queued in renesas-devel for v6.9, if you agree.

Thanks for your comments!

Geert Uytterhoeven (2):
arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes
arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizes

 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 4 ++--
 arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 12 lines
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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