On Thu, Nov 17, 2016 at 9:16 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > On Thu, Nov 17, 2016 at 12:01 PM, Rahul Mahajan > <rahulcmahajan.84@xxxxxxxxx> wrote: > >> Can you please tell , >> 1) i need to change modify pin control for gpio then how to do that ? > > Like any other driver? I don't understand the question. You have > to be more specific. I understand the question now, after private mail. There are two clasess of pin control/GPIO interaction: - Drivers where GPIO and pin control is orthogonal: there the pin control settings in device tree or similar, that configure the pin to be used as GPIO. - Drivers where GPIO and pin control interact, so the GPIO driver calls back into the pin controller using GPIO ranges and the pin controller driver has a set of special callbacks to configure the line as GPIO. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html