* [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
@ 2016-05-31 9:08 Geert Uytterhoeven
2016-05-31 9:08 ` [PATCH 1/2] " Geert Uytterhoeven
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2016-05-31 9:08 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Laurent Pinchart, linux-renesas-soc, linux-arm-kernel, linux-pm,
devicetree, 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.
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(-)
--
1.9.1
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] 10+ messages in thread
* [PATCH 1/2] arm64: dts: r8a7796: Add SYSC PM Domains
2016-05-31 9:08 [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains Geert Uytterhoeven
@ 2016-05-31 9:08 ` Geert Uytterhoeven
[not found] ` <1464685726-21611-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-06-06 1:34 ` Simon Horman
2 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2016-05-31 9:08 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Laurent Pinchart, linux-renesas-soc, linux-arm-kernel, linux-pm,
devicetree, Geert Uytterhoeven
Add a device node for the System Controller.
Hook up the Cortex-A57 CPU core and L2 cache/SCU to their respective PM
Domains.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 178debf68318fde4..85f0843ddd874378 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -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";
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2] arm64: dts: r8a7796: Use SYSC "always-on" PM Domain
2016-05-31 9:08 [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains Geert Uytterhoeven
@ 2016-05-31 9:08 ` Geert Uytterhoeven
[not found] ` <1464685726-21611-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-06-06 1:34 ` Simon Horman
2 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2016-05-31 9:08 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Laurent Pinchart, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven
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.
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 85f0843ddd874378..fab61eddede3818c 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -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";
};
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2] arm64: dts: r8a7796: Use SYSC "always-on" PM Domain
@ 2016-05-31 9:08 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2016-05-31 9:08 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Laurent Pinchart, linux-renesas-soc, linux-arm-kernel, linux-pm,
devicetree, Geert Uytterhoeven
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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 85f0843ddd874378..fab61eddede3818c 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -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";
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
2016-05-31 9:08 [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains Geert Uytterhoeven
@ 2016-06-06 1:34 ` Simon Horman
[not found] ` <1464685726-21611-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-06-06 1:34 ` Simon Horman
2 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-06 1:34 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Laurent Pinchart, linux-renesas-soc,
linux-arm-kernel, linux-pm, devicetree
On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> 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, I have tentatively queued this up.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
@ 2016-06-06 1:34 ` Simon Horman
0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-06 1:34 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> 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, I have tentatively queued this up.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
2016-06-06 1:34 ` Simon Horman
@ 2016-06-06 1:53 ` Simon Horman
-1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-06 1:53 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Laurent Pinchart, linux-renesas-soc,
linux-arm-kernel, linux-pm, devicetree
On Mon, Jun 06, 2016 at 10:33:59AM +0900, Simon Horman wrote:
> On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> > 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, 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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
@ 2016-06-06 1:53 ` Simon Horman
0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-06 1:53 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 06, 2016 at 10:33:59AM +0900, Simon Horman wrote:
> On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> > 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, 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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
2016-06-06 1:53 ` Simon Horman
@ 2016-06-24 3:05 ` Simon Horman
-1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-24 3:05 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Laurent Pinchart, linux-renesas-soc,
linux-arm-kernel, linux-pm, devicetree
On Mon, Jun 06, 2016 at 10:53:02AM +0900, Simon Horman wrote:
> On Mon, Jun 06, 2016 at 10:33:59AM +0900, Simon Horman wrote:
> > On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> > > 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, 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.
>
I have requeued this.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains
@ 2016-06-24 3:05 ` Simon Horman
0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-06-24 3:05 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 06, 2016 at 10:53:02AM +0900, Simon Horman wrote:
> On Mon, Jun 06, 2016 at 10:33:59AM +0900, Simon Horman wrote:
> > On Tue, May 31, 2016 at 11:08:43AM +0200, Geert Uytterhoeven wrote:
> > > 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, 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.
>
I have requeued this.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-06-24 3:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 9:08 [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains Geert Uytterhoeven
2016-05-31 9:08 ` [PATCH 1/2] " Geert Uytterhoeven
[not found] ` <1464685726-21611-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-05-31 9:08 ` [PATCH 2/2] arm64: dts: r8a7796: Use SYSC "always-on" PM Domain Geert Uytterhoeven
2016-05-31 9:08 ` Geert Uytterhoeven
2016-06-06 1:34 ` [PATCH 0/2] arm64: dts: r8a7796: Add SYSC PM Domains Simon Horman
2016-06-06 1:34 ` Simon Horman
2016-06-06 1:53 ` Simon Horman
2016-06-06 1:53 ` Simon Horman
2016-06-24 3:05 ` Simon Horman
2016-06-24 3:05 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.