On Fri, May 13, 2016 at 7:19 AM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIOPS, please add these optional features:
pins. It also supports interrupts from these pins.
Add GPIO driver for these pins to control via GPIO APIs.
Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
+ mgpio->gpio_chip.direction_input = max77620_gpio_dir_input;Any chance you could send a patch to add a .get_direction() callback?
+ mgpio->gpio_chip.direction_output = max77620_gpio_dir_output;