]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: sa1100/neponset: add GPIO drivers for control and modem registers
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 31 Aug 2016 07:49:45 +0000 (08:49 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 1 Jan 2018 00:50:05 +0000 (00:50 +0000)
commit3873e1e8797ab81ecf948f4045668e37dfdc915f
treead17d2593ee712df0affb8ae6c80582dfef9dbf7
parent8c72875b30527f74dc8a8400b8dd825d60ba1147
ARM: sa1100/neponset: add GPIO drivers for control and modem registers

The NCR, MDM_CTL* and AUD registers manipulate the state of external
signals (eg, the RTS, DTR signals and the ethernet oscillator enable
signal) or indicate the state of external signals (eg, CTS, DSR).

Where these registers can be written, the current value can be read
back, which relieves us from having to maintain a software copy of
the current state.

Model these registers as fixed-direction GPIO registers.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-sa1100/neponset.c