LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* GPIO device class driver
@ 2007-02-20 16:40 NZG
0 siblings, 0 replies; 7+ messages in thread
From: NZG @ 2007-02-20 16:40 UTC (permalink / raw)
To: Linux kernel mailing list
I am currently developing support for an ep9xx based SBC and want to export
it's GPIO through sysfs in a simple and standard way,
without adding yet another platform specific gpio driver to the kernel.
As I understand it, a gpio class has already been begun by Robert Schwebel in
but has not as of yet become part of the mainstream kernel.
Searching the archives for this yields no results since 2006.
Can anyone point me to a current patch?
I'd like to start from there.
thank you,
NZG
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GPIO device class driver
2006-02-01 7:06 ` Robert Schwebel
2006-02-01 8:43 ` Ivan Korzakow
@ 2006-02-02 17:22 ` Kumar Gala
1 sibling, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2006-02-02 17:22 UTC (permalink / raw)
To: Robert Schwebel; +Cc: Ivan Korzakow, linux-kernel
On Wed, 1 Feb 2006, Robert Schwebel wrote:
> On Wed, Feb 01, 2006 at 01:00:27AM -0600, Kumar Gala wrote:
> > Any further progress on this. I'm looking at the GPIO's on an
> > embedded PowerPC and would prefer to produce a driver towards a
> > standard kernel interface. I'm also happy to help on the standard
> > interface if it needs some work.
>
> Sorry, no progress so far on our side.
Is there a list of things to do?
- kumar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GPIO device class driver
2006-02-01 7:06 ` Robert Schwebel
@ 2006-02-01 8:43 ` Ivan Korzakow
2006-02-02 17:22 ` Kumar Gala
1 sibling, 0 replies; 7+ messages in thread
From: Ivan Korzakow @ 2006-02-01 8:43 UTC (permalink / raw)
To: Robert Schwebel; +Cc: Kumar Gala, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
2006/2/1, Robert Schwebel <robert@schwebel.de>:
> On Wed, Feb 01, 2006 at 01:00:27AM -0600, Kumar Gala wrote:
> > Any further progress on this. I'm looking at the GPIO's on an
> > embedded PowerPC and would prefer to produce a driver towards a
> > standard kernel interface. I'm also happy to help on the standard
> > interface if it needs some work.
>
> Sorry, no progress so far on our side.
>
Hi,
I worked on a GPIO driver, starting from the work of Robert Schwebel.
I wrote something that suited my needs, but I kept in mind the idea of
a generic layer. It's worth what it's worth, but i'm sending it in
case it might help someone.
Basically I nearly didn't touch the sysfs part of Robert's driver. I
added the possibility to register a block of GPIO pins, and to handle
interrupts. The platform specific layer registers itself with this
generic layer and passes all the required platform dependant functions
and parameters through a struct.
Attached is the generic layer gpio.c and I moved the header in
include/linux/gpio.h
Feel free to comment, criticize, reject :-)
Ivan
[-- Attachment #2: gpio.tgz --]
[-- Type: application/x-gzip, Size: 5882 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GPIO device class driver
2006-02-01 7:00 ` Kumar Gala
@ 2006-02-01 7:06 ` Robert Schwebel
2006-02-01 8:43 ` Ivan Korzakow
2006-02-02 17:22 ` Kumar Gala
0 siblings, 2 replies; 7+ messages in thread
From: Robert Schwebel @ 2006-02-01 7:06 UTC (permalink / raw)
To: Kumar Gala; +Cc: Ivan Korzakow, linux-kernel
On Wed, Feb 01, 2006 at 01:00:27AM -0600, Kumar Gala wrote:
> Any further progress on this. I'm looking at the GPIO's on an
> embedded PowerPC and would prefer to produce a driver towards a
> standard kernel interface. I'm also happy to help on the standard
> interface if it needs some work.
Sorry, no progress so far on our side.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GPIO device class driver
2005-12-21 11:50 ` Robert Schwebel
@ 2006-02-01 7:00 ` Kumar Gala
2006-02-01 7:06 ` Robert Schwebel
0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2006-02-01 7:00 UTC (permalink / raw)
To: Robert Schwebel; +Cc: Ivan Korzakow, linux-kernel
On Dec 21, 2005, at 5:50 AM, Robert Schwebel wrote:
> Ivan,
>
> On Wed, Dec 21, 2005 at 12:07:27PM +0100, Ivan Korzakow wrote:
>> I read about a generic device class driver (http://
>> marc.theaimsgroup.com/?l=
>> linux-kernel&m=109419719600753&w=2) for GPIO. I wanted to know if
>> anything
>> generic finally came out of the dicussion ?
>> I'm willing to write a gpio driver and I am considering taking
>> Robert Schwebel
>> patch into it if nothing exist in the main line.
>
> As far as I know there is nothing new available yet; the LED framework
> people have don some things, but it should be "above" GPIO. This
> morning
> we have discussed serveral things which could be improved in our code;
> if you are interested I'll keep you informed about the progress.
>
> Robert
Any further progress on this. I'm looking at the GPIO's on an
embedded PowerPC and would prefer to produce a driver towards a
standard kernel interface. I'm also happy to help on the standard
interface if it needs some work.
- kumar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GPIO device class driver
[not found] <a59861030512210307l4c8a0a29o@mail.gmail.com>
@ 2005-12-21 11:50 ` Robert Schwebel
2006-02-01 7:00 ` Kumar Gala
0 siblings, 1 reply; 7+ messages in thread
From: Robert Schwebel @ 2005-12-21 11:50 UTC (permalink / raw)
To: Ivan Korzakow; +Cc: linux-kernel
Ivan,
On Wed, Dec 21, 2005 at 12:07:27PM +0100, Ivan Korzakow wrote:
> I read about a generic device class driver (http://marc.theaimsgroup.com/?l=
> linux-kernel&m=109419719600753&w=2) for GPIO. I wanted to know if anything
> generic finally came out of the dicussion ?
> I'm willing to write a gpio driver and I am considering taking Robert Schwebel
> patch into it if nothing exist in the main line.
As far as I know there is nothing new available yet; the LED framework
people have don some things, but it should be "above" GPIO. This morning
we have discussed serveral things which could be improved in our code;
if you are interested I'll keep you informed about the progress.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
^ permalink raw reply [flat|nested] 7+ messages in thread
* GPIO device class driver
@ 2005-12-21 11:10 Ivan Korzakow
0 siblings, 0 replies; 7+ messages in thread
From: Ivan Korzakow @ 2005-12-21 11:10 UTC (permalink / raw)
To: linux-kernel
Hi,
I read about a generic device class driver
(http://marc.theaimsgroup.com/?l=linux-kernel&m=109419719600753&w=2)
for GPIO. I wanted to know if anything generic finally came out of the
dicussion ?
I'm willing to write a gpio driver and I am considering taking Robert
Schwebel patch into it if nothing exist in the main line.
Thanks in advance for any info.
Ivan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-02-20 16:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 16:40 GPIO device class driver NZG
[not found] <a59861030512210307l4c8a0a29o@mail.gmail.com>
2005-12-21 11:50 ` Robert Schwebel
2006-02-01 7:00 ` Kumar Gala
2006-02-01 7:06 ` Robert Schwebel
2006-02-01 8:43 ` Ivan Korzakow
2006-02-02 17:22 ` Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2005-12-21 11:10 Ivan Korzakow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).