Skip to content

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

Closed

Description

@jimbojr

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).

Activity

  1. jimbojr commented on Jun 11, 2015

    @jimbojr
    Author

    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) { }
    ?

  2. pelwell commented on Jun 11, 2015

    @pelwell
    Contributor

    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 notifications@github.com 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.

  3. jimbojr commented on Jun 11, 2015

    @jimbojr
    Author

    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 :)

  4. Ruffio commented on Aug 16, 2016

    @Ruffio

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions