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.hack...@gmail.com>: > Many thanks for your help. I will try it. > > 2009/9/23 Peter Korsgaard <jac...@sunsite.dk>: >>>>>>> "Johnny" == Johnny Hung <johnny.hack...@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 >> > _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev