From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH 2/2] i2c: designware: Add support for AMD I2C controller Date: Mon, 22 Sep 2014 17:23:13 +0300 Message-ID: <20140922142313.GD1786@lahna.fi.intel.com> References: <1411032367-20274-1-git-send-email-mika.westerberg@linux.intel.com> <1411032367-20274-2-git-send-email-mika.westerberg@linux.intel.com> <20140920093633.GG1612@katana> <20140922091207.GJ1786@lahna.fi.intel.com> <20140922122905.GA13321@ab42.lan> <20140922140020.GB1786@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Vineet Gupta Cc: Christian Ruppert , Wolfram Sang , Carl Peng , Huang Rui , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-i2c@vger.kernel.org On Mon, Sep 22, 2014 at 02:16:25PM +0000, Vineet Gupta wrote: > On Monday 22 September 2014 07:30 PM, Mika Westerberg wrote: > >>> COMMON_CLK is not selected by the ARC architecture in general. However, > >>> > > we do select COMMON_CLK in the TB10x platform which uses the designware > >>> > > I2C driver so this new dependency is no problem for us. > >>> > > > >>> > > Vineet, > >>> > > > >>> > > Do you see any issues with this on other existing ARC platforms, e.g. > >>> > > arcfpga? > >> > > >> > So what needs to be done, COMMON_CLK needs to be defined in arch/arc/Kconfig ? And > >> > if so why ? > > Without COMMON_CLK, you are not able to select I2C_DESIGNWARE_PLATFORM > > anymore. So if something on ARC depends on this driver then we either > > need the COMMON_CLK there or figure out alternative way to fix Carl's > > problem. > > I have not seen the orig patch, but it seems COMMON_CLK is already being selected > by TB10x, do we still need it in arch/arcKconfig, for all ARC platforms ? Only if the driver is being used by something else than TB10x on ARC. So that we don't cause regressions to existing users.