Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4137341imm; Mon, 14 May 2018 03:11:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqH30b1Rb0DuzXCJHLEhZmNpjw7048s8y8QCWn7AxMFTlY6CgZCbNfDeDyydnzEAbVR984G X-Received: by 2002:a62:e710:: with SMTP id s16-v6mr9793566pfh.227.1526292707360; Mon, 14 May 2018 03:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526292707; cv=none; d=google.com; s=arc-20160816; b=d/d8GPQlGXnP4AghDayqzhGp9B3wJXVenRnH6ONE/jOj/S8CiYJZ4a99bTRzLPOZEM jQw+gYHyiUcs2hx0B3tG2KwlORpyJZURAvuBBm0bfh92AYeL0xp26jJ574xHekN+DjpH TaLM9TbFouV/2WYa+if0FHu2JCZkl/MUG6+h85LH+nYU5nTIz/GEW4gPHeVmXtadCktA Gve9zpGhJy1p6YYJMFmmH/+obhL89FfgPyHFwAXr2oENDwOUX0wsWkb3Ycpnidxl4N6A CYNMhj3TOsR+ESMzxgW0Dz6Ry74vNI01m7bfRgKcJENWu1Mu0vJmYZZ6liMzV/Q+9GUR 19iQ== 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=gifSPrIzF/nwtW0IAt2VyACVDMv7Lr42jzAlGz3iLgQ=; b=amr3liMAmx4Po3PVRrsU8LFpjIyLOUJTe7yY34P7BMynoIaYsaziUaq/hdsVze2MZH fPdklOK/v1Evq1l/RaLmPGeoQm9Zh05QUo6WxNYmlgtDPqbGPQ6PN7tL7ondMATJ37S9 5RUxaGN90BRELivLOanC4y0Woz92xmjs4/Hzef0oM+W9IJIognMMVyxuVXtUcQlZycg+ JL1ZssoTF2KBk73PEbbIL2E1EZU8fFf6mMDx/w1B64xkLWpnBSNuVoSxiLH+liHKxX5m nwqjg79RwZrMCCBOne/kvXmHhCZC7TLi2afiDiC6AdZWkoj0z2qPtU8njwnwFA/N8YzR B4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=qRaqL6lL; 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 f64-v6si9408797pfd.123.2018.05.14.03.11.31; Mon, 14 May 2018 03:11:47 -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=qRaqL6lL; 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 S1752172AbeENKLS (ORCPT + 99 others); Mon, 14 May 2018 06:11:18 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36172 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbeENKLQ (ORCPT ); Mon, 14 May 2018 06:11:16 -0400 Received: by mail-lf0-f67.google.com with SMTP id t129-v6so17074321lff.3 for ; Mon, 14 May 2018 03:11:15 -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=gifSPrIzF/nwtW0IAt2VyACVDMv7Lr42jzAlGz3iLgQ=; b=qRaqL6lL59xD1wIcwEhX/3PPHZZWLhfjF1iVpLdZlcYQFbtaTt6Jbcm5iB8Tya+hL2 kO6fdXAiNoVVwwqXdaut0j/nwoztuwkMc2mWd23KjrY3gdkrkqxz8OL4GyW2B+ZpF6U+ 8FyWVzuKQM1NoewXH+FpxnWKAAX7lkZ5n07nZ4ckmVMBUviLCrItB9fBLH1G5A41u8Hb DUTtYblgQNPQN5xEKT1eeorxvgJCVRnL7PE0aeg2NzSZUmcsUcbv1339fKOV7c66VIXl PNX/Ln7b0ytneu59OB4KaugV693tTgk0JO4GbODOtmr0d2p5pfeRhYVtO1v/wKHjNcEz Fz0w== 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=gifSPrIzF/nwtW0IAt2VyACVDMv7Lr42jzAlGz3iLgQ=; b=h77sWqXWPsZdTdKvhavq0+NKZb45uLgD2fOwwqA88oCXYyYCBIqfsOOcNuLm8//xyY stYW4YQmDB9IYos+Xtv/L6DqX0Gxvdz3BkVbyQTUGZth0biP4nuxuX5DnXEaAClXlAbF r7XdhXtypYR+3DweW6H4ZBkoHVSRaLQkYKpVweVMbUAM2QOgutifehPgVFYjqNIJ7wMI XXVQ/ASTgbQES7567/hOjdhW7YlBoLeLp7/C1XoORJXQqOiUIwNQgHKhEaeQkaaVcEbD iLPZIdIgX/nr24dPuRiZYjp2ImGL4pOObIQ7uUlSg9Q4WwbRADaWKb9gLMicHPn/UCwF pubA== X-Gm-Message-State: ALKqPweMGscxtRT2PLFLXIoyaDWaXDeg/byivvZ8R26ZWQPCQyUGEB+D D6/4Em8lQrYcp68ZtnxyCigmfw== X-Received: by 2002:a2e:7310:: with SMTP id o16-v6mr4124032ljc.29.1526292674986; Mon, 14 May 2018 03:11:14 -0700 (PDT) Received: from localhost (89-233-230-99.cust.bredband2.com. [89.233.230.99]) by smtp.gmail.com with ESMTPSA id r5-v6sm1733023ljr.41.2018.05.14.03.11.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 May 2018 03:11:13 -0700 (PDT) Date: Mon, 14 May 2018 12:11:13 +0200 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: Laurent Pinchart Cc: Jacopo Mondi , 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 3/3] arm64: dts: renesas: draak: Describe HDMI input Message-ID: <20180514101113.GA12488@bigcity.dyn.berto.se> References: <1526032802-14376-1-git-send-email-jacopo+renesas@jmondi.org> <1526032802-14376-4-git-send-email-jacopo+renesas@jmondi.org> <20180513125755.GQ18974@bigcity.dyn.berto.se> <26780153.JLo9OE30iv@avalon> <20180514094900.GF30519@bigcity.dyn.berto.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180514094900.GF30519@bigcity.dyn.berto.se> 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 again, On 2018-05-14 11:49:00 +0200, Niklas S?derlund wrote: > Hi Laurent, > > On 2018-05-14 05:49:41 +0300, Laurent Pinchart wrote: > > [snip] > > > > > +&vin4 { > > > > + pinctrl-0 = <&vin4_pins>; > > > > + pinctrl-names = "default"; > > > > + > > > > + status = "okay"; > > > > + > > > > + ports { > > > > + #address-cells = <1>; > > > > + #size-cells = <0>; > > > > + > > > > + port@0 { > > > > + reg = <0>; > > > > + > > > > + vin4_in: endpoint { > > > > + hsync-active = <0>; > > > > + vsync-active = <0>; > > > > > > Comparing this to the Gen2 bindings some properties are missing, > > > > > > bus-width = <24>; > > > pclk-sample = <1>; > > > data-active = <1>; > > > > > > This is not a big deal as the VIN driver don't use these properties so > > > no functional change should come of this but still a difference. > > > > I think the VIN DT bindings should be updated to explicitly list the endpoint > > properties that are mandatory, optional, or not allowed. > > I think it's documented as it reference video-interfaces.txt which lists > all these properties as optional. And in deed they are all optional. If > the VIN driver makes use of all the optional ones is another matter. How > do we know that the remote subdevice is not looking at its remote > endpoint for bus parameters not considered by the rcar-vin driver? > > The thing is that the rcar-vin driver only looks at the remote endpoint > for these properties and ignores the on its local endpoint. Maybe some > v4l2 framework change is needed here to make sure the bus properties are > the same on both endpoints of a link. But I fear such a change would > break a lot of stuff. Jacopo pointed out this statement is untrue. The rcar-vin only looks at it's local endpoint not the remote endpoint for it's bus parameters. The callback provided to v4l2_async_notifier_parse_fwnode_endpoints() confused me as the subdevice passed to it is the one describe the remote endpoint while the v4l2_fwnode_endpoint argument is that of the local endpoint. Sorry for the confusion and thanks Jacopo for correcting me. -- Regards, Niklas S?derlund