On Mon, Sep 23, 2013 at 12:01 PM, Laxman Dewangan <ldewangan@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html