Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760051Ab3FDHXa (ORCPT ); Tue, 4 Jun 2013 03:23:30 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:51160 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759886Ab3FDHXY (ORCPT ); Tue, 4 Jun 2013 03:23:24 -0400 MIME-Version: 1.0 In-Reply-To: <87bo7r10s9.fsf@linaro.org> References: <1369995191-20855-1-git-send-email-gururaja.hebbar@ti.com> <1369995191-20855-12-git-send-email-gururaja.hebbar@ti.com> <87bo7r10s9.fsf@linaro.org> Date: Tue, 4 Jun 2013 09:23:24 +0200 Message-ID: Subject: Re: [PATCH 11/11] i2c: omap: enhance pinctrl support From: Linus Walleij To: Kevin Hilman Cc: Hebbar Gururaja , Grant Likely , Rob Herring , "davinci-linux-open-source@linux.davincidsp.com" , "devicetree-discuss@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , Russell King - ARM Linux , "linux-kernel@vger.kernel.org" , Vaibhav Bedia , sudhakar.raj@ti.com, Tony Lindgren , Wolfram Sang , Linux-OMAP , "linux-i2c@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 923 Lines: 23 On Fri, May 31, 2013 at 8:07 PM, Kevin Hilman wrote: > But that brings up a bigger question about whether or not we should be > doing the rest of this (idle/sleep) pin management in the drivers or in > the driver core as well. I would much prefer it be handled by the > driver core. Yes. See my suggestion in 2/11. > In fact, since these are all PM related events, it should probably be > handled by the PM core and seems pretty straight forward to do so. I can see a clean interface with three simple functions toward for switching between the default, idle and sleep states, but you may see even further... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/