Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-03-07 Thread Linus Walleij
On Wed, Feb 25, 2015 at 7:25 PM, David Cohen wrote: > In my case [1] I need 2 "virtual devices" (and more in future) to be > part of an USB OTG port control. I call it virtual because they are too > simple components connected to no bus and controlled by GPIOs: > - a fixed regulator controlled

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-03-07 Thread Linus Walleij
On Wed, Feb 25, 2015 at 7:25 PM, David Cohen david.a.co...@linux.intel.com wrote: In my case [1] I need 2 virtual devices (and more in future) to be part of an USB OTG port control. I call it virtual because they are too simple components connected to no bus and controlled by GPIOs: - a fixed

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-25 Thread David Cohen
On Wed, Feb 25, 2015 at 10:34:45AM +0900, Alexandre Courbot wrote: > On Wed, Feb 25, 2015 at 5:34 AM, David Cohen > wrote: > > Hi, > > > >> If we decide to go ahead with the solution proposed by this patch for > >> practical reasons (which are good reasons indeed), I still have one > >> problem

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-25 Thread David Cohen
On Wed, Feb 25, 2015 at 10:34:45AM +0900, Alexandre Courbot wrote: On Wed, Feb 25, 2015 at 5:34 AM, David Cohen david.a.co...@linux.intel.com wrote: Hi, If we decide to go ahead with the solution proposed by this patch for practical reasons (which are good reasons indeed), I still have

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-24 Thread Alexandre Courbot
On Wed, Feb 25, 2015 at 5:34 AM, David Cohen wrote: > Hi, > >> If we decide to go ahead with the solution proposed by this patch for >> practical reasons (which are good reasons indeed), I still have one >> problem with its current form. >> >> As the discussion highlighted, this is an ACPI

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-24 Thread David Cohen
Hi, > If we decide to go ahead with the solution proposed by this patch for > practical reasons (which are good reasons indeed), I still have one > problem with its current form. > > As the discussion highlighted, this is an ACPI problem, so I'd very > much like it to be confined to the ACPI

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-24 Thread David Cohen
Hi, If we decide to go ahead with the solution proposed by this patch for practical reasons (which are good reasons indeed), I still have one problem with its current form. As the discussion highlighted, this is an ACPI problem, so I'd very much like it to be confined to the ACPI GPIO

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-24 Thread Alexandre Courbot
On Wed, Feb 25, 2015 at 5:34 AM, David Cohen david.a.co...@linux.intel.com wrote: Hi, If we decide to go ahead with the solution proposed by this patch for practical reasons (which are good reasons indeed), I still have one problem with its current form. As the discussion highlighted, this

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-12 Thread Heikki Krogerus
On Tue, Feb 10, 2015 at 04:10:04PM +0100, Rafael J. Wysocki wrote: > On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: > > On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus > > wrote: > > > Hi guys, > > > > > > On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: > >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-12 Thread Heikki Krogerus
On Tue, Feb 10, 2015 at 06:44:34PM +0900, Alexandre Courbot wrote: > On Wed, Feb 4, 2015 at 11:11 PM, Heikki Krogerus > wrote: > > On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: > >> On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki > >> wrote: > >> > On Friday, January 30,

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-12 Thread Heikki Krogerus
On Tue, Feb 10, 2015 at 06:44:34PM +0900, Alexandre Courbot wrote: On Wed, Feb 4, 2015 at 11:11 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki r...@rjwysocki.net

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-12 Thread Heikki Krogerus
On Tue, Feb 10, 2015 at 04:10:04PM +0100, Rafael J. Wysocki wrote: On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J.

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: > On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus > wrote: > > Hi guys, > > > > On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: > >> On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: > >> > If

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Alexandre Courbot
On Wed, Feb 4, 2015 at 11:11 PM, Heikki Krogerus wrote: > On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: >> On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki >> wrote: >> > On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: >> >> >> So you could detect one by making a

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Alexandre Courbot
On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus wrote: > Hi guys, > > On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: >> On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: >> > If we decide to go ahead with the solution proposed by this patch for >> > practical

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: On Thursday, January 22, 2015 11:57:55 AM Alexandre

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Alexandre Courbot
On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: If we decide to go ahead with the solution proposed by this

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Alexandre Courbot
On Wed, Feb 4, 2015 at 11:11 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote:

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-04 Thread Heikki Krogerus
On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: > On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki wrote: > > On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: > > >> So you could detect one by making a checksum of the binary or something. > >> > >> And then you'd

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-04 Thread Linus Walleij
On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki wrote: > On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: >> So you could detect one by making a checksum of the binary or something. >> >> And then you'd know that the table with this checksum needs patching? > > At a single table

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-04 Thread Linus Walleij
On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: So you could detect one by making a checksum of the binary or something. And then you'd know that the table with this checksum needs patching? At a

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-04 Thread Heikki Krogerus
On Wed, Feb 04, 2015 at 10:51:27AM +0100, Linus Walleij wrote: On Fri, Jan 30, 2015 at 5:17 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: So you could detect one by making a checksum of the binary or something. And then

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-30 Thread Rafael J. Wysocki
On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: > On Thu, Jan 22, 2015 at 5:12 PM, Rafael J. Wysocki wrote: > > On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: > > >> If the kernel anyway has to supply some kind of workaround for > >> the issue, it is more a question

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-30 Thread Linus Walleij
On Thu, Jan 22, 2015 at 5:12 PM, Rafael J. Wysocki wrote: > On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: >> If the kernel anyway has to supply some kind of workaround for >> the issue, it is more a question of where to place it. Whether it does >> so by patching the ACPI tables

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-30 Thread Rafael J. Wysocki
On Friday, January 30, 2015 03:48:30 PM Linus Walleij wrote: On Thu, Jan 22, 2015 at 5:12 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: If the kernel anyway has to supply some kind of workaround for the issue, it is more a

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-30 Thread Linus Walleij
On Thu, Jan 22, 2015 at 5:12 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: If the kernel anyway has to supply some kind of workaround for the issue, it is more a question of where to place it. Whether it does so by patching the

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-26 Thread Heikki Krogerus
On Fri, Jan 23, 2015 at 04:14:13PM +0100, Rafael J. Wysocki wrote: > > That actually makes me think that we could then drop the lookup tables > > completely and use device properties instead with the help of "generic > > property" (attached): > > Which reminds me that I've lost track of this one.

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-26 Thread Heikki Krogerus
On Fri, Jan 23, 2015 at 04:14:13PM +0100, Rafael J. Wysocki wrote: That actually makes me think that we could then drop the lookup tables completely and use device properties instead with the help of generic property (attached): Which reminds me that I've lost track of this one. Can

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-23 Thread Rafael J. Wysocki
On Friday, January 23, 2015 01:21:22 PM Heikki Krogerus wrote: > > --Nq2Wo0NMKNjxTN9z > Content-Type: text/plain; charset=iso-8859-1 > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > > Hi guys, > > On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: > > On

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-23 Thread Heikki Krogerus
Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: > On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: > > If we decide to go ahead with the solution proposed by this patch for > > practical reasons (which are good reasons indeed), I still have one > >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-23 Thread Heikki Krogerus
Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: If we decide to go ahead with the solution proposed by this patch for practical reasons (which are good reasons indeed), I still have one problem

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-23 Thread Rafael J. Wysocki
On Friday, January 23, 2015 01:21:22 PM Heikki Krogerus wrote: --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: On Thursday, January

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Rafael J. Wysocki
On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: > On Wed, Jan 21, 2015 at 6:25 AM, Rafael J. Wysocki wrote: > > On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: > >> On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot > >> wrote: > >> > >> > I am not really fond

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Rafael J. Wysocki
On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: > On Tue, Jan 20, 2015 at 10:25 PM, Rafael J. Wysocki > wrote: > > > Yes, it can (in principle). In fact, we have a plan to refine it, but it is > > going to take some time. Once we've done that, we'll see how painful it is > >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Linus Walleij
On Tue, Jan 20, 2015 at 10:25 PM, Rafael J. Wysocki wrote: > Yes, it can (in principle). In fact, we have a plan to refine it, but it is > going to take some time. Once we've done that, we'll see how painful it is to > "patch" ACPI tables this way in practice. > > Also there is an ecosystem

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Linus Walleij
On Tue, Jan 20, 2015 at 10:25 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: Yes, it can (in principle). In fact, we have a plan to refine it, but it is going to take some time. Once we've done that, we'll see how painful it is to patch ACPI tables this way in practice. Also there is an

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Rafael J. Wysocki
On Thursday, January 22, 2015 11:57:55 AM Alexandre Courbot wrote: On Wed, Jan 21, 2015 at 6:25 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot gnu...@gmail.com wrote: I am

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-22 Thread Rafael J. Wysocki
On Thursday, January 22, 2015 09:17:38 AM Linus Walleij wrote: On Tue, Jan 20, 2015 at 10:25 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: Yes, it can (in principle). In fact, we have a plan to refine it, but it is going to take some time. Once we've done that, we'll see how painful

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-21 Thread Alexandre Courbot
On Wed, Jan 21, 2015 at 6:25 AM, Rafael J. Wysocki wrote: > On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: >> On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot wrote: >> >> > I am not really fond of this idea since it adds complexity to the >> > (already too complex) GPIO lookup,

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-21 Thread Alexandre Courbot
On Wed, Jan 21, 2015 at 6:25 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot gnu...@gmail.com wrote: I am not really fond of this idea since it adds complexity to the (already

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-20 Thread Rafael J. Wysocki
On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: > On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot wrote: > > > I am not really fond of this idea since it adds complexity to the > > (already too complex) GPIO lookup, and only solves to a local level > > (GPIO) what is a more

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-20 Thread Linus Walleij
On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot wrote: > I am not really fond of this idea since it adds complexity to the > (already too complex) GPIO lookup, and only solves to a local level > (GPIO) what is a more global problem (bad ACPI tables that can affect > any subsystem). (...) > it

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-20 Thread Linus Walleij
On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot gnu...@gmail.com wrote: I am not really fond of this idea since it adds complexity to the (already too complex) GPIO lookup, and only solves to a local level (GPIO) what is a more global problem (bad ACPI tables that can affect any

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-20 Thread Rafael J. Wysocki
On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot gnu...@gmail.com wrote: I am not really fond of this idea since it adds complexity to the (already too complex) GPIO lookup, and only solves to a local level (GPIO) what is a

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-19 Thread Heikki Krogerus
On Mon, Jan 19, 2015 at 02:59:54PM +0900, Alexandre Courbot wrote: > I am not really fond of this idea since it adds complexity to the > (already too complex) GPIO lookup, and only solves to a local level > (GPIO) what is a more global problem (bad ACPI tables that can affect > any subsystem). >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-19 Thread Heikki Krogerus
On Mon, Jan 19, 2015 at 02:59:54PM +0900, Alexandre Courbot wrote: I am not really fond of this idea since it adds complexity to the (already too complex) GPIO lookup, and only solves to a local level (GPIO) what is a more global problem (bad ACPI tables that can affect any subsystem). Also

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 14, 2015 at 9:58 PM, Linus Walleij wrote: > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > wrote: > >> This makes it possible to assign GPIOs at runtime. The >> motivation for it is because of need to forward GPIOs from >> one device to an other. That feature may be useful for >>

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 14, 2015 at 9:58 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Heikki Krogerus
On Thu, Jan 15, 2015 at 10:28:03AM +0100, Rafael J. Wysocki wrote: > On Wednesday, January 14, 2015 08:32:12 AM Darren Hart wrote: > > > > On 1/14/15 4:58 AM, Linus Walleij wrote: > > > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > > > wrote: > > > > > >> This makes it possible to assign

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Rafael J. Wysocki
On Wednesday, January 14, 2015 08:32:12 AM Darren Hart wrote: > > On 1/14/15 4:58 AM, Linus Walleij wrote: > > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > > wrote: > > > >> This makes it possible to assign GPIOs at runtime. The > >> motivation for it is because of need to forward GPIOs

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:25:10 AM Heikki Krogerus wrote: > On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote: > > This makes it possible to assign GPIOs at runtime. The > > motivation for it is because of need to forward GPIOs from > > one device to an other. That feature may

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Heikki Krogerus
On Thu, Jan 15, 2015 at 10:28:03AM +0100, Rafael J. Wysocki wrote: On Wednesday, January 14, 2015 08:32:12 AM Darren Hart wrote: On 1/14/15 4:58 AM, Linus Walleij wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:25:10 AM Heikki Krogerus wrote: On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-15 Thread Rafael J. Wysocki
On Wednesday, January 14, 2015 08:32:12 AM Darren Hart wrote: On 1/14/15 4:58 AM, Linus Walleij wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
On 1/14/15 4:58 AM, Linus Walleij wrote: > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > wrote: > >> This makes it possible to assign GPIOs at runtime. The >> motivation for it is because of need to forward GPIOs from >> one device to an other. That feature may be useful for >> example

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
Ugh, Samuel actually Cc'd this time... On 1/14/15 4:58 AM, Linus Walleij wrote: > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > wrote: > >> This makes it possible to assign GPIOs at runtime. The >> motivation for it is because of need to forward GPIOs from >> one device to an other. That

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Linus Walleij
On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus wrote: > This makes it possible to assign GPIOs at runtime. The > motivation for it is because of need to forward GPIOs from > one device to an other. That feature may be useful for > example with some mfd devices, but initially it is needed >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
On 1/14/15 4:58 AM, Linus Walleij wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
Ugh, Samuel actually Cc'd this time... On 1/14/15 4:58 AM, Linus Walleij wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Linus Walleij
On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be useful for example with some mfd devices, but

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-08 Thread Heikki Krogerus
On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote: > This makes it possible to assign GPIOs at runtime. The > motivation for it is because of need to forward GPIOs from > one device to an other. That feature may be useful for > example with some mfd devices, but initially it is

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-08 Thread Heikki Krogerus
On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be useful for example with some mfd devices, but initially it is needed

[RFC PATCH] gpio: support for GPIO forwarding

2014-12-18 Thread Heikki Krogerus
This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be useful for example with some mfd devices, but initially it is needed because on some Intel Braswell based ACPI platforms the GPIO resources

[RFC PATCH] gpio: support for GPIO forwarding

2014-12-18 Thread Heikki Krogerus
This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be useful for example with some mfd devices, but initially it is needed because on some Intel Braswell based ACPI platforms the GPIO resources