From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices Date: Fri, 13 Sep 2013 14:50:35 +0300 Message-ID: <20130913115035.GB7393@intel.com> References: <1378913560-2752-1-git-send-email-mika.westerberg@linux.intel.com> <1378913560-2752-2-git-send-email-mika.westerberg@linux.intel.com> <87vc25pvvm.fsf@linaro.org> <20130913065434.GZ7393@intel.com> <20130913095950.GA29403@sirena.org.uk> <20130913101611.GA7393@intel.com> <20130913103152.GE29403@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130913103152.GE29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Brown Cc: Kevin Hilman , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Wolfram Sang , "Rafael J. Wysocki" , linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Lv Zheng , Aaron Lu , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Dmitry Torokhov , Mauro Carvalho Chehab , Samuel Ortiz , Lee Jones , Arnd Bergmann , Greg Kroah-Hartman , Liam Girdwood , Kyungmin Park List-Id: linux-i2c@vger.kernel.org On Fri, Sep 13, 2013 at 11:31:52AM +0100, Mark Brown wrote: > On Fri, Sep 13, 2013 at 01:16:11PM +0300, Mika Westerberg wrote: > > On Fri, Sep 13, 2013 at 10:59:50AM +0100, Mark Brown wrote: > > > > Accessing the bus isn't an issue for I2C outside of ACPI, the power > > > management of the device is totally disassociated from the bus and the > > > controller is responsible for ensuring it is available during transfers. > > > Yes, but since we want to support ACPI as well, we must make sure that the > > adapter (and the associated controller) is available when client ->probe() > > is called. > > Right, but this probably needs to be highlighted more since it's a very > surprising thing for I2C and is causing confusion. By highlighted more, do you mean something like adding a comment in the code about this or?