linux_dsm_epyc7002/drivers/pinctrl
Daniel Drake 79d2c8bede pinctrl/amd: save pin registers over suspend/resume
The touchpad in the Asus laptop models X505BA/BP and X542BA/BP is
unresponsive after suspend/resume. The following error appears during
resume:

  i2c_hid i2c-ELAN1300:00: failed to reset device.

The problem here is that i2c_hid does not notice the interrupt being
generated at this point, because the GPIO is no longer configured
for interrupts.

Fix this by saving pinctrl-amd pin registers during suspend and
restoring them at resume time.

Based on code from pinctrl-intel.

Cc: stable@vger.kernel.org
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-09-12 15:58:45 +02:00
..
aspeed pinctrl: aspeed: Rework strap register write logic for the AST2500 2017-08-31 13:39:38 +02:00
bcm pinctrl: bcm281xx: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:36:25 +02:00
berlin
freescale pinctrl: freescale: make mxs_regs const 2017-08-31 13:57:01 +02:00
intel pinctrl: intel: Read back TX buffer state 2017-08-31 15:34:31 +02:00
mediatek pinctrl: mediatek: update PCIe mux data for MT7623 2017-08-31 09:13:03 +02:00
meson
mvebu pinctrl: armada-37xx: Fix gpio interrupt setup 2017-09-12 11:29:44 +02:00
nomadik
pxa
qcom pinctrl: qcom: spmi-gpio: Correct power_source range check 2017-08-31 13:59:15 +02:00
samsung
sh-pfc pinctrl: sh-pfc: Updates for v4.14 2017-08-22 15:32:28 +02:00
sirf pinctrl: sirf: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:39:08 +02:00
spear
sprd pinctrl: sprd: fix off by one bugs 2017-09-12 11:27:36 +02:00
stm32
sunxi Revert "pinctrl: sunxi: Don't enforce bias disable (for now)" 2017-08-31 15:51:49 +02:00
tegra
ti pinctrl: ti-iodelay: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:42:48 +02:00
uniphier pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h> 2017-09-12 11:18:17 +02:00
vt8500 pinctrl: vt8500: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:43:08 +02:00
zte
core.c pinctrl: core: Delete an error message 2017-08-31 15:44:16 +02:00
core.h
devicetree.c pinctrl: Delete an error message 2017-08-31 15:45:29 +02:00
devicetree.h
Kconfig - New Drivers 2017-09-07 13:51:13 -07:00
Makefile - New Drivers 2017-09-07 13:51:13 -07:00
pinconf-generic.c pinctrl: Add sleep related state to indicate sleep related configs 2017-08-31 09:15:21 +02:00
pinconf.c
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c pinctrl: adi2: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:40:45 +02:00
pinctrl-adi2.h
pinctrl-amd.c pinctrl/amd: save pin registers over suspend/resume 2017-09-12 15:58:45 +02:00
pinctrl-amd.h pinctrl/amd: save pin registers over suspend/resume 2017-09-12 15:58:45 +02:00
pinctrl-artpec6.c pinctrl: artpec6: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:36:59 +02:00
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c
pinctrl-at91.h
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-da850-pupd.c
pinctrl-digicolor.c pinctrl: digicolor: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:39:36 +02:00
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c pinctrl: ingenic: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:41:05 +02:00
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl: rockchip: Add rv1108 recalculated iomux support 2017-08-31 15:25:42 +02:00
pinctrl-rza1.c pinctrl: rza1: Remove suffix from gpiochip label 2017-08-31 14:45:18 +02:00
pinctrl-single.c
pinctrl-st.c pinctrl: st: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:38:03 +02:00
pinctrl-sx150x.c
pinctrl-tb10x.c pinctrl: tb10x: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:41:40 +02:00
pinctrl-tz1090-pdc.c pinctrl: tz1090-pdc: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:42:00 +02:00
pinctrl-tz1090.c pinctrl: tz1090: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:42:19 +02:00
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h