linux/drivers/pinctrl
Ludovic Desroches 5305a7b7e8 pinctrl: at91-pio4: fix pull-up/down logic
The default configuration of a pin is often with a value in the
pull-up/down field at chip reset. So, even if the internal logic of the
controller prevents writing a configuration with pull-up and pull-down at
the same time, we must ensure explicitly this condition before writing the
register.

This was leading to a pull-down condition not taken into account for
instance.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: 776180848b ("pinctrl: introduce driver for Atmel PIO4 controller")
Cc: stable@vger.kernel.org #v4.4 and later
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-04-29 11:16:19 +02:00
..
bcm This is the bulk of GPIO changes for kernel v4.6: 2016-03-17 21:05:32 -07:00
berlin
freescale pinctrl: imx: Kconfig: PINCTRL_IMX select REGMAP 2016-04-14 14:19:00 +02:00
intel pinctrl: intel: implement gpio_irq_enable 2016-03-30 10:57:52 +02:00
mediatek pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce 2016-04-15 10:28:04 +02:00
meson pinctrl: amlogic: Make driver independent from two-domain configuration 2016-03-09 13:00:28 +07:00
mvebu pinctrl: mvebu: fix num_settings in mpp group assignment 2016-02-13 23:51:45 +01:00
nomadik pinctrl: nomadik: fix pull debug print inversion 2016-03-31 10:45:26 +02:00
pxa pinctrl: pxa2xx: export symbols 2016-03-09 09:10:02 +07:00
qcom pinctrl: qcom: ipq4019: fix register offsets 2016-03-31 11:56:13 +02:00
samsung pinctrl: samsung: fix SMP race condition 2016-02-15 20:45:50 +01:00
sh-pfc pinctrl: sh-pfc: only use dummy states for non-DT platforms 2016-03-30 10:57:51 +02:00
sirf pinctrl: sirf/atlas7: stop poking around in GPIO internals 2016-02-16 00:19:54 +01:00
spear GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
stm32 pinctrl: stm32: make explicitly non-modular 2016-03-09 10:24:54 +07:00
sunxi pinctrl: sunxi: Fix A33 external interrupts not working 2016-03-30 10:57:52 +02:00
tegra pinctrl: tegra: move Tegra pinctrl drivers to sub-directory 2016-02-05 15:16:43 +01:00
uniphier pinctrl: uniphier: rename CONFIG options and file names 2016-03-09 10:39:30 +07:00
vt8500
core.c pinctrl: core: create nolock version of pinctrl_find_gpio_range_from_pin 2016-03-07 10:41:20 +07:00
core.h pinctrl: core: create nolock version of pinctrl_find_gpio_range_from_pin 2016-03-07 10:41:20 +07:00
devicetree.c
devicetree.h
Kconfig pinctrl: Turn AMD support to tristate 2016-02-16 00:11:49 +01:00
Makefile pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK 2016-02-13 23:34:19 +01:00
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-adi2.h
pinctrl-amd.c pinctrl: Fix return value check in amd_gpio_probe() 2016-02-15 19:42:41 +01:00
pinctrl-amd.h
pinctrl-as3722.c
pinctrl-at91-pio4.c pinctrl: at91-pio4: fix pull-up/down logic 2016-04-29 11:16:19 +02:00
pinctrl-at91.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-at91.h
pinctrl-coh901.c pinctrl: coh901: fix initconst annotation 2016-02-15 20:40:52 +01:00
pinctrl-coh901.h
pinctrl-digicolor.c
pinctrl-falcon.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c pinctrl: lpc18xx: add nxp,gpio-pin-interrupt property 2016-03-07 10:44:30 +07:00
pinctrl-palmas.c
pinctrl-pic32.c pinctrl: pinctrl-pic32: Add PIC32 pin control driver 2016-02-05 23:54:47 +01:00
pinctrl-pic32.h pinctrl: pinctrl-pic32: Add PIC32 pin control driver 2016-02-05 23:54:47 +01:00
pinctrl-pistachio.c pinctrl: pistachio: fix mfio84-89 function description and pinmux. 2016-03-30 10:57:51 +02:00
pinctrl-rockchip.c pinctrl: rockchip: add support for the rk3399 2016-02-10 16:41:03 +01:00
pinctrl-single.c pinctrl: single: Fix pcs_parse_bits_in_pinctrl_entry to use __ffs than ffs 2016-04-15 11:26:55 +02:00
pinctrl-st.c pinctrl: st: activate strict mux mode 2016-01-27 11:02:53 +01:00
pinctrl-tb10x.c
pinctrl-tz1090-pdc.c
pinctrl-tz1090.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c Revert "Revert "pinctrl: lantiq: Implement gpio_chip.to_irq"" 2016-04-01 15:21:27 +02:00
pinctrl-zynq.c pinctrl: zynq: fix typo in group name for qspi1 2016-02-15 19:18:59 +01:00
pinmux.c pinctrl: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
pinmux.h