arm64: dts: r8a7796: Add SYSC PM Domains
Subsystems (2)
Geert Uytterhoeven
maintainercover arm64: dts: r8a7796: Add SYSC PM Domains
Hi Simon, Magnus,
This patch series adds support for the power areas exposed by the System Controller on the Renesas R-Car M3-W SoC to the DTS.
This series is against Simon's "[PATCH v3 0/3] arm64: Add Renesas R8A7796 SoC support". It has a build and runtime dependency on my series "[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas".
For your convenience, I've pushed this series to the topic/r8a7796-sysc-dt-v1 branch of
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git.
This has been tested on r8a7796/salvator-x.
Thanks!
Geert Uytterhoeven (2):
arm64: dts: r8a7796: Add SYSC PM Domains
arm64: dts: r8a7796: Use SYSC "always-on" PM Domain
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
Signature · 12 lines
1.9.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 TorvaldsA message that is not in the archive (sent off-list or not yet received): 1464685726-21611-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org
PATCH 2/2 arm64: dts: r8a7796: Use SYSC "always-on" PM Domain
Hook up all devices that are part of the CPG/MSSR Clock Domain to the SYSC "always-on" PM Domain, for a more consistent device-power-area description in DT.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1 -1
@@ -122,7 +122,7 @@ <&cpg CPG_CORE R8A7796_CLK_S3D1>, <&scif_clk>; clock-names = "fck", "brg_int", "scif_clk"; - power-domains = <&cpg>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; status = "disabled"; }; };
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 1/2 arm64: dts: r8a7796: Add SYSC PM Domains
In reply to Geert UytterhoevenAdd a device node for the System Controller.
Hook up the Cortex-A57 CPU core and L2 cache/SCU to their respective PM Domains.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +9 -0
@@ -10,6 +10,7 @@ #include <dt-bindings/clock/r8a7796-cpg-mssr.h> #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/power/r8a7796-sysc.h> / { compatible = "renesas,r8a7796";
@@ -30,6 +31,7 @@ compatible = "arm,cortex-a57", "arm,armv8"; reg = <0x0>; device_type = "cpu"; + power-domains = <&sysc R8A7796_PD_CA57_CPU0>; next-level-cache = <&L2_CA57>; enable-method = "psci"; };
@@ -37,6 +39,7 @@ L2_CA57: cache-controller@0 { compatible = "cache"; reg = <0>; + power-domains = <&sysc R8A7796_PD_CA57_SCU>; cache-unified; cache-level = <2>; };
@@ -104,6 +107,12 @@ #power-domain-cells = <0>; }; + sysc: system-controller@e6180000 { + compatible = "renesas,r8a7796-sysc"; + reg = <0 0xe6180000 0 0x0400>; + #power-domain-cells = <1>; + }; + scif2: serial@e6e88000 { compatible = "renesas,scif-r8a7796", "renesas,rcar-gen3-scif", "renesas,scif";
Signature · 1 line
1.9.1
cover arm64: dts: r8a7796: Add SYSC PM Domains
In reply to Geert UytterhoevenQuoted 10 lines · Geert Uytterhoeven
Hi Simon, Magnus,
This patch series adds support for the power areas exposed by the System Controller on the Renesas R-Car M3-W SoC to the DTS.
This series is against Simon's "[PATCH v3 0/3] arm64: Add Renesas R8A7796 SoC support". It has a build and runtime dependency on my series "[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas".
Quoted 4 lines
For your convenience, I've pushed this series to the topic/r8a7796-sysc-dt-v1 branch of
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git.
This has been tested on r8a7796/salvator-x.
Thanks, I have tentatively queued this up.
cover arm64: dts: r8a7796: Add SYSC PM Domains
Quoted 11 lines · Simon Horman
Quoted 10 lines · Geert Uytterhoeven
Hi Simon, Magnus,
This patch series adds support for the power areas exposed by the System Controller on the Renesas R-Car M3-W SoC to the DTS.
This series is against Simon's "[PATCH v3 0/3] arm64: Add Renesas R8A7796 SoC support". It has a build and runtime dependency on my series "[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas".
Quoted 6 lines
Quoted 4 lines
For your convenience, I've pushed this series to the topic/r8a7796-sysc-dt-v1 branch of
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git.
This has been tested on r8a7796/salvator-x.Thanks, I have tentatively queued this up.
Bother, I spoke to soon.
There is a compile-time dependency on 8a7796-cpg-mssr.h in the basic support for r8a7796 which this series depends on. So "[PATCH 0/4] clk:
renesas: cpg-mssr: Add support for R-Car M3-W" needs to be present. I have deferred these patches pending that.
cover arm64: dts: r8a7796: Add SYSC PM Domains
Quoted 17 lines · Simon Horman
Quoted 16 lines · Simon Horman
Quoted 14 lines · Geert Uytterhoeven
Hi Simon, Magnus,
This patch series adds support for the power areas exposed by the System Controller on the Renesas R-Car M3-W SoC to the DTS.
This series is against Simon's "[PATCH v3 0/3] arm64: Add Renesas R8A7796 SoC support". It has a build and runtime dependency on my series "[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas".
For your convenience, I've pushed this series to the topic/r8a7796-sysc-dt-v1 branch of
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git.
This has been tested on r8a7796/salvator-x.
Quoted 9 lines
Quoted 1 line
Thanks, I have tentatively queued this up.
Bother, I spoke to soon.
There is a compile-time dependency on
8a7796-cpg-mssr.hin the basic support for r8a7796 which this series depends on. So "[PATCH 0/4] clk:
renesas: cpg-mssr: Add support for R-Car M3-W" needs to be present. I have deferred these patches pending that.
I have requeued this.