pinctrl: amd: Drop pull up select configuration
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 5 Jul 2023 13:30:04 +0000 (08:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Jul 2023 11:49:31 +0000 (13:49 +0200)
commitdce19c966d4da491c820c576be2962e15424aaf3
tree42a429d8081d171366ff5316eae6453c7a133bb5
parent326b3f17bee88f8f05a3371b95b82caaf2ce1cac
pinctrl: amd: Drop pull up select configuration

commit 3f62312d04d4c68aace9cd06fc135e09573325f3 upstream.

pinctrl-amd currently tries to program bit 19 of all GPIOs to select
either a 4kΩ or 8hΩ pull up, but this isn't what bit 19 does.  Bit
19 is marked as reserved, even in the latest platforms documentation.

Drop this programming functionality.

Tested-by: Jan Visser <starquake@linuxeverywhere.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230705133005.577-4-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-amd.c
drivers/pinctrl/pinctrl-amd.h