pinctrl/amd: Configure GPIO register using BIOS settings
authorAgrawal, Nitesh-kumar <Nitesh-kumar.Agrawal@amd.com>
Wed, 31 Aug 2016 08:50:49 +0000 (08:50 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Sep 2016 19:48:16 +0000 (21:48 +0200)
commit499c7196dd182ba513ccb9620ee22aed3f9096fd
tree37865dea68ee00cb2a63d2c41d329fab19ba3db0
parentac91ab51e4f882db65449ff821a5664bad4b164c
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 <Pankaj.Sen@amd.com>
Signed-off-by:Nitesh Kumar Agrawal <Nitesh-kumar.Agrawal@amd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c