You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was concerned that there was no tracking of GPIO usage, which is why I added them, but it turns out that an earlier upstream commit intentionally allows static pinctrl and dynamic GPIO allocations to overlap. As a result, it is necessary for drivers using GPIO allocations to also use pinctrl to ensure that a pin isn't used by both systems simultaneously, so my addition of those methods is pretty pointless.
Activity
notro commentedon Dec 27, 2014
The problem is that there's no pinctrl device in non-DT mode, but the driver expects it to be.
Since there's no device it returns -EPROBE_DEFER.
arch/arm/mach-bcm2708/bcm2708_gpio.c
With PR #748, bcm2708_gpio will not be used in DT mode anymore.
Maybe bcm2708_gpio_request() and bcm2708_gpio_free() can be removed?
They came with this commit: d9d191d
popcornmix commentedon Dec 28, 2014
ping @pelwell
pelwell commentedon Dec 28, 2014
I was concerned that there was no tracking of GPIO usage, which is why I added them, but it turns out that an earlier upstream commit intentionally allows static pinctrl and dynamic GPIO allocations to overlap. As a result, it is necessary for drivers using GPIO allocations to also use pinctrl to ensure that a pin isn't used by both systems simultaneously, so my addition of those methods is pretty pointless.
Go ahead and remove them.
notro commentedon Jan 4, 2015
Works fine in non-DT mode now that #748 is applied.
Merge pull request raspberrypi#749 from wedsonaf/no-wait