[LinuxPPS] RFC: IRQ/GPIO client
Udo van den Heuvel
udovdh at xs4all.nl
Thu Dec 30 16:57:31 CET 2010
On 2010-12-30 16:30, Udo van den Heuvel wrote:
> On 2010-12-30 16:11, Ricardo Martins wrote:
>>>> Excellent! This is precisely what I was looking for. Thanks.
>>>
>>> Can we already use the GPIO's as found on the EPIA boards?
>>> I mean, my EPIA LT has 4 GPI and 4 GPO (programmable).
>>> So I could rewire PPS to one of these pins if we have a driver that can
>>> talk to teh GPIO and does LinuxPPS...
>> Are those GPI capable of generating interrupts ?
>
> Don't know, yet.
> The CX700 chipset on the Epia LT here is similar to the VIA VT8237 which
> has been in production for a while.
> So we should be able to find out...
See http://www.gossamer-threads.com/lists/linux/kernel/931640
Looks like this over here:
# lspci -vv -s 00:11.0
00:11.0 ISA bridge: VIA Technologies, Inc. CX700/VX700 PCI to ISA Bridge
Subsystem: VIA Technologies, Inc. CX700/VX700 PCI to ISA Bridge
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel modules: i2c-viapro
and http://www.gossamer-threads.com/lists/linux/kernel/932328
etc
Don't see interrupt stuff yet.
User manual writes:
Digital I/O Connector: DIO
General purpose input and output for POS systems.
Pin Signal Pin Signal
1 5V_DIO 2 12V_DIO
3 GPO_21 4 GPI_44
5 GPO_22 6 GPI_45
7 GPO_32 8 GPI_46
9 GPO_33 10 GPI_47
11 GND 12 GND
So the GPx_numbers are chip pin numbers I assume?
More information about the LinuxPPS
mailing list