linux/drivers/gpio
Lothar Waßmann fb14921862 gpio/mxc: add missing initialization of basic_mmio_gpio shadow variables
The bgpio_init() function does not initialise the shadow register for
the GPIO direction register. Thus, when configuring the first GPIO with
gpio_set_direction() all other GPIOs of the same bank will be
configured as inputs. Since the bgpio layer cannot know whether the
register is readable, the initialisation should be done by the caller
of bgpio_init().

Also, the 'data' shadow variable that is used inside basic_mmio_gpio
to cache the current value of the GPIO_DR register is initialised from
the GPIO_PSR register within bgpio_init(). Thus when setting the
output value of a certain GPIO, the other GPIO outputs of the same
bank will be set or cleared depending on the pin state of the GPIO
inputs during bgpio_init().

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-07-07 12:42:50 -06:00
..
gpio-74x164.c gpio/74x164: fix clash with gpiolib namespace 2011-06-13 09:03:48 -06:00
gpio-ab8500.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-adp5520.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-adp5588.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-bt8xx.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-cs5535.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-da9052.c GPIO: DA9052 GPIO module v3 2011-07-06 10:31:58 -06:00
gpio-ep93xx.c gpio/ep93xx: Remove superfluous debug pr_info statement 2011-06-09 12:40:21 -06:00
gpio-exynos4.c Merge branch 'gpio/next-tegra' into gpio/next 2011-06-15 14:57:39 -06:00
gpio-generic.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-it8761e.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-janz-ttl.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-langwell.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max730x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max732x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max7300.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-max7301.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-mc33880.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-mcp23s08.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-ml-ioh.c gpio/ml-ioh: fix off-by-one for displaying variable i in dev_err 2011-06-16 13:44:29 -06:00
gpio-mpc5200.c gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00
gpio-mxc.c gpio/mxc: add missing initialization of basic_mmio_gpio shadow variables 2011-07-07 12:42:50 -06:00
gpio-mxs.c gpio/mxs: convert gpio-mxs to use generic irq chip 2011-06-07 09:00:57 -06:00
gpio-nomadik.c gpio/nomadik: fix sleepmode for elder Nomadik 2011-06-09 15:03:38 -06:00
gpio-omap.c gpio/omap: cleanup show revision, remove cpu_is checks, display only once 2011-06-16 11:14:13 -07:00
gpio-pca953x.c gpio/pca953x: Deprecate meaningless device-tree bindings 2011-06-16 13:41:50 -06:00
gpio-pcf857x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-pch.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-pl061.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-plat-samsung.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-rdc321x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-s5pc100.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-s5pv210.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-sch.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-stmpe.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-sx150x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tc3589x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tegra.c gpio/tegra: Use engineering names in DT compatible property 2011-07-05 23:36:32 -06:00
gpio-timberdale.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-tps65910.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-twl4030.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-u300.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-ucb1400.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-vr41xx.c gpio/vr41xx: Convert use of struct resource to resource_size(ptr) 2011-06-10 23:37:10 -06:00
gpio-vx855.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-wm831x.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-wm8350.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-wm8994.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpio-xilinx.c gpio: reorganize drivers 2011-06-06 10:10:11 -06:00
gpiolib.c gpio: make gpio_{request,free}_array gpio array parameter const 2011-05-27 17:56:45 -06:00
Kconfig gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00
Makefile gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00