GPIO driver for MPC8313.

Johnny Hung johnny.hacking at gmail.com
Mon Sep 28 12:43:00 EST 2009


The kerne source I used now is 2.6.23 with MPC8313-erdb pached. I
think I should port 2.6.28 gpio function back to 2.6.23. Is it a
common way to implement it in the kernel I used or I should port
MPC8313-erdb pached to 2.6.28 opposite?

BRs, H. Johnny

2009/9/23 Johnny Hung <johnny.hacking at gmail.com>:
> Many thanks for your help. I will try it.
>
> 2009/9/23 Peter Korsgaard <jacmet at sunsite.dk>:
>>>>>>> "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