> "Johnny" == Johnny Hung writes:
Johnny> The kerne source I used now is 2.6.23 with MPC8313-erdb
Johnny> pached. I think I should port 2.6.28 gpio function back to
Johnny> 2.6.23. Is it a common way to implement it in the kernel I used
Johnny> or I should port MPC8313-erdb pached to 2.6.
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 :
> Many thanks for your
Many thanks for your help. I will try it.
2009/9/23 Peter Korsgaard :
>> "Johnny" == Johnny Hung 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> ex
> "Johnny" == Johnny Hung 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 Userspac
Thanks, got it. BTW, how to trigger GPIO level in user space
application? I also found arch/powerpc/platforms/52xx/mpc52xx_gpio.c
is a good example. Any reply is appreciate.
BRs, H. Johnny
2009/9/23 Peter Korsgaard :
>> "Johnny" == Johnny Hung writes:
>
> Johnny> Hi All:
> Johnny> Is th
> "Johnny" == Johnny Hung writes:
Johnny> Hi All:
Johnny> Is there a alreday written GPIO dirver or example for
Johnny> MPC8313/similar ppc platform. It looks like many people need GPIO
Johnny> dirver to control LED, etc... I think is it possible to write a
Johnny> general gpio driver
Hi All:
Is there a alreday written GPIO dirver or example for
MPC8313/similar ppc platform. It looks like many people need GPIO
dirver to control LED, etc... I think is it possible to write a
general gpio driver for all ppc platform and only need to modify gpio
iomap information of dtb file. Ple