GPIO driver for MPC8313.

Peter Korsgaard jacmet at sunsite.dk
Wed Sep 23 21:04:32 EST 2009


>>>>> "Johnny" == Johnny Hung <johnny.hacking at 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


More information about the Linuxppc-dev mailing list