public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite•dk>
To: Johnny Hung <johnny.hacking@gmail•com>
Cc: linuxppc-dev@lists•ozlabs.org, linux-embedded@vger•kernel.org
Subject: Re: GPIO driver for MPC8313.
Date: Wed, 23 Sep 2009 13:04:32 +0200	[thread overview]
Message-ID: <87r5txrkfz.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <cb9ecdfa0909230352w77a37f59h3c7f1e146121f9f6@mail.gmail.com> (Johnny Hung's message of "Wed\, 23 Sep 2009 18\:52\:24 +0800")

>>>>> "Johnny" == Johnny Hung <johnny.hacking@gmail•com> writes:

 Johnny> Thanks, got it. BTW, how to trigger GPIO level in user space
 Johnny> application? I also found
 Johnny> arch/powerpc/platforms/52xx/mpc52xx_gpio.c is a good
 Johnny> example. Any reply is appreciate.

Through sysfs. See 'Sysfs Interface for Userspace' section of
Documentation/gpio.txt

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-09-23 11:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23  3:55 GPIO driver for MPC8313 Johnny Hung
2009-09-23  6:57 ` Peter Korsgaard
2009-09-23 10:52   ` Johnny Hung
2009-09-23 11:04     ` Peter Korsgaard [this message]
2009-09-23 15:20       ` Johnny Hung
2009-09-28  2:43         ` Johnny Hung
2009-09-28  5:16           ` Peter Korsgaard

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=87r5txrkfz.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite$(echo .)dk \
    --cc=johnny.hacking@gmail$(echo .)com \
    --cc=linux-embedded@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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