Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758437AbdLRJnp (ORCPT ); Mon, 18 Dec 2017 04:43:45 -0500 Received: from out20-13.mail.aliyun.com ([115.124.20.13]:50048 "EHLO out20-13.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758336AbdLRJnc (ORCPT ); Mon, 18 Dec 2017 04:43:32 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08866141|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03300;MF=yong.deng@magewell.com;NM=1;PH=DS;RN=25;RT=25;SR=0;TI=SMTPD_---.9loAdWe_1513590189; Date: Mon, 18 Dec 2017 17:43:09 +0800 From: Yong To: Maxime Ripard Cc: wens@csie.org, Mauro Carvalho Chehab , Rob Herring , Mark Rutland , "David S. Miller" , Greg Kroah-Hartman , Hans Verkuil , Randy Dunlap , Benoit Parrot , Stanimir Varbanov , Arnd Bergmann , Hugues Fruchet , Philipp Zabel , Benjamin Gaignard , Ramesh Shanmugasundaram , Yannick Fertre , Sakari Ailus , Rick Chang , Linux Media Mailing List , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi , =?UTF-8?B?T25kxZllag==?= Jirman Subject: Re: [linux-sunxi] [PATCH v3 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI) Message-Id: <20171218174309.9170c971c5acac0d14dd782d@magewell.com> In-Reply-To: <20171218092437.ksczam5h7hirmpcv@flea.lan> References: <1510558344-45402-1-git-send-email-yong.deng@magewell.com> <20171218164921.227b82349c778283f5e5eba8@magewell.com> <20171218092437.ksczam5h7hirmpcv@flea.lan> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 36 Hi, On Mon, 18 Dec 2017 10:24:37 +0100 Maxime Ripard wrote: > Hi, > > On Mon, Dec 18, 2017 at 04:49:21PM +0800, Yong wrote: > > > > + compatible = "allwinner,sun8i-v3s-csi"; > > > > + reg = <0x01cb4000 0x1000>; > > > > + interrupts = ; > > > > + clocks = <&ccu CLK_BUS_CSI>, > > > > + <&ccu CLK_CSI1_SCLK>, > > > > > > CSI also has an MCLK. Do you need that one? > > > > MCLK is not needed if the front end is not a sensor (like adv7611). > > I will add it as an option. > > I guess this should always be needed then. And the driver will make > the decision to enable it or not. But how the driver to know if it should be enabled? I think MCLK should be added in DT just if the subdev need it. > > Maxime > > -- > Maxime Ripard, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com Thanks, Yong