* [PATCH v2 0/2] Add HDMI support
@ 2017-10-23 18:09 Fabrizio Castro
[not found] ` <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-10-23 18:09 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Laurent Pinchart
Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro,
devicetree, linux-renesas-soc, Biju Das
Hello,
this series aims to add HDMI support for iWave RZ/G1M (R8A7743) board.
This new version applies on top of tag renesas-devel-20171018-v4.14-rc5
As a reminder, the patches in this series depend on:
[1] dt-bindings: display: rcar-du: Document R8A774[35]DU
https://patchwork.kernel.org/patch/10005091/
[2] drm: rcar-du: Add R8A7743 support
https://patchwork.kernel.org/patch/10005093/
Best regards,
Fabrizio Castro (2):
ARM: dts: r8a7743: Add DU support
ARM: dts: iwg20d-q7-dbcm-ca: Add HDMI video output
arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi | 75 ++++++++++++++++++++++++++++++++
arch/arm/boot/dts/r8a7743.dtsi | 30 +++++++++++++
2 files changed, 105 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>]
* [PATCH v2 1/2] ARM: dts: r8a7743: Add DU support
[not found] ` <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
@ 2017-10-23 18:09 ` Fabrizio Castro
0 siblings, 0 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-10-23 18:09 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Laurent Pinchart
Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Biju Das
Add du node to r8a7743 SoC DT. Boards that want to enable the DU
need to specify the output topology.
Signed-off-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
Reviewed-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>
---
Changes is v2:
* added changelog
arch/arm/boot/dts/r8a7743.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 7bbba4a..fafb10e 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -1033,6 +1033,36 @@
};
};
+ du: display@feb00000 {
+ compatible = "renesas,du-r8a7743";
+ reg = <0 0xfeb00000 0 0x40000>,
+ <0 0xfeb90000 0 0x1c>;
+ reg-names = "du", "lvds.0";
+ interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 724>,
+ <&cpg CPG_MOD 723>,
+ <&cpg CPG_MOD 726>;
+ clock-names = "du.0", "du.1", "lvds.0";
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ du_out_rgb: endpoint {
+ };
+ };
+ port@1 {
+ reg = <1>;
+ du_out_lvds0: endpoint {
+ };
+ };
+ };
+ };
+
pci0: pci@ee090000 {
compatible = "renesas,pci-r8a7743",
"renesas,pci-rcar-gen2";
--
2.7.4
--
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] 4+ messages in thread
* [PATCH v2 2/2] ARM: dts: iwg20d-q7-dbcm-ca: Add HDMI video output
2017-10-23 18:09 [PATCH v2 0/2] Add HDMI support Fabrizio Castro
[not found] ` <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
@ 2017-10-23 18:09 ` Fabrizio Castro
2017-10-29 15:03 ` [PATCH v2 0/2] Add HDMI support Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-10-23 18:09 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Laurent Pinchart
Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro,
devicetree, linux-renesas-soc, Biju Das
Although there is a HDMI connector on the q7 carrier board it is not
connected to the RZ/G1M SoC. One must use the HDMI connector on the
camera daughter board.
This patch adds support for this connector.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
Changes in v2:
* moved cec_clock to root node
arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi | 75 ++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi b/arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi
index 31fab5f..4db18f2 100644
--- a/arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi
@@ -13,6 +13,37 @@
serial1 = &scif1;
serial4 = &hscif1;
};
+
+ cec_clock: cec-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <12000000>;
+ };
+
+ hdmi-out {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_out: endpoint {
+ remote-endpoint = <&adv7511_out>;
+ };
+ };
+ };
+};
+
+&du {
+ pinctrl-0 = <&du_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ ports {
+ port@0 {
+ endpoint {
+ remote-endpoint = <&adv7511_in>;
+ };
+ };
+ };
};
&hscif1 {
@@ -23,7 +54,51 @@
status = "okay";
};
+&i2c5 {
+ status = "okay";
+ clock-frequency = <400000>;
+
+ hdmi@39 {
+ compatible = "adi,adv7511w";
+ reg = <0x39>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&cec_clock>;
+ clock-names = "cec";
+
+ adi,input-depth = <8>;
+ adi,input-colorspace = "rgb";
+ adi,input-clock = "1x";
+ adi,input-style = <1>;
+ adi,input-justification = "evenly";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ adv7511_in: endpoint {
+ remote-endpoint = <&du_out_rgb>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ adv7511_out: endpoint {
+ remote-endpoint = <&hdmi_con_out>;
+ };
+ };
+ };
+ };
+};
+
&pfc {
+ du_pins: du {
+ groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
+ function = "du";
+ };
+
hscif1_pins: hscif1 {
groups = "hscif1_data_c", "hscif1_ctrl_c";
function = "hscif1";
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v2 0/2] Add HDMI support
2017-10-23 18:09 [PATCH v2 0/2] Add HDMI support Fabrizio Castro
[not found] ` <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-23 18:09 ` [PATCH v2 2/2] ARM: dts: iwg20d-q7-dbcm-ca: Add HDMI video output Fabrizio Castro
@ 2017-10-29 15:03 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-10-29 15:03 UTC (permalink / raw)
To: Fabrizio Castro
Cc: Rob Herring, Mark Rutland, Laurent Pinchart, Magnus Damm,
Chris Paterson, devicetree, linux-renesas-soc, Biju Das
On Mon, Oct 23, 2017 at 07:09:20PM +0100, Fabrizio Castro wrote:
> Hello,
>
> this series aims to add HDMI support for iWave RZ/G1M (R8A7743) board.
> This new version applies on top of tag renesas-devel-20171018-v4.14-rc5
>
> As a reminder, the patches in this series depend on:
> [1] dt-bindings: display: rcar-du: Document R8A774[35]DU
> https://patchwork.kernel.org/patch/10005091/
> [2] drm: rcar-du: Add R8A7743 support
> https://patchwork.kernel.org/patch/10005093/
Thanks, applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-29 15:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-23 18:09 [PATCH v2 0/2] Add HDMI support Fabrizio Castro
[not found] ` <1508782162-31714-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-23 18:09 ` [PATCH v2 1/2] ARM: dts: r8a7743: Add DU support Fabrizio Castro
2017-10-23 18:09 ` [PATCH v2 2/2] ARM: dts: iwg20d-q7-dbcm-ca: Add HDMI video output Fabrizio Castro
2017-10-29 15:03 ` [PATCH v2 0/2] Add HDMI support 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).