From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319AbeERPMv (ORCPT ); Fri, 18 May 2018 11:12:51 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:40762 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbeERPMr (ORCPT ); Fri, 18 May 2018 11:12:47 -0400 From: Laurent Pinchart To: Jacopo Mondi Cc: niklas.soderlund@ragnatech.se, horms@verge.net.au, geert@glider.be, magnus.damm@gmail.com, robh+dt@kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] arm64: dts: renesas: draak: Describe HDMI input Date: Fri, 18 May 2018 18:13:06 +0300 Message-ID: <2264361.MLIkrGFxG7@avalon> Organization: Ideas on Board Oy In-Reply-To: <1526654878-11143-4-git-send-email-jacopo+renesas@jmondi.org> References: <1526654878-11143-1-git-send-email-jacopo+renesas@jmondi.org> <1526654878-11143-4-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w4IFCvQV029421 Hi Jacopo, Thank you for the patch. On Friday, 18 May 2018 17:47:58 EEST Jacopo Mondi wrote: > Describe HDMI input connector and ADV7612 HDMI decoder installed on > R-Car Gen3 Draak board. > > The video signal routing to the HDMI decoder to the video input interface > VIN4 is multiplexed with CVBS input path, and enabled/disabled through > on-board switches SW-49, SW-50, SW-51 and SW-52. > > As the default board switches configuration connects CVBS input to VIN4, > leave the HDMI decoder unconnected in DTS. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart > --- > v2 -> v3: > - Add comment on HDMI output port about the shared CVBS/HDMI video path > - Add Niklas' R-b tag > --- > arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 48 +++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 95745fc..1e475a4 > 100644 > --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > @@ -59,6 +59,17 @@ > }; > }; > > + hdmi-in { > + compatible = "hdmi-connector"; > + type = "a"; > + > + port { > + hdmi_con_in: endpoint { > + remote-endpoint = <&adv7612_in>; > + }; > + }; > + }; > + > memory@48000000 { > device_type = "memory"; > /* first 128MB is reserved for secure area. */ > @@ -176,6 +187,43 @@ > }; > }; > }; > + > + hdmi-decoder@4c { > + compatible = "adi,adv7612"; > + reg = <0x4c>; > + default-input = <0>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + adv7612_in: endpoint { > + remote-endpoint = <&hdmi_con_in>; > + }; > + }; > + > + port@2 { > + reg = <2>; > + > + /* > + * The VIN4 video input path is shared between > + * CVBS and HDMI inputs through SW[49-54] > + * switches. > + * > + * CVBS is the default selection, leave HDMI > + * not connected here. > + */ > + adv7612_out: endpoint { > + pclk-sample = <0>; > + hsync-active = <0>; > + vsync-active = <0>; > + }; > + }; > + }; > + }; > }; > > &i2c1 { -- Regards, Laurent Pinchart