On Tue, Mar 8, 2016 at 5:21 AM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: > >> Perhaps the of_have_populated_dt() check should be moved inside >> pinctrl_provide_dummies()? > > Hmm, the kernel-doc for pinctrl_provide_dummies() says "Usually this > function is called by platforms without pinctrl driver support...". > Is "without pintctrl" == "no DT"? Linus? The primary example is a platform with one pin controller and two identical GPIO controllers, one of the GPIO controllers is using a pin control backend. Since the GPIO driver has to call pinctrl_request_gpio() etc, it needs something to hold on to if there is no backing pin controller for one of them. 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