Add specific RZ/Five cache compatible
Subsystems (4)
Conor Dooley
maintainerv2 cover Add specific RZ/Five cache compatible
From: Conor Dooley <[email protected]>
v2: add "-ax45mp" to compatible string.
Conor Dooley (2):
dt-bindings: cache: add specific RZ/Five compatible to ax45mp
riscv: dts: renesas: add specific RZ/Five cache compatible
.../devicetree/bindings/cache/andestech,ax45mp-cache.yaml | 4 +++- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.45.2
Conor Dooley
maintainerPATCH v2 1/2 dt-bindings: cache: add specific RZ/Five compatible to ax45mp
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
--- .../devicetree/bindings/cache/andestech,ax45mp-cache.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml +3 -1
@@ -28,6 +28,7 @@ select: properties: compatible: items: + - const: renesas,r9a07g043f-ax45mp-cache - const: andestech,ax45mp-cache - const: cache
@@ -70,7 +71,8 @@ examples: #include <dt-bindings/interrupt-controller/irq.h> cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x13400000 0x100000>; interrupts = <508 IRQ_TYPE_LEVEL_HIGH>; cache-line-size = <64>;
Signature · 1 line
2.45.2
Re: [PATCH v2 1/2] dt-bindings: cache: add specific RZ/Five compatible to ax45mp
Quoted 6 lines · Conor Dooley
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Quoted 6 lines
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
Acked-by Ben Zong-You Xie <[email protected]>Signed-off-by Conor Dooley <[email protected]>
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
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
Re: [PATCH v2 1/2] dt-bindings: cache: add specific RZ/Five compatible to ax45mp
In reply to Conor DooleyQuoted 11 lines · Conor Dooley
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
Quoted 6 lines
Acked-by Ben Zong-You Xie <[email protected]>Signed-off-by Conor Dooley <[email protected]>--- .../devicetree/bindings/cache/andestech,ax45mp-cache.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Cheers,
Prabhakar
Quoted 26 lines
Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml +3
-2@@ -28,6 +28,7 @@ select: properties: compatible: items: + - const: renesas,r9a07g043f-ax45mp-cache - const: andestech,ax45mp-cache - const: cache@@ -70,7 +71,8 @@ examples: #include <dt-bindings/interrupt-controller/irq.h> cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x13400000 0x100000>; interrupts = <508 IRQ_TYPE_LEVEL_HIGH>; cache-line-size = <64>; --2.45.2
Conor Dooley
maintainerPATCH v2 2/2 riscv: dts: renesas: add specific RZ/Five cache compatible
In reply to Conor DooleyFrom: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
--- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +2 -1
@@ -143,7 +143,8 @@ plic: interrupt-controller@12c00000 { }; l2cache: cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x0 0x13400000 0x0 0x100000>; interrupts = <SOC_PERIPHERAL_IRQ(476) IRQ_TYPE_LEVEL_HIGH>; cache-size = <0x40000>;
Signature · 1 line
2.45.2
Re: [PATCH v2 2/2] riscv: dts: renesas: add specific RZ/Five cache compatible
Hi Conor,
Quoted 6 lines · Conor Dooley
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Quoted 6 lines
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
Acked-by Ben Zong-You Xie <[email protected]>Signed-off-by Conor Dooley <[email protected]>
Thanks for the update!
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi plic: interrupt-controller@12c00000 { · line 150
Quoted 12 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +2
-1@@ -143,7 +143,8 @@ plic: interrupt-controller@12c00000 { }; l2cache: cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x0 0x13400000 0x0 0x100000>; interrupts = <SOC_PERIPHERAL_IRQ(476) IRQ_TYPE_LEVEL_HIGH>; cache-size = <0x40000>;
i.e. will queue in renesas-devel for v6.16 if there are no objections.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
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
Conor Dooley
maintainerRe: [PATCH v2 2/2] riscv: dts: renesas: add specific RZ/Five cache compatible
Quoted 32 lines · Geert Uytterhoeven
Hi Conor,
Quoted 6 lines · Conor Dooley
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Quoted 6 lines
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
Acked-by Ben Zong-You Xie <[email protected]>Signed-off-by Conor Dooley <[email protected]>Thanks for the update!
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi plic: interrupt-controller@12c00000 { · line 150
Quoted 12 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +2
-1@@ -143,7 +143,8 @@ plic: interrupt-controller@12c00000 { }; l2cache: cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x0 0x13400000 0x0 0x100000>; interrupts = <SOC_PERIPHERAL_IRQ(476) IRQ_TYPE_LEVEL_HIGH>; cache-size = <0x40000>;Reviewed-by Geert Uytterhoeven <[email protected]>
Quoted 1 line
i.e. will queue in renesas-devel for v6.16 if there are no objections.
I'll grab the binding then on that basis. :+1:
Re: [PATCH v2 2/2] riscv: dts: renesas: add specific RZ/Five cache compatible
In reply to Conor DooleyQuoted 11 lines · Conor Dooley
From: Conor Dooley <[email protected]>
When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets.
Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller.
Quoted 6 lines
Acked-by Ben Zong-You Xie <[email protected]>Signed-off-by Conor Dooley <[email protected]>--- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Cheers,
Prabhakar
Quoted 18 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +2
-2@@ -143,7 +143,8 @@ plic: interrupt-controller@12c00000 { }; l2cache: cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; + compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache", + "cache"; reg = <0x0 0x13400000 0x0 0x100000>; interrupts = <SOC_PERIPHERAL_IRQ(476) IRQ_TYPE_LEVEL_HIGH>; cache-size = <0x40000>; --2.45.2