public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* GPIO-Ports on VIA EPIA-SN
@ 2008-06-09 18:00 Stefan Hellermann
  2008-06-09 19:03 ` Bart Van Assche
  2008-06-10 11:27 ` Alan Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Hellermann @ 2008-06-09 18:00 UTC (permalink / raw)
  To: linux-kernel, David Brownell, David Brownell

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

Hello,

I have a VIA Epia-SN embedded-board with 8 GPIO-connectors. I got the
attached documentation from VIA after I asked how to use the
GPIO-connectors with Linux.
The GPIO is connected to the VT8251 southbridge, here is lspci-output:

# lspci -vv -s 00:11.0
00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
	Subsystem: VIA Technologies, Inc. VT8251 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 PME-Enable- DSel=0 DScale=0 PME-


Can anybody help me writing a small kernel-driver for this? I heard of
the GPIO-framework, but I have no clue where to start with. I simply
want to switch these ports to 0 or 1 :).

I don't know under what license this documentation is, I simply got
these 6 pages with sample source code.

Kind Regards
Stefan Hellermann

[-- Attachment #2: SN_Digital_IO_Operating Guide_021908 .pdf --]
[-- Type: application/pdf, Size: 61219 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-10 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09 18:00 GPIO-Ports on VIA EPIA-SN Stefan Hellermann
2008-06-09 19:03 ` Bart Van Assche
2008-06-09 19:57   ` David Brownell
2008-06-10 11:27 ` Alan Cox
2008-06-10 22:51   ` [patch 1/1] Add driver for GPIO on Via Epia-SN - vt8251 Stefan Hellermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox