Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4633383imm; Fri, 18 May 2018 08:13:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZohMonSHJnJdXvCzpYE1gV3VVRntyKQmr9uwbmZXlJmACFVUcJgLtpRpKvu52JZezD4gB/y X-Received: by 2002:a62:5959:: with SMTP id n86-v6mr9820272pfb.217.1526656409592; Fri, 18 May 2018 08:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526656409; cv=none; d=google.com; s=arc-20160816; b=zOLK57u9f1QVkV6gFuwV4752erLvhI2H1F+q98TxVS3EKi+62C46I8e0+qUdP3kXkY YrpaHVweW/w7wxJi3IdPK7oYpNODL1NgzUaZM/1B1nfDwTthVpaua62snh+O2weevKmi n9iXdQ5ugDi3ofOLe/9tfVZugUSsxum9sDUqiD6AOah4JA3B35NMAXfBS60CRmnr7wbm 2oRw7E19LDk7/4LW/OVgj0d3BDFj70nsU2XAcLDBYVekogOpfeSThWmMZQn9PhGgXY1/ m4MFNRqQMim7vjO48tQVSl2ndZYsGLa3h51je1d9MZmyD1OyRpZLpT0P1sGR3vveAAPm UT6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=6aVqBikB8IKHzwVm1ACmse1Loli4EiNKxOjqrN6dg+4=; b=VNpF1diLwnADeYTctqBcKyQADZWSiE3+dikdmeyX2EkfW45v15oRANFn0LVtB/J1qV xSJkkZIuWT735Ae1Rvt1n2ftWGwSg1smpReDS1OhfBDQEwTrw9mQOt2eAww4mgYfhb8j TkBewBXCQIfaxra2ffMv2LX6G3qoz53SQvAX9oNgO4Pt6CHK539Pf13N3N03sfiq+Djh JBdfQI0BAYaTbpayPw+cBA/TEmSHYoeNWkesdgalPIL68IEZHFfPwSTPYYVAV0bpdi3S 6otsZORqOAZKbvRZ8Vde7dLrcW21tT/l7KmHJaNd77fBZAEBQ2Ow1HQp8ZU+YLxaskll al1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AgK9mN8c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u123-v6si7221671pfu.322.2018.05.18.08.13.14; Fri, 18 May 2018 08:13:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AgK9mN8c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbeERPL6 (ORCPT + 99 others); Fri, 18 May 2018 11:11:58 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:40730 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbeERPLz (ORCPT ); Fri, 18 May 2018 11:11:55 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 06F281A41; Fri, 18 May 2018 17:11:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1526656313; bh=JhnGNqzUOfjWT5MMRBzlJvvK+Fq4qln7qL8rihHEfaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AgK9mN8cqyMZPcj5HfeR2bfgTDTSGIgpyXw+9GwRWQC+NcJwttm9bqRXHYQ0P4Apl yoHUyKzarWgQmC8u2aMu8mwLvqGY5SmCGE1mwKmA4iywZvWBc/rfiPM1GjPuF3eRHT pr2odJjz9V/LlypmykBm1nFicfx9Ff+bHlUquTFs= 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 2/3] arm64: dts: renesas: draak: Describe CVBS input Date: Fri, 18 May 2018 18:12:15 +0300 Message-ID: <1569661.saMqNra8vc@avalon> Organization: Ideas on Board Oy In-Reply-To: <1526654878-11143-3-git-send-email-jacopo+renesas@jmondi.org> References: <1526654878-11143-1-git-send-email-jacopo+renesas@jmondi.org> <1526654878-11143-3-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, Thank you for the patch. On Friday, 18 May 2018 17:47:57 EEST Jacopo Mondi wrote: > Describe CVBS video input through analog video decoder ADV7180 > connected to video input interface VIN4. >=20 > The video input signal path is shared with HDMI video input, and > selected by on-board switches SW-53 and SW-54 with CVBS input selected > by the default switches configuration. >=20 > Signed-off-by: Jacopo Mondi > Reviewed-by: Niklas S=F6derlund >=20 > --- > v2 -> v3: > - Add comment to describe the shared input video path > - Add my SoB and Niklas' R-b tags > --- > arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 42 ++++++++++++++++++++= +++ > 1 file changed, 42 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 9d73de8..95745fc > 100644 > --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > @@ -142,6 +142,11 @@ > groups =3D "usb0"; > function =3D "usb0"; > }; > + > + vin4_pins_cvbs: vin4 { > + groups =3D "vin4_data8", "vin4_sync", "vin4_clk"; > + function =3D "vin4"; > + }; > }; >=20 > &i2c0 { > @@ -154,6 +159,23 @@ > reg =3D <0x50>; > pagesize =3D <8>; > }; > + > + analog-video@20 { > + compatible =3D "adi,adv7180"; > + reg =3D <0x20>; > + > + port { The adv7180 DT bindings document the output port as 3 or 6 (respectively fo= r=20 the CP and ST versions of the chip). You should thus number the port. Apart= =20 from that the patch looks good. > + /* > + * The VIN4 video input path is shared between > + * CVBS and HDMI inputs through SW[49-54] switches. > + * > + * CVBS is the default selection, link it to VIN4 here. > + */ > + adv7180_out: endpoint { > + remote-endpoint =3D <&vin4_in>; > + }; > + }; > + }; > }; >=20 > &i2c1 { > @@ -246,3 +268,23 @@ > timeout-sec =3D <60>; > status =3D "okay"; > }; > + > +&vin4 { > + pinctrl-0 =3D <&vin4_pins_cvbs>; > + pinctrl-names =3D "default"; > + > + status =3D "okay"; > + > + ports { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + port@0 { > + reg =3D <0>; > + > + vin4_in: endpoint { > + remote-endpoint =3D <&adv7180_out>; > + }; > + }; > + }; > +}; =2D-=20 Regards, Laurent Pinchart