From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@linaro.org (Kevin Hilman) Date: Wed, 05 Jun 2013 08:57:40 -0700 Subject: [PATCH 1/3] drivers: pinctrl sleep and idle states in the core In-Reply-To: <1370439873-30053-1-git-send-email-linus.walleij@stericsson.com> (Linus Walleij's message of "Wed, 5 Jun 2013 15:44:31 +0200") References: <1370439873-30053-1-git-send-email-linus.walleij@stericsson.com> Message-ID: <8761xszh1n.fsf@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Linus Walleij writes: > From: Linus Walleij > > If a device have sleep and idle states in addition to the > default state, look up these in the core and stash them in > the pinctrl state container. > > Add accessor functions for pinctrl consumers to put the pins > into "default", "sleep" and "idle" states passing nothing but > the struct device * affected. > > Solution suggested by Kevin Hilman, Mark Brown and Dmitry > Torokhov in response to a patch series from Hebbar > Gururaja. > > Cc: Hebbar Gururaja > Cc: Mark Brown > Cc: Dmitry Torokhov > Cc: Kevin Hilman > Cc: Greg Kroah-Hartman > Cc: Stephen Warren > Cc: Wolfram Sang > Signed-off-by: Linus Walleij > --- > I'm seeking Gregs ACK on this in the end, so we can take this > in through the pinctrl tree. But first let's review! Reviewed-by: Kevin Hilman From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756788Ab3FEP5p (ORCPT ); Wed, 5 Jun 2013 11:57:45 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:60860 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756648Ab3FEP5o (ORCPT ); Wed, 5 Jun 2013 11:57:44 -0400 From: Kevin Hilman To: Linus Walleij Cc: Greg Kroah-Hartman , Stephen Warren , , , Linus Walleij , Hebbar Gururaja , Mark Brown , Dmitry Torokhov , Stephen Warren , Wolfram Sang Subject: Re: [PATCH 1/3] drivers: pinctrl sleep and idle states in the core References: <1370439873-30053-1-git-send-email-linus.walleij@stericsson.com> Date: Wed, 05 Jun 2013 08:57:40 -0700 In-Reply-To: <1370439873-30053-1-git-send-email-linus.walleij@stericsson.com> (Linus Walleij's message of "Wed, 5 Jun 2013 15:44:31 +0200") Message-ID: <8761xszh1n.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Walleij writes: > From: Linus Walleij > > If a device have sleep and idle states in addition to the > default state, look up these in the core and stash them in > the pinctrl state container. > > Add accessor functions for pinctrl consumers to put the pins > into "default", "sleep" and "idle" states passing nothing but > the struct device * affected. > > Solution suggested by Kevin Hilman, Mark Brown and Dmitry > Torokhov in response to a patch series from Hebbar > Gururaja. > > Cc: Hebbar Gururaja > Cc: Mark Brown > Cc: Dmitry Torokhov > Cc: Kevin Hilman > Cc: Greg Kroah-Hartman > Cc: Stephen Warren > Cc: Wolfram Sang > Signed-off-by: Linus Walleij > --- > I'm seeking Gregs ACK on this in the end, so we can take this > in through the pinctrl tree. But first let's review! Reviewed-by: Kevin Hilman