* [PATCH 1/4] ARM: dts: r8a7794: Add DU1 clock to device tree
2017-03-28 10:45 [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
@ 2017-03-28 10:45 ` Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 2/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 10:45 UTC (permalink / raw)
To: linux-arm-kernel
Add the missing module clock for the second channel of the display unit.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7794.dtsi | 8 +++++---
include/dt-bindings/clock/r8a7794-clock.h | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 38bf9ed8e739ea2b..f5f8d1c03ef7c3a3 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -1270,19 +1270,21 @@
clocks = <&mp_clk>, <&hp_clk>,
<&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
<&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
- <&zx_clk>;
+ <&zx_clk>, <&zx_clk>;
#clock-cells = <1>;
clock-indices = <
R8A7794_CLK_EHCI R8A7794_CLK_HSUSB
R8A7794_CLK_HSCIF2 R8A7794_CLK_SCIF5
R8A7794_CLK_SCIF4 R8A7794_CLK_HSCIF1 R8A7794_CLK_HSCIF0
R8A7794_CLK_SCIF3 R8A7794_CLK_SCIF2 R8A7794_CLK_SCIF1
- R8A7794_CLK_SCIF0 R8A7794_CLK_DU0
+ R8A7794_CLK_SCIF0
+ R8A7794_CLK_DU1 R8A7794_CLK_DU0
>;
clock-output-names =
"ehci", "hsusb",
"hscif2", "scif5", "scif4", "hscif1", "hscif0",
- "scif3", "scif2", "scif1", "scif0", "du0";
+ "scif3", "scif2", "scif1", "scif0",
+ "du1", "du0";
};
mstp8_clks: mstp8_clks at e6150990 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7794-clock.h b/include/dt-bindings/clock/r8a7794-clock.h
index a26776f7deddbaa4..93e99c3ffc8dafeb 100644
--- a/include/dt-bindings/clock/r8a7794-clock.h
+++ b/include/dt-bindings/clock/r8a7794-clock.h
@@ -82,6 +82,7 @@
#define R8A7794_CLK_SCIF2 19
#define R8A7794_CLK_SCIF1 20
#define R8A7794_CLK_SCIF0 21
+#define R8A7794_CLK_DU1 23
#define R8A7794_CLK_DU0 24
/* MSTP8 */
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/4] ARM: dts: r8a7794: Correct clock of DU1
2017-03-28 10:45 [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 1/4] ARM: dts: r8a7794: Add DU1 clock to device tree Geert Uytterhoeven
@ 2017-03-28 10:45 ` Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 3/4] ARM: dts: alt: " Geert Uytterhoeven
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 10:45 UTC (permalink / raw)
To: linux-arm-kernel
The second channel of the display unit uses a different module clock
than the first channel.
Fixes: 46c4f13d04d729fa ("ARM: shmobile: r8a7794: Add DU node to device tree")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7794.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index f5f8d1c03ef7c3a3..2f6e94fd408cc858 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -925,7 +925,7 @@
interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7794_CLK_DU0>,
- <&mstp7_clks R8A7794_CLK_DU0>;
+ <&mstp7_clks R8A7794_CLK_DU1>;
clock-names = "du.0", "du.1";
status = "disabled";
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/4] ARM: dts: alt: Correct clock of DU1
2017-03-28 10:45 [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 1/4] ARM: dts: r8a7794: Add DU1 clock to device tree Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 2/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
@ 2017-03-28 10:45 ` Geert Uytterhoeven
2017-03-28 10:45 ` [PATCH 4/4] ARM: dts: silk: " Geert Uytterhoeven
2017-03-28 12:08 ` [PATCH 0/4] ARM: dts: r8a7794: " Laurent Pinchart
4 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 10:45 UTC (permalink / raw)
To: linux-arm-kernel
The second channel of the display unit uses a different module clock
than the first channel.
Fixes: 876e7fb9f418fd86 ("ARM: shmobile: r8a7794: alt: Enable VGA port")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7794-alt.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index 3fcf76b8e923be86..f1eea13cdf44371d 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -168,7 +168,7 @@
status = "okay";
clocks = <&mstp7_clks R8A7794_CLK_DU0>,
- <&mstp7_clks R8A7794_CLK_DU0>,
+ <&mstp7_clks R8A7794_CLK_DU1>,
<&x13_clk>, <&x2_clk>;
clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 4/4] ARM: dts: silk: Correct clock of DU1
2017-03-28 10:45 [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
` (2 preceding siblings ...)
2017-03-28 10:45 ` [PATCH 3/4] ARM: dts: alt: " Geert Uytterhoeven
@ 2017-03-28 10:45 ` Geert Uytterhoeven
2017-03-28 12:08 ` [PATCH 0/4] ARM: dts: r8a7794: " Laurent Pinchart
4 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-03-28 10:45 UTC (permalink / raw)
To: linux-arm-kernel
The second channel of the display unit uses a different module clock
than the first channel.
Fixes: 84e734f497cd48f6 ("ARM: dts: silk: add DU DT support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7794-silk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts
index c742d80d6dca8548..4cb5278d104dfcb3 100644
--- a/arch/arm/boot/dts/r8a7794-silk.dts
+++ b/arch/arm/boot/dts/r8a7794-silk.dts
@@ -424,7 +424,7 @@
status = "okay";
clocks = <&mstp7_clks R8A7794_CLK_DU0>,
- <&mstp7_clks R8A7794_CLK_DU0>,
+ <&mstp7_clks R8A7794_CLK_DU1>,
<&x2_clk>, <&x3_clk>;
clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1
2017-03-28 10:45 [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1 Geert Uytterhoeven
` (3 preceding siblings ...)
2017-03-28 10:45 ` [PATCH 4/4] ARM: dts: silk: " Geert Uytterhoeven
@ 2017-03-28 12:08 ` Laurent Pinchart
2017-03-28 12:30 ` Simon Horman
4 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2017-03-28 12:08 UTC (permalink / raw)
To: linux-arm-kernel
Hi Geert,
Thank you for the patches.
On Tuesday 28 Mar 2017 12:45:29 Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> In the DTS files for the R-Car E2 SoC and for development boards based
> on this SoC, the second channel of the display unit incorrectly points
> to the module clock for the first channel.
>
> This patch series adds the missing module clock for the second channel,
> and refers to it from the DU device node in the various DTS files.
>
> Untested due to lack of hardware.
The patches look good to me.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Geert Uytterhoeven (4):
> ARM: dts: r8a7794: Add DU1 clock to device tree
> ARM: dts: r8a7794: Correct clock of DU1
> ARM: dts: alt: Correct clock of DU1
> ARM: dts: silk: Correct clock of DU1
>
> arch/arm/boot/dts/r8a7794-alt.dts | 2 +-
> arch/arm/boot/dts/r8a7794-silk.dts | 2 +-
> arch/arm/boot/dts/r8a7794.dtsi | 10 ++++++----
> include/dt-bindings/clock/r8a7794-clock.h | 1 +
> 4 files changed, 9 insertions(+), 6 deletions(-)
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 0/4] ARM: dts: r8a7794: Correct clock of DU1
2017-03-28 12:08 ` [PATCH 0/4] ARM: dts: r8a7794: " Laurent Pinchart
@ 2017-03-28 12:30 ` Simon Horman
0 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2017-03-28 12:30 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Mar 28, 2017 at 03:08:11PM +0300, Laurent Pinchart wrote:
> Hi Geert,
>
> Thank you for the patches.
>
> On Tuesday 28 Mar 2017 12:45:29 Geert Uytterhoeven wrote:
> > Hi Simon, Magnus,
> >
> > In the DTS files for the R-Car E2 SoC and for development boards based
> > on this SoC, the second channel of the display unit incorrectly points
> > to the module clock for the first channel.
> >
> > This patch series adds the missing module clock for the second channel,
> > and refers to it from the DU device node in the various DTS files.
> >
> > Untested due to lack of hardware.
>
> The patches look good to me.
>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thanks, I have queued these up.
^ permalink raw reply [flat|nested] 7+ messages in thread