Re: GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

2008-12-21 Thread David Brownell
On Thursday 18 December 2008, Jani Nikula wrote: On Tue, 2008-12-16 at 11:35 +0530, ext Trilok Soni wrote: OK, I found other guys (android ??) using such home brew frameworks. Time to write a switch framework. To start a discussion on what such a GPIO switch framework should be like if

Re: GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

2008-12-19 Thread Trilok Soni
Hi Jani, On Thu, Dec 18, 2008 at 7:10 PM, Jani Nikula ext-jani.1.nik...@nokia.com wrote: On Thu, 2008-12-18 at 18:30 +0530, ext Trilok Soni wrote: Why limit to GPIO based switches only? GPIOs should be client of switch framework I think, and how h/w implements that switch should be hidden by

Re: GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

2008-12-19 Thread Brian Swetland
Definitely worth discussing -- I'm going to be out of the office for two weeks over the holidays, and most of the rest of our team is on vacation as well. I'll pass this on, but I'm not sure if people will have much time to take a look before January. [Trilok Soni soni.tri...@gmail.com] Hi

GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

2008-12-18 Thread Jani Nikula
On Tue, 2008-12-16 at 11:35 +0530, ext Trilok Soni wrote: OK, I found other guys (android ??) using such home brew frameworks. Time to write a switch framework. To start a discussion on what such a GPIO switch framework should be like if someone were to write it, here's a list of the kind of

Re: GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

2008-12-18 Thread Jani Nikula
On Thu, 2008-12-18 at 18:30 +0530, ext Trilok Soni wrote: Why limit to GPIO based switches only? GPIOs should be client of switch framework I think, and how h/w implements that switch should be hidden by client specific driver. You're quite right, it's better not to make such unnecessary