Skip to content

bcm2708-i2s does not support Device Tree for GPIO mapping #1023

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

Closed
jimbojr opened this issue Jun 11, 2015 · 4 comments
Closed

bcm2708-i2s does not support Device Tree for GPIO mapping #1023

jimbojr opened this issue Jun 11, 2015 · 4 comments

Comments

@jimbojr
Copy link

jimbojr commented Jun 11, 2015

The bcm2708_i2s_setup_gpio() function in bcm2708-i2s.c needs to be updated to use Device Tree for GPIO location (it currently just sets up fixed GPIOs on bank 0).

@jimbojr
Copy link
Author

jimbojr commented Jun 11, 2015

Is the fix to simply wrap all of the fixed GPIO setup stuff in bcm2708_i2s_setup_gpio() in a:
if (!pdev->dev.of_node) { }
?

@pelwell
Copy link
Contributor

pelwell commented Jun 11, 2015

Yes, I think so. I have that change sitting in a stash already, it just needs testing.

On 11 Jun 2015 9:09 pm, James Adams [email protected] wrote:Is the fix to simply wrap all of the fixed GPIO setup stuff in bcm2708_i2s_setup_gpio() in a:
if (!pdev->dev.of_node) { }
?

—Reply to this email directly or view it on GitHub.

@jimbojr
Copy link
Author

jimbojr commented Jun 11, 2015

OK I was going to do a quick change and test but there is no pdev node passed to bcm2708_i2s_setup_gpio();
In fact, shouldn't that GPIO setup be in the probe function?
I'll happily test a patch if you've gont one Phil. (and, aren't you supposed to be on holiday :)

@Ruffio
Copy link

Ruffio commented Aug 16, 2016

@jimbojr has your issue been resolved? If so, please close this issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants