[PATCH 0/4] Fix for interrupt storm on ASUS TUF A16

From: Mario Limonciello
Date: Fri Jun 30 2023 - 15:47:39 EST


An interrupt storm is reported for the GPIO controller on ASUS TUF A16
but only on Linux. In comparing the GPIO registers from Windows and
Linux the configuration for several bits specified in _AEI() was never
actually loaded into the hardware on Linux.

This meant that many values were taking the default hardware strapping
for pull up/pull down.

This series reworks the programming of various bits to unify the
expectations for the hardware.

It's confirmed to fix the interrupt storm on this system.
This series is based off of the tag pinctrl-v6.5-1.

Mario Limonciello (4):
pinctrl: amd: Only use special debounce behavior for GPIO 0
pinctrl: amd: Drop pull up select configuration
pinctrl: amd: Unify debounce handling into amd_pinconf_set()
pinctrl: amd: Use amd_pinconf_set() for all config options

drivers/pinctrl/pinctrl-amd.c | 59 +++++++++++++----------------------
drivers/pinctrl/pinctrl-amd.h | 1 -
2 files changed, 22 insertions(+), 38 deletions(-)


base-commit: 9f0648f13e34a01f2e1a7a0d5801988a7bca6988
--
2.34.1