Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4117043imm; Mon, 14 May 2018 02:51:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoRYiLKIk9cuEUHTp/rdt0cjmY0gxVp0o+tF+TwSL76Y95hZ2GuL51KmTNeNfsu0dQftXCm X-Received: by 2002:a63:6157:: with SMTP id v84-v6mr7706249pgb.299.1526291471860; Mon, 14 May 2018 02:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526291471; cv=none; d=google.com; s=arc-20160816; b=Efm1CWwwAYo44qpsmr2cBZzArToepDLroRCStKNA/mhRluJ+qNaRZCPxwItPq1dzBK tA1rBztNba7nEuZxj92xkAnMHc2w7lzabMZwElD4BjpQvwIkGwWEq8nkQEgo4V0plxBH QE/wHPMOC1mYh0F/9eus5deBb4BfL2jr9A/vvUdLSexFobjCtJPd1dI9UgeAnpgmbVe8 DmqrEfE8mEfh1u/F5yzqJ+TP4NnCeguIe5Ed8+DmKUPOxnEMHx63S7V8jkvoL5sk+saf BZOKkEiw3F1SfbYK5xWmIL7vBZsWGbOBnLihZkr1MUT/DlelvPvmIwYmFTrDjeEDPcKH gIfA== 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=YtFnG+ZoZWMkyBRjKr7YviaqVbx24FnDKbjF0g8IyVU=; b=j9ULG57nkmlpXhEk6KY9pKS6y/1LpBrYVYZZ4bOyZfM+CzEknFFbNC/Uv6ADtoL63+ YQeXl/4D4wYdDE99PpQGhmx9AKlTuRKJxOmDjW1sF5Kvc/AWaw5pvlxPHBXRKhWE4y8l XOgqcGreAAE3RrQDfTf2UpSqfn/VdbD3OQkoDmn5gFWhGDY0Ghwzfe5nC88jULXl02e5 nSvsNT8pX/6Pi+XWfNcrW1pNhMTjhGHqj5TOK9DxR7vNKP1wZHgk0i8VtLBxdInG2XFA GlaeBRntLe3VPQcYvLvGyfdpQc26+irKa1E3S2najalCIeC/8iwWf+BOT0BhafIOCGP7 ym0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=grpFurFK; 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 c1-v6si3393353pld.103.2018.05.14.02.50.57; Mon, 14 May 2018 02:51:11 -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=grpFurFK; 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 S1752548AbeENJtH (ORCPT + 99 others); Mon, 14 May 2018 05:49:07 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:38306 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076AbeENJtD (ORCPT ); Mon, 14 May 2018 05:49:03 -0400 Received: by mail-lf0-f68.google.com with SMTP id z142-v6so16972523lff.5 for ; Mon, 14 May 2018 02:49:02 -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=YtFnG+ZoZWMkyBRjKr7YviaqVbx24FnDKbjF0g8IyVU=; b=grpFurFK784QKoqIDCEVEKFOkoJ+lXlZBvfl/MfAH4zLR/4sOkiOIxQfka1HTSDJjK v2pl61D4nmKlG9/4/QsnNaQk7uHZBkGRytbTGVxomVAaYmZhOfqGhkrly5Oqp4ptjWPU +IBiPzH+tfb+Z0v248L4UlEruqrKPC4ldf0pU7+RGsWbosuhc/l+PrsXDUOFfP4BTMJA 46OTKv086Mg5DpkMCjhIKaB/tuN9SO3BFOxMKet3uXovb2bL4pOwDf51k/HhP0+OfXD6 6lGNB0jUPjUhz4Sli+g3t6sdX+eUy73F7gP/FMiGHR/nLCO6FwBRNs0emUqprMF2RKxs ELyA== 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=YtFnG+ZoZWMkyBRjKr7YviaqVbx24FnDKbjF0g8IyVU=; b=Ut9RR/HcKYBc99Zcydll26mpWEazs33VDp/+XmJLHAkYKKTglM3D30MWTwDlH2lxRG w2Ynp5uVN/X2NXQ22cJjwsqhQtPvWDZgPbKnYeBvH+8VGewZhB/4mWt9Ofe13B94zKJe HquFZKnIicrSMTwagemoOCtqioZ7/n33m1YwnS/e22ecbZp+oX1vy4ZfYM4+pgqLwiwu tETHkDX3kQOz55IRF11xIK+OuNBNqUUh97EAJxgB5UVboUH9kgLtTmnVUhkvYtE95w5K axtHqiweHalgW0Rn+rF2+PpOjjd6rf/s1DGVFrYoeHJZnqqrQLe8Zz7Xcdan5FSFE/Bw zggg== X-Gm-Message-State: ALKqPwcSPoPzQQITvQUmqKTcWvUTQWIR01shT8Ow+G65sBnECYghAXJt TNqwRxYm3XxNdwH7zhlhdsoubQ== X-Received: by 2002:a19:4f4c:: with SMTP id a12-v6mr7966033lfk.97.1526291341851; Mon, 14 May 2018 02:49:01 -0700 (PDT) Received: from localhost (89-233-230-99.cust.bredband2.com. [89.233.230.99]) by smtp.gmail.com with ESMTPSA id v9-v6sm1503780lfa.30.2018.05.14.02.49.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 May 2018 02:49:00 -0700 (PDT) Date: Mon, 14 May 2018 11:49:00 +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: <20180514094900.GF30519@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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <26780153.JLo9OE30iv@avalon> 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 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. -- Regards, Niklas S?derlund