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@xxxxxxxxx>: > Many thanks for your help. I will try it. > > 2009/9/23 Peter Korsgaard <jacmet@xxxxxxxxxx>: >>>>>>> "Johnny" == Johnny Hung <johnny.hacking@xxxxxxxxx> 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 >> > -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html