-
Notifications
You must be signed in to change notification settings - Fork 5.2k
3.18 non-DT mode: can't request gpios #749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem is that there's no pinctrl device in non-DT mode, but the driver expects it to be. arch/arm/mach-bcm2708/bcm2708_gpio.c
With PR #748, bcm2708_gpio will not be used in DT mode anymore. They came with this commit: d9d191d |
ping @pelwell |
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. |
Works fine in non-DT mode now that #748 is applied. |
rust: add `NoWaitLock`
In non-DT mode it's not possible to request gpios.
I haven't looked into what's causing this.
/boot/config.txt
Boot messages
sysfs
The text was updated successfully, but these errors were encountered: