Re: [PATCH 1/3] gpiolib: Export gpiochip_irqchip_irq_valid() to drivers

2018-01-10 Thread Linus Walleij
On Wed, Jan 10, 2018 at 2:58 AM, Stephen Boyd wrote: > Some pinctrl drivers can use the gpiochip irq valid information > to figure out if certain gpios are exposed to the kernel for > usage or not. Expose this API so we can use it in the > pinmux_ops::request ops. > > Signed-off-by: Stephen Boyd

Re: [PATCH 1/3] gpiolib: Export gpiochip_irqchip_irq_valid() to drivers

2018-01-09 Thread Bjorn Andersson
On Tue 09 Jan 17:58 PST 2018, Stephen Boyd wrote: > Some pinctrl drivers can use the gpiochip irq valid information > to figure out if certain gpios are exposed to the kernel for > usage or not. Expose this API so we can use it in the > pinmux_ops::request ops. > > Signed-off-by: Stephen Boyd A

[PATCH 1/3] gpiolib: Export gpiochip_irqchip_irq_valid() to drivers

2018-01-09 Thread Stephen Boyd
Some pinctrl drivers can use the gpiochip irq valid information to figure out if certain gpios are exposed to the kernel for usage or not. Expose this API so we can use it in the pinmux_ops::request ops. Signed-off-by: Stephen Boyd --- drivers/gpio/gpiolib.c | 5 +++-- include/linux/gpio/dr