Re: [rtc-linux] [PATCH V2 3/5] gpio: add support for AMS AS3722 gpio driver
From: Linus Walleij <hidden>
Date: 2013-09-23 18:06:29
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2013-09-23 18:06:29
Also in:
linux-gpio, lkml
On Mon, Sep 23, 2013 at 12:01 PM, Laxman Dewangan [off-list ref] wrote:
Ok, I was thinking that we should not call gpiochip_add() from the pin control driver in any new driver
No that is not the case. There are many combined pinctrl+GPIO drivers that register both pinctrl devices and gpio_chip and also irq_chip. When the driver and hardware does multiple things like that in the same register range it is usually best to put the combined driver in drivers/pinctrl.
So this gpio driver can be moved now to the pincntrl folder and can use pincontrol and gpio framework.
Thanks! Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html