devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kbingham@kernel.org>
Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Kieran Bingham <kieran.bingham@ideasonboard.com>,
	Simon Horman <horms@verge.net.au>,
	geert@glider.be, Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511
Date: Thu, 15 Feb 2018 16:16:00 +0200	[thread overview]
Message-ID: <2517305.jdPBFiRQEk@avalon> (raw)
In-Reply-To: <1518683903-10681-8-git-send-email-kbingham@kernel.org>

Hi Kieran,

Thank you for the patch.

On Thursday, 15 February 2018 10:38:22 EET Kieran Bingham wrote:
> From: Kieran Bingham <kieran.bingham@ideasonboard.com>
> 
> Provide a device node for the ADV7511 as found on the Draak D3 platform.
> 
> The ADV7511 is connected to the DU through a parallel mux chip, and is
> configurable in hardware whether it is connected to LVDS0 or LVDS1.
> 
> Connect through to LVDS0 as a default implementation.

You need to model the LVDS decoder in DT too. I know that no driver and no DT 
bindings are available at the moment, and I'm aware that this patch enables 
the HDMI output on the Draak board, but I don't think it's upstreamable as-is.

> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> ---
>  arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 56 +++++++++++++++++++++++
>  1 file changed, 56 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
> b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index
> 668e246dfc5d..df0c7773cb7d 100644
> --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
> @@ -27,6 +27,17 @@
>  		stdout-path = "serial0:115200n8";
>  	};
> 
> +	hdmi-out {
> +		compatible = "hdmi-connector";
> +		type = "a";
> +
> +		port {
> +			hdmi_con_out: endpoint {
> +				remote-endpoint = <&adv7511_out>;
> +			};
> +		};
> +	};
> +
>  	vga {
>  		compatible = "vga-connector";
> 
> @@ -124,6 +135,39 @@
>  		reg = <0x50>;
>  		pagesize = <8>;
>  	};
> +
> +	hdmi@39 {
> +		compatible = "adi,adv7511w";
> +		reg = <0x39>, <0x3f>, <0x38>, <0x3c>;
> +		reg-names = "main", "edid", "packet", "cec";
> +		interrupt-parent = <&gpio1>;
> +		interrupts = <28 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 = <&lvds0_out>;
> +				};
> +			};
> +
> +			port@1 {
> +				reg = <1>;
> +				adv7511_out: endpoint {
> +					remote-endpoint = <&hdmi_con_out>;
> +				};
> +			};
> +		};
> +	};
>  };
> 
>  &i2c1 {
> @@ -146,6 +190,18 @@
>  	};
>  };
> 
> +&lvds0 {
> +	status = "okay";
> +
> +	ports {
> +		port@1 {
> +			endpoint {
> +				remote-endpoint = <&adv7511_in>;
> +			};
> +		};
> +	};
> +};
> +
>  &ehci0 {
>  	status = "okay";
>  };


-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2018-02-15 14:16 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  8:38 [PATCH 0/8] r8a77995 D3 DU and LVDS support Kieran Bingham
2018-02-15  8:38 ` [PATCH 1/8] pinctrl: sh-pfc: r8a77995: Add DU support Kieran Bingham
2018-02-15 12:32   ` Kieran Bingham
2018-02-15  8:38 ` [PATCH 2/8] dt-bindings: display: renesas,du: Document r8a77995 bindings Kieran Bingham
2018-02-15 13:59   ` [PATCH 2/8] dt-bindings: display: renesas, du: " Laurent Pinchart
2018-02-15  8:38 ` [PATCH 3/8] dt-bindings: display: renesas, lvds: Add LVDS binding for D3 Kieran Bingham
2018-02-15  8:45   ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Kieran Bingham
2018-02-15 14:04     ` [PATCH 3/8] dt-bindings: display: renesas, lvds: " Laurent Pinchart
     [not found]   ` <1518683903-10681-4-git-send-email-kbingham-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-02-15 14:02     ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Laurent Pinchart
     [not found] ` <1518683903-10681-1-git-send-email-kbingham-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-02-15  8:38   ` [PATCH 4/8] arm64: dts: renesas: r8a77995: add DU support Kieran Bingham
2018-02-15 14:07     ` Laurent Pinchart
2018-02-15 16:52       ` Simon Horman
2018-02-15  8:38   ` [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511 Kieran Bingham
2018-02-15 14:16     ` Laurent Pinchart [this message]
2018-02-15 16:50       ` Simon Horman
2018-02-16 11:51       ` Kieran Bingham
2018-02-15  8:38 ` [PATCH 5/8] arm64: dts: renesas: r8a77995: Add LVDS support Kieran Bingham
2018-02-15  9:07   ` Geert Uytterhoeven
2018-02-15 12:41     ` Kieran Bingham
2018-02-15 12:46       ` Geert Uytterhoeven
2018-02-15 14:10   ` Laurent Pinchart
2018-02-15 14:24     ` Kieran Bingham
     [not found]   ` <1518683903-10681-6-git-send-email-kbingham-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-02-15 16:51     ` Simon Horman
2018-02-15  8:38 ` [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU Kieran Bingham
     [not found]   ` <1518683903-10681-7-git-send-email-kbingham-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-02-15 14:12     ` Laurent Pinchart
2018-02-15 14:30       ` Kieran Bingham
2018-02-15 16:52         ` Simon Horman
2018-02-16 12:32   ` [PATCH v2] " Kieran Bingham
2018-02-16 13:42     ` Simon Horman
2018-02-15  8:38 ` [PATCH 8/8] [PoC] arm64: dts: renesas: r8a77995-draak: Add ADV7612 Kieran Bingham

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=2517305.jdPBFiRQEk@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@glider.be \
    --cc=horms@verge.net.au \
    --cc=kbingham@kernel.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.com \
    /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).