[Voyage-linux] About GPIO support
Kim-man 'Punky' TSE
(spam-protected)
Thu Feb 10 09:36:20 HKT 2011
On 2/10/2011 3:41 AM, Yago Fernandez Hansen wrote:
> Dear developers
>
> Could you include in your kernel this fix for GPIO button support?
> We could program a reset switch or a poweroff button in ALIX 3D3.
>
> http://www.twam.info/linux/gpio-on-alix3d3
>
> Another problem that I have is using GPIO ports to connect devices
> as switches or power off pulse. I have read much about it but I have
> tried to recompile kernel sources and it was not easy. Can you try
> in the next release to compile kernel with support for C5536 gpio?
>
> Yago Fernandez Hansen
Before I patch the kernel, what is the difference between the mentioned driver and the driver found in
http://lxr.linux.no/#linux+v2.6.32.28/drivers/char/cs5535_gpio.c
And there are two drivers in latest 2.6.37 too...
http://lxr.linux.no/#linux+v2.6.37/drivers/char/cs5535_gpio.c
http://lxr.linux.no/#linux+v2.6.37/drivers/gpio/cs5535-gpio.c
Why not using the stock one but instead of this patch?
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list