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>
Signed-off-by:Nitesh Kumar Agrawal <email address hidden>
Signed-off-by: Linus Walleij <email address hidden>
(cherry picked from commit 499c7196dd182ba513ccb9620ee22aed3f9096fd)
Signed-off-by: Alex Hung <email address hidden>
AMD suggested that their fixes (as below?) are for kernel 4.4 only. The kernel 4.4 with the two patches are available @ http:// people. canonical. com/~alexhung/ LP1612006/ kernel4. 4/
commit 0a77abf18ef6a7a fe4fb300ec22aa8 e1a98c5730
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>
(cherry picked from commit e084448b5d26bfe be8a7b9c43bb57e 685567563d)
Signed-off-by: Alex Hung <email address hidden>
commit af2f2fcfb793a73 b8d1f98004e0e28 1173719128
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> 513ccb9620ee22a ed3f9096fd)
Signed-
Signed-off-by: Linus Walleij <email address hidden>
(cherry picked from commit 499c7196dd182ba
Signed-off-by: Alex Hung <email address hidden>