mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ivan Korzakow <ivan.korzakow@gmail.com>
To: Robert Schwebel <robert@schwebel.de>
Cc: Kumar Gala <galak@kernel.crashing.org>, linux-kernel@vger.kernel.org
Subject: Re: GPIO device class driver
Date: Wed, 1 Feb 2006 09:43:32 +0100	[thread overview]
Message-ID: <a59861030602010043n1bf518cdl@mail.gmail.com> (raw)
In-Reply-To: <20060201070653.GF2494@pengutronix.de>

[-- 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 --]

  reply	other threads:[~2006-02-01  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2006-02-02 17:22       ` Kumar Gala
2007-02-20 16:40 NZG
  -- strict thread matches above, loose matches on Subject: below --
2005-12-21 11:10 Ivan Korzakow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a59861030602010043n1bf518cdl@mail.gmail.com \
    --to=ivan.korzakow@gmail.com \
    --cc=galak@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert@schwebel.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome