Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp582609imm; Wed, 26 Sep 2018 03:43:26 -0700 (PDT) X-Google-Smtp-Source: ACcGV60POo+ICApVEdndR39TOIW3vul8tXokKY0lHRJLnINVT7Mo5sAXMsZoKWcUJB3JERFAxASF X-Received: by 2002:a63:80c6:: with SMTP id j189-v6mr5221976pgd.40.1537958606548; Wed, 26 Sep 2018 03:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537958606; cv=none; d=google.com; s=arc-20160816; b=VelBrcFH18BTV12/DI5QEkmU8W+d3h19PRIkbE0Cr94HGk6koVeMFKsOJxubX7hyx2 r+AzTnIOX4FyqshZYzrVSlst+Hkmma3jFgQ98wOUE99OXbV/sxI0azx3sg295xSkIE+W UbQ42FJs7D3PBPbJ40tzlZ+tzpp13fXXj3gRf1t+ld6dvisg+TVcbs+czBo9acWwJkp3 78gRnEtDyEHjTXNgmmfFCIW9ZD0WC/hMkS6tbvQx7893CSLkMLqmgvw18QqfJBDO/3Gt V+q8/mxlpgOMgaK+trFCz9r3Ku+zjhhyEHimcqAOY2VlAE638CCXz4+ApFOjV6Rb8Es/ xI6Q== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5tOBtpMUQWVzmqBN/m6oMW7PilPV5QMOynqJq44x6uU=; b=oBpEJiLzk8lA76sYeTyhGVFCdn6CxxAVaCSqP0x3X4iP1HqtKi+LSExFbOhCfiBYH1 x70IGr+x9y/UyXnPgHU0VLLxj2daJHr9mTAvOIqZAnQ+DRqSNiyJanR4JyroTVdI7VZi v4MvyIQ42JRWMUn5B6P5XFQFFCa4DYiaM6ighkTbCKh+Ib7St8r2mAxREtgiOnx3zI92 yyxlvQIj+xH5avAuBcTaQgjOne52fqr6Y4XbpHO5dz0WfflPfORlVQqXs5aTYh8yr4JN eOaLfZ4W6LNlE+ZixOEozMF2Y7x/V6dQtTVA30TnWuqxxn8i64YbhNoVQC/z0DjfL2qo SyAg== ARC-Authentication-Results: i=1; mx.google.com; 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 e1-v6si4718212pgo.325.2018.09.26.03.43.11; Wed, 26 Sep 2018 03:43:26 -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; 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 S1727540AbeIZQx1 (ORCPT + 99 others); Wed, 26 Sep 2018 12:53:27 -0400 Received: from mail.bootlin.com ([62.4.15.54]:41850 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbeIZQx1 (ORCPT ); Wed, 26 Sep 2018 12:53:27 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id A347720901; Wed, 26 Sep 2018 12:41:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (nat-240.udc.es [193.144.61.240]) by mail.bootlin.com (Postfix) with ESMTPSA id 3D968203DA; Wed, 26 Sep 2018 12:40:54 +0200 (CEST) Date: Wed, 26 Sep 2018 12:40:53 +0200 From: Maxime Ripard To: Laurent Pinchart Cc: Yong Deng , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , "\"David S. Miller" , Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , Hans Verkuil , Geert Uytterhoeven , Jacob Chen , Neil Armstrong , Thierry Reding , Philipp Zabel , Todor Tomov , Sakari Ailus , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v11 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI) Message-ID: <20180926104053.ijhmvvsbju36j4d3@flea> References: <1537951204-24672-1-git-send-email-yong.deng@magewell.com> <7197338.mhOH8fQaEM@avalon> <20180926103547.5ubb6xjkl7xngmfg@flea> <1568838.d8CnAYTeDB@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568838.d8CnAYTeDB@avalon> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 01:38:08PM +0300, Laurent Pinchart wrote: > Hi Maxime, > > On Wednesday, 26 September 2018 13:35:47 EEST maxime.ripard@bootlin.com wrote: > > On Wed, Sep 26, 2018 at 01:19:34PM +0300, Laurent Pinchart wrote: > > > > +Endpoint node properties for CSI1 > > > > +--------------------------------- > > > > > > Should you list the CSI0 properties as well ? As the driver in patch 2/2 > > > doesn't support the CSI-2 interface I assume you have left out CSI0 for > > > now, but it should still be listed in the bindings. I'm fine with fixing > > > this as a follow-up patch to avoid missing the v4.20 merge window, but if > > > you end up resubmitting the series, could you please address the problem > > > ? > > > > That driver is not available, and the documentation isn't either, so > > there's no easy way to tell which properties are going to be needed > > before doing the actual work of reverse engineering it and writing a > > driver for it. Unfortunately... > > While DT bindings should be independent from driver implementations, I agree > it's difficult to develop good bindings without hardware documentation and > without at least one working driver implementation. > > How about just explicitly stating that these bindings don't support CSI0 yet ? Yep, that would work -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com