gpio: max77620: Configure interrupt trigger level
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 24 May 2016 13:13:44 +0000 (18:43 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jun 2016 07:35:15 +0000 (09:35 +0200)
commitff93ec74966a84538a8129d7d8303a7f841a69c4
tree043bd79150622c89c46c406ffb5c30ece65616c5
parent8e293fb057d0f2d353bca11848b6526c56b0af09
gpio: max77620: Configure interrupt trigger level

The GPIO sub modules of MAX77620 offers to configure the GPIO
interrupt trigger level as RISING and FALLING edge.

Pass this information to regmap-irg when registering for GPIO
interrupts.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max77620.c