[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131219164737.GA4536@saruman.home>
Date: Thu, 19 Dec 2013 10:47:37 -0600
From: Felipe Balbi <balbi@...com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Boris BREZILLON <b.brezillon@...rkiz.com>,
Rob Landley <rob@...dley.net>,
Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
Jiri Prchal <jiri.prchal@...ignal.cz>,
Ben Gamari <bgamari.foss@...il.com>,
Mark Rutland <mark.rutland@....com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-gpio@...r.kernel.org>, <devicetree@...r.kernel.org>
Subject: Re: [RFC PATCH] gpio: add GPIO hogging mechanism
On Thu, Dec 19, 2013 at 08:41:09AM -0800, Greg Kroah-Hartman wrote:
> On Thu, Dec 19, 2013 at 03:34:31PM +0100, Boris BREZILLON wrote:
> > GPIO hogging is a way to request and configure specific GPIO without
> > explicitly requesting it in the device driver.
> >
> > The request and configuration procedure is handled in the core device
> > driver code before the driver probe function is called.
> >
> > It allows specific GPIOs to be configured without any driver specific code.
> >
> > Particularly usefull when a external device is connected to a bus and the
> > bus connections depends on an external switch controlled by a GPIO pin.
for external switches, you probably need a pinctrl-gpio driver.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists