* [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains
@ 2026-06-10 15:29 Geert Uytterhoeven
2026-06-11 9:28 ` Krzysztof Kozlowski
2026-06-12 14:11 ` Rob Herring (Arm)
0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2026-06-10 15:29 UTC (permalink / raw)
To: Conor Dooley, Jonathan Cameron, Rob Herring, Krzysztof Kozlowski
Cc: devicetree, linux-renesas-soc, Geert Uytterhoeven
On Renesas SH-Mobile and R-Mobile SoCs, the ARM PL310 L2 Cache
Controller is located in a controllable power area.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This fixes "make dtbs_check":
arch/arm/boot/dts/renesas/r8a7740-armadillo800eva.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
---
Documentation/devicetree/bindings/cache/l2c2x0.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/cache/l2c2x0.yaml b/Documentation/devicetree/bindings/cache/l2c2x0.yaml
index 10c1a900202fc2ed..ee604117ffb3fe74 100644
--- a/Documentation/devicetree/bindings/cache/l2c2x0.yaml
+++ b/Documentation/devicetree/bindings/cache/l2c2x0.yaml
@@ -66,6 +66,9 @@ properties:
reg:
maxItems: 1
+ power-domains:
+ maxItems: 1
+
arm,data-latency:
description: Cycles of latency for Data RAM accesses. Specifies 3 cells of
read, write and setup latencies. Minimum valid values are 1. Controllers
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains
2026-06-10 15:29 [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains Geert Uytterhoeven
@ 2026-06-11 9:28 ` Krzysztof Kozlowski
2026-06-11 9:37 ` Geert Uytterhoeven
2026-06-12 14:11 ` Rob Herring (Arm)
1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-11 9:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Conor Dooley, Jonathan Cameron, Rob Herring, Krzysztof Kozlowski,
devicetree, linux-renesas-soc
On Wed, Jun 10, 2026 at 05:29:20PM +0200, Geert Uytterhoeven wrote:
> On Renesas SH-Mobile and R-Mobile SoCs, the ARM PL310 L2 Cache
> Controller is located in a controllable power area.
Interesting... so to turn on L2 cache, OS would need to boot, setup
power domains handling, turn on power domain and then turn on L2 cache?
I understand that bootloader actually handles it, but I really doubt
that it is "controllable".
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains
2026-06-11 9:28 ` Krzysztof Kozlowski
@ 2026-06-11 9:37 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2026-06-11 9:37 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Conor Dooley, Jonathan Cameron, Rob Herring, Krzysztof Kozlowski,
devicetree, linux-renesas-soc
Hi Krzysztof,
On Thu, 11 Jun 2026 at 11:28, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> On Wed, Jun 10, 2026 at 05:29:20PM +0200, Geert Uytterhoeven wrote:
> > On Renesas SH-Mobile and R-Mobile SoCs, the ARM PL310 L2 Cache
> > Controller is located in a controllable power area.
>
> Interesting... so to turn on L2 cache, OS would need to boot, setup
> power domains handling, turn on power domain and then turn on L2 cache?
On R-Mobile A1, the L2 cache is even located in the same power area
as the Cortex A9 CPU core ;-)
> I understand that bootloader actually handles it, but I really doubt
> that it is "controllable".
It may also depends on which CPU core is started first. These SoCs have
both ARM and SH CPU cores, and the SH core can power down all ARM parts.
But hey, DT describes hardware ;-)
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thanks!
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] dt-bindings: cache: l2c2x0: Add missing power-domains
2026-06-10 15:29 [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains Geert Uytterhoeven
2026-06-11 9:28 ` Krzysztof Kozlowski
@ 2026-06-12 14:11 ` Rob Herring (Arm)
2026-06-12 15:45 ` Conor Dooley
1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring (Arm) @ 2026-06-12 14:11 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Conor Dooley, Krzysztof Kozlowski, devicetree, linux-renesas-soc,
Jonathan Cameron
On Wed, 10 Jun 2026 17:29:20 +0200, Geert Uytterhoeven wrote:
> On Renesas SH-Mobile and R-Mobile SoCs, the ARM PL310 L2 Cache
> Controller is located in a controllable power area.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> This fixes "make dtbs_check":
>
> arch/arm/boot/dts/renesas/r8a7740-armadillo800eva.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
> from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
> arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
> from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
> ---
> Documentation/devicetree/bindings/cache/l2c2x0.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains
2026-06-12 14:11 ` Rob Herring (Arm)
@ 2026-06-12 15:45 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-06-12 15:45 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Geert Uytterhoeven, Krzysztof Kozlowski, devicetree,
linux-renesas-soc, Jonathan Cameron
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
On Fri, Jun 12, 2026 at 09:11:42AM -0500, Rob Herring (Arm) wrote:
>
> On Wed, 10 Jun 2026 17:29:20 +0200, Geert Uytterhoeven wrote:
> > On Renesas SH-Mobile and R-Mobile SoCs, the ARM PL310 L2 Cache
> > Controller is located in a controllable power area.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > This fixes "make dtbs_check":
> >
> > arch/arm/boot/dts/renesas/r8a7740-armadillo800eva.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
> > from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
> > arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: cache-controller@f0100000 (arm,pl310-cache): 'power-domains' does not match any of the regexes: '^pinctrl-[0-9]+$'
> > from schema $id: http://devicetree.org/schemas/cache/l2c2x0.yaml
> > ---
> > Documentation/devicetree/bindings/cache/l2c2x0.yaml | 3 +++
> > 1 file changed, 3 insertions(+)
> >
>
> Applied, thanks!
Thanks Rob, was at an awkward time for me and would've probably sat til
rc1.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-06-12 15:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 15:29 [PATCH] dt-bindings: cache: l2c2x0: Add missing power-domains Geert Uytterhoeven
2026-06-11 9:28 ` Krzysztof Kozlowski
2026-06-11 9:37 ` Geert Uytterhoeven
2026-06-12 14:11 ` Rob Herring (Arm)
2026-06-12 15:45 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox