-
- Downloads
There was an error fetching the commit references. Please try again later.
pinctrl: amd: Clear `Less2secSts` and `Less10secSts` for GPIO0
Systems that don't program GPIO0 through _AEI may still control the power button via this GPIO. When the GPIO master controller register has bit 15 configured for `EnWinBlueBtn` this will cause GPIO 0 to behave differently. If the user presses the button for less than 2 seconds or less than 10 seconds then it is expected that interrupt status must be cleared by the GPIO driver. Add a notification chain for the ACPI power button so that when a power button is pressed it will explicitly clear these bits. Reported-by:Luca Pigliacampo <lucapgl2001@gmail.com> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217833 Fixes: a855724d ("pinctrl: amd: Fix mistake in handling clearing pins at startup") Link: https://www.amd.com/content/dam/amd/en/documents/archived-tech-docs/programmer-references/55072_AMD_Family_15h_Models_70h-7Fh_BKDG.pdf p948 Signed-off-by:
Mario Limonciello <mario.limonciello@amd.com>
Loading
Please register or sign in to comment