* [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI
@ 2017-07-07 2:36 Vladimir Barinov
2017-07-07 2:36 ` [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources Vladimir Barinov
` (6 more replies)
0 siblings, 7 replies; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
Hello,
This patch series enables HDMI support for the H3 and M3-W based ULCB boards
This has the following dependency:
- [PATCH v2 series] R-Car Salvator-X M3-W: Enable DU support
- [PATCH] arm64: dts: renesas: ulcb: Enable I2C4
- [PATCH] clk: vc5: Add support for IDT VersaClock 5P49V5925
Vladimir Barinov (5):
[1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
[2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
[3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
[4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
[5/5] arm64: dts: renesas: ulcb: Enable HDMI output
---
This patchset is against the 'kernel/git/horms/renesas.git' repo.
r8a7795-h3ulcb.dts | 14 ++++++++++++++
r8a7796-m3ulcb.dts | 12 ++++++++++++
ulcb.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 68 insertions(+)
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
@ 2017-07-07 2:36 ` Vladimir Barinov
2017-07-10 8:28 ` Geert Uytterhoeven
[not found] ` <1499395019-14261-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-07 2:37 ` [PATCH 2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks Vladimir Barinov
` (5 subsequent siblings)
6 siblings, 2 replies; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled
programmable clock generator.
Clock generator is available on both the H3 and M3-W ULCB boards.
Add this to the ulcb.dtsi file.
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index e402f16f..6f0a7ca 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -120,6 +120,12 @@
#clock-cells = <0>;
clock-frequency = <24576000>;
};
+
+ x23_clk: x23-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ };
};
&audio_clk_a {
@@ -193,6 +199,14 @@
status = "okay";
clock-frequency = <400000>;
+
+ versaclock5: clock-generator@6a {
+ compatible = "idt,5p49v5925";
+ reg = <0x6a>;
+ #clock-cells = <1>;
+ clocks = <&x23_clk>;
+ clock-names = "xin";
+ };
};
&i2c_dvfs {
--
1.9.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
2017-07-07 2:36 ` [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources Vladimir Barinov
@ 2017-07-07 2:37 ` Vladimir Barinov
[not found] ` <1499395034-14301-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-07 2:37 ` [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: " Vladimir Barinov
` (4 subsequent siblings)
6 siblings, 1 reply; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
The DU0/DU1/DU2/DU3 external dot clocks are provided by the programmable
Versaclock5 clock generator.
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
index 0426f41..22645a9 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
@@ -40,3 +40,17 @@
reg = <0x7 0x00000000 0x0 0x40000000>;
};
};
+
+&du {
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 722>,
+ <&cpg CPG_MOD 721>,
+ <&cpg CPG_MOD 727>,
+ <&versaclock5 1>,
+ <&versaclock5 3>,
+ <&versaclock5 4>,
+ <&versaclock5 2>;
+ clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
+ "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
2017-07-07 2:36 ` [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources Vladimir Barinov
2017-07-07 2:37 ` [PATCH 2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks Vladimir Barinov
@ 2017-07-07 2:37 ` Vladimir Barinov
2017-07-10 8:33 ` Geert Uytterhoeven
2017-07-07 2:37 ` [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output Vladimir Barinov
` (3 subsequent siblings)
6 siblings, 1 reply; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
The DU0/DU1/DU2 external dot clocks are provided by the programmable
Versaclock5 clock generator.
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
index 38b58b7..93446d1 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
@@ -30,3 +30,15 @@
reg = <0x6 0x00000000 0x0 0x40000000>;
};
};
+
+&du {
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 722>,
+ <&cpg CPG_MOD 727>,
+ <&versaclock5 1>,
+ <&versaclock5 3>,
+ <&versaclock5 2>;
+ clock-names = "du.0", "du.1", "du.2", "lvds.0",
+ "dclkin.0", "dclkin.1", "dclkin.2";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
[not found] ` <1499394976-14201-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-07-07 2:37 ` Vladimir Barinov
2017-07-10 8:36 ` Geert Uytterhoeven
2017-07-10 13:09 ` Laurent Pinchart
2017-07-11 9:04 ` [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Simon Horman
1 sibling, 2 replies; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Vladimir Barinov
From: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
The ULCB board has one HDMI output connector.
This connector is available on both the H3 and M3-W ULCB boards.
Add this to the ulcb.dtsi file.
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm64/boot/dts/renesas/ulcb.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 6f0a7ca..fc5408d 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -34,6 +34,17 @@
clock-frequency = <11289600>;
};
+ hdmi0-out {
+ compatible = "hdmi-connector";
+ label = "HDMI0 OUT";
+ type = "a";
+
+ port {
+ hdmi0_con: endpoint {
+ };
+ };
+ };
+
keyboard {
compatible = "gpio-keys";
--
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] 19+ messages in thread
* [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
` (2 preceding siblings ...)
2017-07-07 2:37 ` [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: " Vladimir Barinov
@ 2017-07-07 2:37 ` Vladimir Barinov
2017-07-10 8:37 ` Geert Uytterhoeven
2017-07-10 9:21 ` [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Simon Horman
` (2 subsequent siblings)
6 siblings, 1 reply; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-07 2:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-renesas-soc, Vladimir Barinov
From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Enable the HDMI encoder for ULCB board and hook it up to the HDMI connector.
The HDMI encoder and connector are available on both the H3 and M3-W ULCB boards.
Add them to the ulcb.dtsi file.
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
---
arch/arm64/boot/dts/renesas/ulcb.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index fc5408d..89a8cb2 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -170,6 +170,23 @@
clock-frequency = <32768>;
};
+&hdmi0 {
+ status = "okay";
+
+ ports {
+ port@1 {
+ reg = <1>;
+ rcar_dw_hdmi0_out: endpoint {
+ remote-endpoint = <&hdmi0_con>;
+ };
+ };
+ };
+};
+
+&hdmi0_con {
+ remote-endpoint = <&rcar_dw_hdmi0_out>;
+};
+
&i2c2 {
pinctrl-0 = <&i2c2_pins>;
pinctrl-names = "default";
--
1.9.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* Re: [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
2017-07-07 2:36 ` [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources Vladimir Barinov
@ 2017-07-10 8:28 ` Geert Uytterhoeven
[not found] ` <1499395019-14261-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
1 sibling, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-07-10 8:28 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Fri, Jul 7, 2017 at 4:36 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>
> The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled
> programmable clock generator.
>
> Clock generator is available on both the H3 and M3-W ULCB boards.
> Add this to the ulcb.dtsi file.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 19+ messages in thread
* Re: [PATCH 2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
[not found] ` <1499395034-14301-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-07-10 8:30 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-07-10 8:30 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Renesas
On Fri, Jul 7, 2017 at 4:37 AM, Vladimir Barinov
<vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
>
> The DU0/DU1/DU2/DU3 external dot clocks are provided by the programmable
> Versaclock5 clock generator.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
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 [flat|nested] 19+ messages in thread
* Re: [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
2017-07-07 2:37 ` [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: " Vladimir Barinov
@ 2017-07-10 8:33 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-07-10 8:33 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Fri, Jul 7, 2017 at 4:37 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>
> The DU0/DU1/DU2 external dot clocks are provided by the programmable
> Versaclock5 clock generator.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 19+ messages in thread
* Re: [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
2017-07-07 2:37 ` [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector Vladimir Barinov
@ 2017-07-10 8:36 ` Geert Uytterhoeven
2017-07-10 13:09 ` Laurent Pinchart
1 sibling, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-07-10 8:36 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Fri, Jul 7, 2017 at 4:37 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>
> The ULCB board has one HDMI output connector.
>
> This connector is available on both the H3 and M3-W ULCB boards.
> Add this to the ulcb.dtsi file.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 19+ messages in thread
* Re: [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output
2017-07-07 2:37 ` [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output Vladimir Barinov
@ 2017-07-10 8:37 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-07-10 8:37 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree@vger.kernel.org,
Linux-Renesas
On Fri, Jul 7, 2017 at 4:37 AM, Vladimir Barinov
<vladimir.barinov@cogentembedded.com> wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>
> Enable the HDMI encoder for ULCB board and hook it up to the HDMI connector.
>
> The HDMI encoder and connector are available on both the H3 and M3-W ULCB boards.
> Add them to the ulcb.dtsi file.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 19+ messages in thread
* Re: [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
[not found] ` <1499395019-14261-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-07-10 8:42 ` Simon Horman
2017-07-10 8:45 ` Simon Horman
0 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2017-07-10 8:42 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Magnus Damm, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA
On Fri, Jul 07, 2017 at 05:36:59AM +0300, Vladimir Barinov wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
>
> The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled
> programmable clock generator.
>
> Clock generator is available on both the H3 and M3-W ULCB boards.
> Add this to the ulcb.dtsi file.
>
> Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
> ---
> arch/arm64/boot/dts/renesas/ulcb.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> index e402f16f..6f0a7ca 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> @@ -120,6 +120,12 @@
> #clock-cells = <0>;
> clock-frequency = <24576000>;
> };
> +
> + x23_clk: x23-clock {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <25000000>;
> + };
> };
>
> &audio_clk_a {
> @@ -193,6 +199,14 @@
> status = "okay";
>
> clock-frequency = <400000>;
> +
> + versaclock5: clock-generator@6a {
> + compatible = "idt,5p49v5925";
Checkpatch tells me that "idt,5p49v5925" is undocumented (in v4.12-rc1).
Has this been addressed for v4.14? If not is there a plan to do so?
> + reg = <0x6a>;
> + #clock-cells = <1>;
> + clocks = <&x23_clk>;
> + clock-names = "xin";
> + };
> };
>
> &i2c_dvfs {
> --
> 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 [flat|nested] 19+ messages in thread
* Re: [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
2017-07-10 8:42 ` Simon Horman
@ 2017-07-10 8:45 ` Simon Horman
0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2017-07-10 8:45 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Magnus Damm, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon, devicetree, linux-renesas-soc
On Mon, Jul 10, 2017 at 10:42:58AM +0200, Simon Horman wrote:
> On Fri, Jul 07, 2017 at 05:36:59AM +0300, Vladimir Barinov wrote:
> > From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
> >
> > The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled
> > programmable clock generator.
> >
> > Clock generator is available on both the H3 and M3-W ULCB boards.
> > Add this to the ulcb.dtsi file.
> >
> > Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
> > ---
> > arch/arm64/boot/dts/renesas/ulcb.dtsi | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> > index e402f16f..6f0a7ca 100644
> > --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> > @@ -120,6 +120,12 @@
> > #clock-cells = <0>;
> > clock-frequency = <24576000>;
> > };
> > +
> > + x23_clk: x23-clock {
> > + compatible = "fixed-clock";
> > + #clock-cells = <0>;
> > + clock-frequency = <25000000>;
> > + };
> > };
> >
> > &audio_clk_a {
> > @@ -193,6 +199,14 @@
> > status = "okay";
> >
> > clock-frequency = <400000>;
> > +
> > + versaclock5: clock-generator@6a {
> > + compatible = "idt,5p49v5925";
>
> Checkpatch tells me that "idt,5p49v5925" is undocumented (in v4.12-rc1).
> Has this been addressed for v4.14? If not is there a plan to do so?
I now see "clk: vc5: Add support for IDT VersaClock 5P49V5925".
Sorry for the noise.
>
> > + reg = <0x6a>;
> > + #clock-cells = <1>;
> > + clocks = <&x23_clk>;
> > + clock-names = "xin";
> > + };
> > };
> >
> > &i2c_dvfs {
> > --
> > 1.9.1
> >
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
` (3 preceding siblings ...)
2017-07-07 2:37 ` [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output Vladimir Barinov
@ 2017-07-10 9:21 ` Simon Horman
2017-07-10 13:09 ` Laurent Pinchart
[not found] ` <1499394976-14201-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
6 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2017-07-10 9:21 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Magnus Damm, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon, devicetree, linux-renesas-soc
On Fri, Jul 07, 2017 at 05:36:16AM +0300, Vladimir Barinov wrote:
> Hello,
>
> This patch series enables HDMI support for the H3 and M3-W based ULCB boards
>
> This has the following dependency:
> - [PATCH v2 series] R-Car Salvator-X M3-W: Enable DU support
> - [PATCH] arm64: dts: renesas: ulcb: Enable I2C4
> - [PATCH] clk: vc5: Add support for IDT VersaClock 5P49V5925
I am holding off on applying these pending the first dependency above.
>
> Vladimir Barinov (5):
> [1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
> [2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
> [3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
> [4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
> [5/5] arm64: dts: renesas: ulcb: Enable HDMI output
>
> ---
> This patchset is against the 'kernel/git/horms/renesas.git' repo.
>
> r8a7795-h3ulcb.dts | 14 ++++++++++++++
> r8a7796-m3ulcb.dts | 12 ++++++++++++
> ulcb.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 68 insertions(+)
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
2017-07-07 2:37 ` [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector Vladimir Barinov
2017-07-10 8:36 ` Geert Uytterhoeven
@ 2017-07-10 13:09 ` Laurent Pinchart
2017-07-10 16:28 ` Vladimir Barinov
1 sibling, 1 reply; 19+ messages in thread
From: Laurent Pinchart @ 2017-07-10 13:09 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree, linux-renesas-soc
Hi Vladimir,
Thank you for the patch.
On Friday 07 Jul 2017 05:37:36 Vladimir Barinov wrote:
> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>
> The ULCB board has one HDMI output connector.
>
> This connector is available on both the H3 and M3-W ULCB boards.
> Add this to the ulcb.dtsi file.
>
> Signed-off-by: Vladimir Barinov
> <vladimir.barinov+renesas@cogentembedded.com> ---
> arch/arm64/boot/dts/renesas/ulcb.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 6f0a7ca..fc5408d 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> @@ -34,6 +34,17 @@
> clock-frequency = <11289600>;
> };
>
> + hdmi0-out {
> + compatible = "hdmi-connector";
> + label = "HDMI0 OUT";
As far as I know there is no "HDMI0 OUT" label on the board or casing. You can
remove the label property. Apart from that,
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> + type = "a";
> +
> + port {
> + hdmi0_con: endpoint {
> + };
> + };
> + };
> +
> keyboard {
> compatible = "gpio-keys";
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
` (4 preceding siblings ...)
2017-07-10 9:21 ` [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Simon Horman
@ 2017-07-10 13:09 ` Laurent Pinchart
[not found] ` <1499394976-14201-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
6 siblings, 0 replies; 19+ messages in thread
From: Laurent Pinchart @ 2017-07-10 13:09 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree, linux-renesas-soc
H Vladimir,
On Friday 07 Jul 2017 05:36:16 Vladimir Barinov wrote:
> Hello,
>
> This patch series enables HDMI support for the H3 and M3-W based ULCB boards
>
> This has the following dependency:
> - [PATCH v2 series] R-Car Salvator-X M3-W: Enable DU support
> - [PATCH] arm64: dts: renesas: ulcb: Enable I2C4
> - [PATCH] clk: vc5: Add support for IDT VersaClock 5P49V5925
>
> Vladimir Barinov (5):
> [1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
> [2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
> [3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
> [4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
> [5/5] arm64: dts: renesas: ulcb: Enable HDMI output
Thank you for the patches.
For patches 1/5, 2/5, 3/5 and 5/5,
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Please see patch 4/5 for a small comment.
> ---
> This patchset is against the 'kernel/git/horms/renesas.git' repo.
>
> r8a7795-h3ulcb.dts | 14 ++++++++++++++
> r8a7796-m3ulcb.dts | 12 ++++++++++++
> ulcb.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 68 insertions(+)
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
2017-07-10 13:09 ` Laurent Pinchart
@ 2017-07-10 16:28 ` Vladimir Barinov
[not found] ` <fbc99ea5-cfbb-5fcf-9162-7358fe4d667c-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
0 siblings, 1 reply; 19+ messages in thread
From: Vladimir Barinov @ 2017-07-10 16:28 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree, linux-renesas-soc
Hi Laurent,
Thank you for the review!
On 10.07.2017 16:09, Laurent Pinchart wrote:
> Hi Vladimir,
>
> Thank you for the patch.
>
> On Friday 07 Jul 2017 05:37:36 Vladimir Barinov wrote:
>> From: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
>>
>> The ULCB board has one HDMI output connector.
>>
>> This connector is available on both the H3 and M3-W ULCB boards.
>> Add this to the ulcb.dtsi file.
>>
>> Signed-off-by: Vladimir Barinov
>> <vladimir.barinov+renesas@cogentembedded.com> ---
>> arch/arm64/boot/dts/renesas/ulcb.dtsi | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi
>> b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 6f0a7ca..fc5408d 100644
>> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
>> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
>> @@ -34,6 +34,17 @@
>> clock-frequency = <11289600>;
>> };
>>
>> + hdmi0-out {
>> + compatible = "hdmi-connector";
>> + label = "HDMI0 OUT";
> As far as I know there is no "HDMI0 OUT" label on the board or casing. You can
> remove the label property. Apart from that,
I was thinking that this is a label on schematic.
ULCB has similar schematic label as first HDMI connector on Salvator-X
"HDMI output(HDMI0)", hence I've just copied label name from Salvator-X
file.
Right, there is no such name on ULCB pcb or plastic cover.
Is it okay If I resend only one patch with label field removed?
Regards,
Vladimir
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
[not found] ` <fbc99ea5-cfbb-5fcf-9162-7358fe4d667c-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2017-07-10 19:38 ` Laurent Pinchart
0 siblings, 0 replies; 19+ messages in thread
From: Laurent Pinchart @ 2017-07-10 19:38 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA
Hi Vladimir,
On Monday 10 Jul 2017 19:28:57 Vladimir Barinov wrote:
> On 10.07.2017 16:09, Laurent Pinchart wrote:
> > On Friday 07 Jul 2017 05:37:36 Vladimir Barinov wrote:
> >> From: Vladimir Barinov <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
> >>
> >> The ULCB board has one HDMI output connector.
> >>
> >> This connector is available on both the H3 and M3-W ULCB boards.
> >> Add this to the ulcb.dtsi file.
> >>
> >> Signed-off-by: Vladimir Barinov
> >> <vladimir.barinov+renesas-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> ---
> >>
> >> arch/arm64/boot/dts/renesas/ulcb.dtsi | 11 +++++++++++
> >> 1 file changed, 11 insertions(+)
> >>
> >> diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> >> b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 6f0a7ca..fc5408d 100644
> >> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> >> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> >> @@ -34,6 +34,17 @@
> >>
> >> clock-frequency = <11289600>;
> >>
> >> };
> >>
> >> + hdmi0-out {
> >> + compatible = "hdmi-connector";
> >> + label = "HDMI0 OUT";
> >
> > As far as I know there is no "HDMI0 OUT" label on the board or casing. You
> > can remove the label property. Apart from that,
>
> I was thinking that this is a label on schematic.
>
> ULCB has similar schematic label as first HDMI connector on Salvator-X
> "HDMI output(HDMI0)", hence I've just copied label name from Salvator-X
> file.
>
> Right, there is no such name on ULCB pcb or plastic cover.
Yes, that's the difference with the Salvator-X, where the plastic cover has a
label.
> Is it okay If I resend only one patch with label field removed?
Sure.
--
Regards,
Laurent Pinchart
--
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 [flat|nested] 19+ messages in thread
* Re: [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI
[not found] ` <1499394976-14201-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-07 2:37 ` [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector Vladimir Barinov
@ 2017-07-11 9:04 ` Simon Horman
1 sibling, 0 replies; 19+ messages in thread
From: Simon Horman @ 2017-07-11 9:04 UTC (permalink / raw)
To: Vladimir Barinov
Cc: Magnus Damm, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA
On Fri, Jul 07, 2017 at 05:36:16AM +0300, Vladimir Barinov wrote:
> Hello,
>
> This patch series enables HDMI support for the H3 and M3-W based ULCB boards
>
> This has the following dependency:
> - [PATCH v2 series] R-Car Salvator-X M3-W: Enable DU support
> - [PATCH] arm64: dts: renesas: ulcb: Enable I2C4
> - [PATCH] clk: vc5: Add support for IDT VersaClock 5P49V5925
>
> Vladimir Barinov (5):
> [1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources
> [2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks
> [3/5] arm64: dts: renesas: r8a7796-m3ulcb: Add DU external dot clocks
> [4/5] arm64: dts: renesas: ulcb: Add HDMI output connector
> [5/5] arm64: dts: renesas: ulcb: Enable HDMI output
Thanks, I have applied v2 or 4/5 along with the remaining patches above for
v4.14.
--
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 [flat|nested] 19+ messages in thread
end of thread, other threads:[~2017-07-11 9:04 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07 2:36 [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Vladimir Barinov
2017-07-07 2:36 ` [PATCH 1/5] arm64: dts: renesas: ulcb: Add DU external dot clock sources Vladimir Barinov
2017-07-10 8:28 ` Geert Uytterhoeven
[not found] ` <1499395019-14261-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-10 8:42 ` Simon Horman
2017-07-10 8:45 ` Simon Horman
2017-07-07 2:37 ` [PATCH 2/5] arm64: dts: renesas: r8a7795-h3ulcb: Add DU external dot clocks Vladimir Barinov
[not found] ` <1499395034-14301-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-10 8:30 ` Geert Uytterhoeven
2017-07-07 2:37 ` [PATCH 3/5] arm64: dts: renesas: r8a7796-m3ulcb: " Vladimir Barinov
2017-07-10 8:33 ` Geert Uytterhoeven
2017-07-07 2:37 ` [PATCH 5/5] arm64: dts: renesas: ulcb: Enable HDMI output Vladimir Barinov
2017-07-10 8:37 ` Geert Uytterhoeven
2017-07-10 9:21 ` [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Simon Horman
2017-07-10 13:09 ` Laurent Pinchart
[not found] ` <1499394976-14201-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-07 2:37 ` [PATCH 4/5] arm64: dts: renesas: ulcb: Add HDMI output connector Vladimir Barinov
2017-07-10 8:36 ` Geert Uytterhoeven
2017-07-10 13:09 ` Laurent Pinchart
2017-07-10 16:28 ` Vladimir Barinov
[not found] ` <fbc99ea5-cfbb-5fcf-9162-7358fe4d667c-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2017-07-10 19:38 ` Laurent Pinchart
2017-07-11 9:04 ` [PATCH 0/5] arm64: dts: renesas: ulcb: Enable HDMI Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).