Skip to content

Boot end mode of gpios 28-31 seems to have changed from INPUT to ALT2 #532

Closed

Description

@joan2937

Some time between May 2013 and today (probably a couple of months ago) the mode of gpios 28, 29, 30, and 31 appears to have changed from INPUT to ALT2.

A consequence is that gpio28 transmits the PCM clock once PCM is enabled.

I went back to the last Debian image dated May 2013 and booted. Gpios 28-31 were mode INPUT. I performed an rpi-update and rebooted. Gpios 28-31 were mode ALT2.

Activity

  1. popcornmix commented on Feb 13, 2014

    @popcornmix
    Collaborator

    Are you using 1-wire (or similar) module?
    I think there is a bug where it tramples some GPIO settings:
    #435

  2. joan2937 commented on Feb 13, 2014

    @joan2937
    Author

    It seems to be the module snd_soc_bcm2708_i2s. Given I2S uses the PCM perhaps it's not so surprising.

    When I blacklist that module gpios 28-31remain as inputs at the end of boot.

    I didn't knowingly make any changes to the sound system (as I never use sound on the Pi).

  3. popcornmix commented on Feb 13, 2014

    @popcornmix
    Collaborator

    Yes. That's not entirely desired. We get the same behaviour from I2C/SPI drivers and so raspbian blacklists them by default, so we probably need to do that for i2s as well.

    Blacklisting is the correct solution for now.

  4. joan2937 commented on Feb 13, 2014

    @joan2937
    Author

    Ok, I'll consider this closed as a kernel issue.

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