android_kernel_motorola_sm6375/drivers/pinctrl
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andy Shevchenko eb5001ecfb pinctrl: intel: Save and restore pins in "direct IRQ" mode
commit 6989ea4881c8944fbf04378418bb1af63d875ef8 upstream.

The firmware on some systems may configure GPIO pins to be
an interrupt source in so called "direct IRQ" mode. In such
cases the GPIO controller driver has no idea if those pins
are being used or not. At the same time, there is a known bug
in the firmwares that don't restore the pin settings correctly
after suspend, i.e. by an unknown reason the Rx value becomes
inverted.

Hence, let's save and restore the pins that are configured
as GPIOs in the input mode with GPIROUTIOXAPIC bit set.

Cc: stable@vger.kernel.org
Reported-and-tested-by: Dale Smith <dalepsmith@gmail.com>
Reported-and-tested-by: John Harris <jmharris@gmail.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214749
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20221124222926.72326-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-08 11:23:04 +01:00
..
actions
aspeed
bcm pinctrl: bcm2835: Fix a few error paths 2022-02-08 18:24:33 +01:00
berlin
cirrus
freescale
intel pinctrl: intel: Save and restore pins in "direct IRQ" mode 2022-12-08 11:23:04 +01:00
mediatek pinctrl: mediatek: paris: Fix pingroup pin config state readback 2022-04-15 14:18:19 +02:00
meson
mvebu pinctrl: mvebu: Fix irq_of_parse_and_map() return value 2022-06-14 18:11:41 +02:00
nomadik pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map 2022-08-25 11:18:23 +02:00
nuvoton pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE() 2022-04-15 14:18:29 +02:00
pxa
qcom pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed 2022-08-25 11:18:23 +02:00
samsung pinctrl: samsung: drop pin banks references on error paths 2022-04-15 14:17:59 +02:00
sh-pfc pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel 2022-04-15 14:18:17 +02:00
sirf
spear
sprd
stm32 pinctrl: stm32: fix optional IRQ support to gpios 2022-07-29 17:14:08 +02:00
sunxi pinctrl: sunxi: Add I/O bias setting for H6 R-PIO 2022-08-25 11:18:24 +02:00
tegra
ti
uniphier
vt8500
zte
core.c pinctrl: core: fix possible memory leak in pinctrl_enable() 2021-11-17 09:48:26 +01:00
core.h
devicetree.c pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map 2022-11-25 17:42:14 +01:00
devicetree.h
Kconfig
Makefile
pinconf-generic.c pinctrl: pinconf-generic: Print arguments for bias-pull-* 2022-04-15 14:18:29 +02:00
pinconf.c
pinconf.h
pinctrl-amd.c pinctrl: amd: Don't save/restore interrupt status and wake status bits 2022-09-05 10:27:39 +02:00
pinctrl-amd.h
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c
pinctrl-at91.h
pinctrl-axp209.c
pinctrl-bm1880.c
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-da850-pupd.c
pinctrl-digicolor.c
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c pinctrl: ingenic: Fix incorrect pull up/down info 2021-09-22 12:26:20 +02:00
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08.c
pinctrl-ocelot.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c pinctrl: pistachio: fix use of irq_of_parse_and_map() 2022-05-09 09:03:25 +02:00
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe 2022-04-15 14:18:20 +02:00
pinctrl-rza1.c
pinctrl-rza2.c
pinctrl-rzn1.c
pinctrl-single.c pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() 2021-09-22 12:26:24 +02:00
pinctrl-st.c
pinctrl-stmfx.c
pinctrl-sx150x.c
pinctrl-tb10x.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h