pinctrl/amd: Configure GPIO register using BIOS settings
In the function amd_gpio_irq_set_type, use the settings provided by
the BIOS,when the LevelTrig is Edge and activeLevel is HIGH, to configure
the GPIO registers. Ignore the settings from client.
AMD sent two more patches to fix this issue completely:
commit e084448b5d26bfe be8a7b9c43bb57e 685567563d
Author: Agrawal, Nitesh-kumar <email address hidden>
Date: Fri Sep 9 15:18:09 2016 +0000
pinctrl/amd: switch to using a bool for level
The earlier patch can be simplified by using a bool
to indicate level trigger.
Reviewed-by: Pankaj Sen <email address hidden>
Signed-off-by: Nitesh Kumar Agrawal <email address hidden>
[Fixup to earlier manually applied patch]
Signed-off-by: Linus Walleij <email address hidden>
commit 499c7196dd182ba 513ccb9620ee22a ed3f9096fd
Author: Agrawal, Nitesh-kumar <email address hidden>
Date: Wed Aug 31 08:50:49 2016 +0000
pinctrl/amd: Configure GPIO register using BIOS settings
In the function amd_gpio_ irq_set_ type, use the settings provided by
the BIOS,when the LevelTrig is Edge and activeLevel is HIGH, to configure
the GPIO registers. Ignore the settings from client.
Reviewed-by: Pankaj Sen <email address hidden> off-by: Nitesh Kumar Agrawal <email address hidden>
Signed-
Signed-off-by: Linus Walleij <email address hidden>