* [PATCH 1/7] ARM: dts: r8a7779, marzen: Fix sata device status
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 2/7] ARM: dts: r8a7743: Link ARM GIC to clock and clock domain Simon Horman
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Device nodes representing I/O devices should be marked disabled in the
SoC-specific DTS, and overridden by board-specific DTSes where needed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7779-marzen.dts | 4 ++++
arch/arm/boot/dts/r8a7779.dtsi | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts
index 676151b70185..89c5b24a3d03 100644
--- a/arch/arm/boot/dts/r8a7779-marzen.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen.dts
@@ -216,6 +216,10 @@
};
};
+&sata {
+ status = "okay";
+};
+
&scif2 {
pinctrl-0 = <&scif2_pins>;
pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index f47a0edc26d4..ae2d9a9c65af 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -347,6 +347,7 @@
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp1_clks R8A7779_CLK_SATA>;
power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
+ status = "disabled";
};
sdhi0: sd at ffe4c000 {
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 2/7] ARM: dts: r8a7743: Link ARM GIC to clock and clock domain
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
2017-01-26 10:11 ` [PATCH 1/7] ARM: dts: r8a7779, marzen: Fix sata device status Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 3/7] ARM: dts: r8a7745: " Simon Horman
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.
Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7743.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 0956125597fd..40d2cdede702 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -60,6 +60,9 @@
<0 0xf1006000 0 0x2000>;
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
IRQ_TYPE_LEVEL_HIGH)>;
+ clocks = <&cpg CPG_MOD 408>;
+ clock-names = "clk";
+ power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
};
irqc: interrupt-controller at e61c0000 {
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 3/7] ARM: dts: r8a7745: Link ARM GIC to clock and clock domain
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
2017-01-26 10:11 ` [PATCH 1/7] ARM: dts: r8a7779, marzen: Fix sata device status Simon Horman
2017-01-26 10:11 ` [PATCH 2/7] ARM: dts: r8a7743: Link ARM GIC to clock and clock domain Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 4/7] ARM: dts: r7s72100: add ostm clock to device tree Simon Horman
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.
Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7745.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 2f60c3cb9117..a81dcc82e2ea 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -60,6 +60,9 @@
<0 0xf1006000 0 0x2000>;
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
IRQ_TYPE_LEVEL_HIGH)>;
+ clocks = <&cpg CPG_MOD 408>;
+ clock-names = "clk";
+ power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
};
irqc: interrupt-controller at e61c0000 {
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 4/7] ARM: dts: r7s72100: add ostm clock to device tree
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
` (2 preceding siblings ...)
2017-01-26 10:11 ` [PATCH 3/7] ARM: dts: r8a7745: " Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 5/7] ARM: dts: r7s72100: add ostm " Simon Horman
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r7s72100.dtsi | 9 +++++++++
include/dt-bindings/clock/r7s72100-clock.h | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 3dd427d68c83..d5946df29222 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -108,6 +108,15 @@
clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
};
+ mstp5_clks: mstp5_clks at fcfe0428 {
+ #clock-cells = <1>;
+ compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+ reg = <0xfcfe0428 4>;
+ clocks = <&p0_clk>, <&p0_clk>;
+ clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
+ clock-output-names = "ostm0", "ostm1";
+ };
+
mstp7_clks: mstp7_clks at fcfe0430 {
#clock-cells = <1>;
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r7s72100-clock.h b/include/dt-bindings/clock/r7s72100-clock.h
index 29e01ed10e74..ce09915c298f 100644
--- a/include/dt-bindings/clock/r7s72100-clock.h
+++ b/include/dt-bindings/clock/r7s72100-clock.h
@@ -25,6 +25,10 @@
#define R7S72100_CLK_SCIF6 1
#define R7S72100_CLK_SCIF7 0
+/* MSTP5 */
+#define R7S72100_CLK_OSTM0 1
+#define R7S72100_CLK_OSTM1 0
+
/* MSTP7 */
#define R7S72100_CLK_ETHER 4
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 5/7] ARM: dts: r7s72100: add ostm to device tree
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
` (3 preceding siblings ...)
2017-01-26 10:11 ` [PATCH 4/7] ARM: dts: r7s72100: add ostm clock to device tree Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 6/7] ARM: dts: rskrza1: add ostm DT support Simon Horman
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r7s72100.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index d5946df29222..74e684f3c1c7 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -505,4 +505,22 @@
cap-sdio-irq;
status = "disabled";
};
+
+ ostm0: timer at fcfec000 {
+ compatible = "renesas,r7s72100-ostm", "renesas,ostm";
+ reg = <0xfcfec000 0x30>;
+ interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&mstp5_clks R7S72100_CLK_OSTM0>;
+ power-domains = <&cpg_clocks>;
+ status = "disabled";
+ };
+
+ ostm1: timer at fcfec400 {
+ compatible = "renesas,r7s72100-ostm", "renesas,ostm";
+ reg = <0xfcfec400 0x30>;
+ interrupts = <GIC_SPI 103 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&mstp5_clks R7S72100_CLK_OSTM1>;
+ power-domains = <&cpg_clocks>;
+ status = "disabled";
+ };
};
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 6/7] ARM: dts: rskrza1: add ostm DT support
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
` (4 preceding siblings ...)
2017-01-26 10:11 ` [PATCH 5/7] ARM: dts: r7s72100: add ostm " Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 7/7] ARM: dts: r7s72100: add power-domains to mmcif Simon Horman
2017-01-30 4:54 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Olof Johansson
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r7s72100-rskrza1.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-rskrza1.dts b/arch/arm/boot/dts/r7s72100-rskrza1.dts
index dd4418195ca6..02b59c5b3c53 100644
--- a/arch/arm/boot/dts/r7s72100-rskrza1.dts
+++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts
@@ -61,6 +61,14 @@
status = "okay";
};
+&ostm0 {
+ status = "okay";
+};
+
+&ostm1 {
+ status = "okay";
+};
+
&scif2 {
status = "okay";
};
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 7/7] ARM: dts: r7s72100: add power-domains to mmcif
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
` (5 preceding siblings ...)
2017-01-26 10:11 ` [PATCH 6/7] ARM: dts: rskrza1: add ostm DT support Simon Horman
@ 2017-01-26 10:11 ` Simon Horman
2017-01-30 4:54 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Olof Johansson
7 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2017-01-26 10:11 UTC (permalink / raw)
To: linux-arm-kernel
From: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r7s72100.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 74e684f3c1c7..b8aa256bd515 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -475,6 +475,7 @@
GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH
GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp8_clks R7S72100_CLK_MMCIF>;
+ power-domains = <&cpg_clocks>;
reg-io-width = <4>;
bus-width = <8>;
status = "disabled";
--
2.7.0.rc3.207.g0ac5344
^ permalink raw reply related [flat|nested] 9+ messages in thread* [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
` (6 preceding siblings ...)
2017-01-26 10:11 ` [PATCH 7/7] ARM: dts: r7s72100: add power-domains to mmcif Simon Horman
@ 2017-01-30 4:54 ` Olof Johansson
7 siblings, 0 replies; 9+ messages in thread
From: Olof Johansson @ 2017-01-30 4:54 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 26, 2017 at 11:11:05AM +0100, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
>
> Please consider these second round of Renesas ARM based SoC DT updates for v4.11.
>
> This pull request is based on the previous round of
> such requests, tagged as renesas-dt-for-v4.11,
> which you have already pulled.
>
>
> The following changes since commit 654450baf2afba86cf328e1849ccac61ec4630af:
>
> ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes (2017-01-03 10:47:05 +0100)
>
> are available in the git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt2-for-v4.11
>
> for you to fetch changes up to 5786ac14239a0809ca13e6a6f77147e6bb04aa29:
>
> ARM: dts: r7s72100: add power-domains to mmcif (2017-01-25 11:32:02 +0100)
>
> ----------------------------------------------------------------
> Second Round of Renesas ARM Based SoC DT Updates for v4.11
>
> Enhancements:
> * Add power-domains to mmcif on r7s72100 SoC
> * Add OSTM to rskrza1/r7s72100
> * Link ARM GIC to clock and clock domain on r8a774[35] SoCs
>
> Clean-up:
> * Correct SATA device status on r8a7779/marzen
Merged, thanks!
-Olof
^ permalink raw reply [flat|nested] 9+ messages in thread