Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2576701imm; Wed, 16 May 2018 15:29:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp7lKeWULqkVAV5sjNLLUgx9xUYQS8Khz8Mx1lfRHUHRQMKxv8mZUpycuGRkvoQxfHycCRw X-Received: by 2002:a65:4805:: with SMTP id h5-v6mr2149036pgs.96.1526509763507; Wed, 16 May 2018 15:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526509763; cv=none; d=google.com; s=arc-20160816; b=JYdjSXpe4uRH9kMHBfTwdiAdnI6xFA5vN3qslGEOlr2aUd5AsxppPoHFxlEX4ByzId Y69XbAOoTgbEmbwfkBc166ReBeC9uE2PgEdAdj7BRp9i+gsWCckRxacG6nbQbvVAT3ml dIZ8YIXm4Wfm1XcFSBWx8HKomnfalLGCsuCjQNvMQ5QzcgMa7OaY/73dfxvR0prIrrrw Dl+2moZd1d2ZOQHhcegEHXroytsKPa35WZesznErUXp2u5zbd3XJav8febA/xylReVPc EVQOjmp7XkFyCJ8UwtaWGwXmCHpOuB8pD1d60xQ0snrdxoz2EDkHRRRnv3b8esHYlyEh wI6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=ye18OK16wp0gLOSUyd4dFH3gW+KbYoTQnEFeyRFD6tI=; b=q5YHOJ98C+PjtefFqKvSQQFcVDOsaCoZn3ZWaeMwyk8xYQrb8CcNJpOTC3Sw1VLOtm 9mKqY7joc4gzExpGcg1eGiAHTSEI5wFHfXcrzuRINNSPSjvdd0rJljQltwdXulohlP5S SCVO1bOEsgRZBsGp+Ek0kG22OPIXcOVAzPQPq9+E6qXVOncqpXyrsxEugc9nCoGhH1VP ElsHBndp2jCM0w8CPruS6ndNMbCb6fmZQliEx7Ghq9TTusnadVJ7SL/YYSdpMFQa2QeQ Cq9KkzoiqTtSkHLGOQhjlw9MMLv06tNuGqIacT/pj9u1zVLVX7m5d0CwoOXizTI5F2Uu yLVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=R2pxw8mt; 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 a8-v6si2817484pgt.289.2018.05.16.15.28.38; Wed, 16 May 2018 15:29:23 -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 header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=R2pxw8mt; 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 S1751868AbeEPWXW (ORCPT + 99 others); Wed, 16 May 2018 18:23:22 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:38974 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751254AbeEPWXU (ORCPT ); Wed, 16 May 2018 18:23:20 -0400 Received: by mail-lf0-f68.google.com with SMTP id j193-v6so5763483lfg.6 for ; Wed, 16 May 2018 15:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ye18OK16wp0gLOSUyd4dFH3gW+KbYoTQnEFeyRFD6tI=; b=R2pxw8mtPbtgjMCcXnoxGA9YdivOH3YoVaD8tdK7Lnw8OuYAhnTG+x5Cd/9OknsQqn pLdaIpIHA3Kpgz6crgqWSmsqfPYcjvjf9OGUKjqmsOYwC/AL4ZryzJffPy90qmofvOnQ sAeGVF73l2zEbbot28duy5QauG6ib+24jX+kA4ns67m6AlNkBV1YOUXTZEh0V4+h73Rk y1pfKiCRVSN7S9VjiayqOnTcReCWO8BEI+AmQpZptdUYyjjr460rfya0J+pBRInVs1sk FIPd2jNJ+Cql00FWZAdxMscHRIyXH1wFOrlnmbXYEO4C6IIWgkO8ndhWL83Af3u3ECjn sjCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ye18OK16wp0gLOSUyd4dFH3gW+KbYoTQnEFeyRFD6tI=; b=lb1gG+1QWiyGuMcLcWb0gcWJx+hEEKkyZlVOBvgI/luuzk++kIJIavF0uQ7sA/slnM fMDullDGTS5ZP6w4P/ZbiXM78AK6ylFn86z//N30rOe4hN2p/fRlISYHC5XijqHIMHbK F47O55NrZ7ZsITQHO039KY8R+DZpjvGRxo3FuqfGL6i4tnFC5SQ4O95JAJz9BLfWkkc4 8zrWDC9okZ4Gx//tDOS7xdCB2hm7CrCKO+ngIz2ecg3PF7uz0sOvJv27hSZFd4ydITi5 XjpDfX5vfiZciwQ9jfDBxZTAqvScsiRI94h/mqL4CQVzXDN+Dnam2jMkMYx0eHFkkOqW 9+hA== X-Gm-Message-State: ALKqPwf20CA+B7uu7JUKwTrCAsF7Y3j4cCRG9ulJdCDGqr0bLf6pBgaZ owm1rXh0jxmQT0dRmYrnwXjXtw== X-Received: by 2002:a2e:9706:: with SMTP id r6-v6mr1527543lji.5.1526509399584; Wed, 16 May 2018 15:23:19 -0700 (PDT) Received: from localhost (89-233-230-99.cust.bredband2.com. [89.233.230.99]) by smtp.gmail.com with ESMTPSA id z24-v6sm848286lfg.56.2018.05.16.15.23.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 15:23:18 -0700 (PDT) Date: Thu, 17 May 2018 00:23:18 +0200 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: Jacopo Mondi Cc: laurent.pinchart@ideasonboard.com, 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 v2 3/3] arm64: dts: renesas: draak: Describe HDMI input Message-ID: <20180516222318.GI17948@bigcity.dyn.berto.se> References: <1526478129-16465-1-git-send-email-jacopo+renesas@jmondi.org> <1526478129-16465-4-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1526478129-16465-4-git-send-email-jacopo+renesas@jmondi.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, Thanks for your patch. On 2018-05-16 15:42:09 +0200, 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 I'm not sure we have a policy about describing hardware which can't be used without flipping switches. I have no opinion on if we should do that or not I leave that to others, but for the change itself. Reviewed-by: Niklas S?derlund I think it's good we describe it as it's part of the Draak board itself and not an expansion board which we have seen a lot of :-) Maybe even add a commented out line in the adv7612 port@2 which hints which VIN this is connected to if the switches are flipped? > --- > arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 38 ++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts > index 9aba28f..ea99dc9 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. */ > @@ -170,6 +181,33 @@ > }; > }; > }; > + > + 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>; > + adv7612_out: endpoint { > + pclk-sample = <0>; > + hsync-active = <0>; > + vsync-active = <0>; > + }; > + }; > + }; > + }; > }; > > &i2c1 { > -- > 2.7.4 > -- Regards, Niklas S?derlund