linux/drivers/gpio
Andres Salomon 853ff88324 cs5535-gpio: apply CS5536 errata workaround for GPIOs
The AMD Geode CS5536 Companion Device Silicon Revision B1 Specification
Update mentions the follow as issue #36:

 "Atomic write transactions to the atomic GPIO High Bank Feature Bit
  registers should only affect the bits selected [...]"

 "after Suspend, an atomic write transaction [...] will clear all
  non-selected bits of the accessed register."

In other words, writing to the high bank for a single GPIO bit will
clear every other GPIO bit (but only sometimes after a suspend).

The workaround described is obvious and simple; do a read-modify-write.
This patch does that, and documents why we're doing it.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-12-02 14:51:15 -08:00
..
74x164.c
Kconfig
Makefile
adp5520-gpio.c
adp5588-gpio.c
basic_mmio_gpio.c
bt8xxgpio.c
cs5535-gpio.c
gpiolib.c
it8761e_gpio.c
janz-ttl.c
langwell_gpio.c
max730x.c
max732x.c
max7300.c
max7301.c
mc33880.c
mcp23s08.c
pca953x.c
pcf857x.c
pch_gpio.c
pl061.c
rdc321x-gpio.c
sch_gpio.c
stmpe-gpio.c
sx150x.c
tc35892-gpio.c
timbgpio.c
twl4030-gpio.c
ucb1400_gpio.c
vr41xx_giu.c
vx855_gpio.c
wm831x-gpio.c
wm8350-gpiolib.c
wm8994-gpio.c
xilinx_gpio.c