linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>
Cc: Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms@verge.net.au>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Subject: [PATCH v3 3/9] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance
Date: Wed,  2 Oct 2019 16:20:13 +0100	[thread overview]
Message-ID: <1570029619-43238-4-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1570029619-43238-1-git-send-email-biju.das@bp.renesas.com>

Add the HDMI encoder to the R8A774B1 DT in disabled state.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 V1-->V2
   * No change
   * Added Laurent's Reviewed-by tag.
 V2-->V3
   * No change
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 777b45d..979be5a 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1267,7 +1267,16 @@
 		};
 
 		hdmi0: hdmi@fead0000 {
+			compatible = "renesas,r8a774b1-hdmi",
+				     "renesas,rcar-gen3-hdmi";
 			reg = <0 0xfead0000 0 0x10000>;
+			interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 729>,
+				 <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
+			clock-names = "iahb", "isfr";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 729>;
+			status = "disabled";
 
 			ports {
 				#address-cells = <1>;
@@ -1276,11 +1285,16 @@
 				port@0 {
 					reg = <0>;
 					dw_hdmi0_in: endpoint {
+						remote-endpoint = <&du_out_hdmi0>;
 					};
 				};
 				port@1 {
 					reg = <1>;
 				};
+				port@2 {
+					/* HDMI sound */
+					reg = <2>;
+				};
 			};
 		};
 
@@ -1310,6 +1324,7 @@
 				port@1 {
 					reg = <1>;
 					du_out_hdmi0: endpoint {
+						remote-endpoint = <&dw_hdmi0_in>;
 					};
 				};
 				port@2 {
-- 
2.7.4


  parent reply	other threads:[~2019-10-02 15:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 15:20 [PATCH v3 0/9] Add Display support Biju Das
2019-10-02 15:20 ` [PATCH v3 1/9] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi Biju Das
2019-10-09 14:57   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 2/9] arm64: dts: renesas: r8a774b1: Add DU device to DT Biju Das
2019-10-09 12:37   ` Geert Uytterhoeven
2019-10-02 15:20 ` Biju Das [this message]
2019-10-09 12:40   ` [PATCH v3 3/9] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 4/9] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties Biju Das
2019-10-09 12:42   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 5/9] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes Biju Das
2019-10-09 12:43   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 6/9] arm64: dts: renesas: r8a774b1: Add PWM " Biju Das
2019-10-09 12:44   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 7/9] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight Biju Das
2019-10-09 15:27   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 8/9] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Biju Das
2019-10-09 15:31   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 9/9] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel Biju Das
2019-10-11 11:35   ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1570029619-43238-4-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).