| From 3a06d8c15a1510297339d86a5aa41c6018788660 Mon Sep 17 00:00:00 2001 |
| From: Jacopo Mondi <jacopo+renesas@jmondi.org> |
| Date: Thu, 12 Apr 2018 10:14:01 +0200 |
| Subject: [PATCH 1480/1795] arm64: dts: renesas: eagle: Enable HDMI output |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| Enable HDMI output on Renesas R-Car V3M Eagle board. |
| |
| The HDMI output is enabled connecting the DU LVDS output to the |
| transparent LVDS converter THC63LVD1024, and successively routing its |
| RGB output to the ADV7511W HDMI encoder. |
| |
| Signed-off-by: Niklas Sรถderlund <niklas.soderlund+renesas@ragnatech.se> |
| Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> |
| Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| [for THC63LVD1024: ] |
| Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> |
| |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 3c3d1672664aff2f7f938d2d206e47cecdf6b4ef) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| .../arm64/boot/dts/renesas/r8a77970-eagle.dts | 93 +++++++++++++++++++ |
| 1 file changed, 93 insertions(+) |
| |
| diff --git a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |
| index 3c5f598c9766..ebfbb51ab168 100644 |
| --- a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |
| +++ b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |
| @@ -31,6 +31,51 @@ |
| /* first 128MB is reserved for secure area. */ |
| reg = <0x0 0x48000000 0x0 0x38000000>; |
| }; |
| + |
| + hdmi-out { |
| + compatible = "hdmi-connector"; |
| + type = "a"; |
| + |
| + port { |
| + hdmi_con_out: endpoint { |
| + remote-endpoint = <&adv7511_out>; |
| + }; |
| + }; |
| + }; |
| + |
| + d3p3: regulator-fixed { |
| + compatible = "regulator-fixed"; |
| + regulator-name = "fixed-3.3V"; |
| + regulator-min-microvolt = <3300000>; |
| + regulator-max-microvolt = <3300000>; |
| + regulator-boot-on; |
| + regulator-always-on; |
| + }; |
| + |
| + lvds-decoder { |
| + compatible = "thine,thc63lvd1024"; |
| + |
| + vcc-supply = <&d3p3>; |
| + |
| + ports { |
| + #address-cells = <1>; |
| + #size-cells = <0>; |
| + |
| + port@0 { |
| + reg = <0>; |
| + thc63lvd1024_in: endpoint { |
| + remote-endpoint = <&lvds0_out>; |
| + }; |
| + }; |
| + |
| + port@2 { |
| + reg = <2>; |
| + thc63lvd1024_out: endpoint { |
| + remote-endpoint = <&adv7511_in>; |
| + }; |
| + }; |
| + }; |
| + }; |
| }; |
| |
| &avb { |
| @@ -68,6 +113,38 @@ |
| gpio-controller; |
| #gpio-cells = <2>; |
| }; |
| + |
| + hdmi@39 { |
| + compatible = "adi,adv7511w"; |
| + reg = <0x39>; |
| + interrupt-parent = <&gpio1>; |
| + interrupts = <20 IRQ_TYPE_LEVEL_LOW>; |
| + |
| + 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 = <&thc63lvd1024_out>; |
| + }; |
| + }; |
| + |
| + port@1 { |
| + reg = <1>; |
| + adv7511_out: endpoint { |
| + remote-endpoint = <&hdmi_con_out>; |
| + }; |
| + }; |
| + }; |
| + }; |
| }; |
| |
| &pfc { |
| @@ -93,3 +170,19 @@ |
| |
| status = "okay"; |
| }; |
| + |
| +&du { |
| + status = "okay"; |
| +}; |
| + |
| +&lvds0 { |
| + status = "okay"; |
| + |
| + ports { |
| + port@1 { |
| + lvds0_out: endpoint { |
| + remote-endpoint = <&thc63lvd1024_in>; |
| + }; |
| + }; |
| + }; |
| +}; |
| -- |
| 2.19.0 |
| |