Skip to content

Conversation

@LeshanDaFo
Copy link

Summary

Recent GPIO changes made to support Raspberry Pi Zero (RPI0) altered the
initialisation of the LED and SOUND pins. While correct for RPI0, this
introduced a regression on RPI2 and RPI3 when using the IEC open-drain path.

Details

This change restores correct LED and SOUND behaviour on RPI2/RPI3 by
configuring the affected GPIOs via direct GPFSEL access, while keeping
the existing RPI0 fix intact.

The fix is limited to the non-split IEC path and does not affect the
split-IEC configuration.

Motivation

The issue was observed by users and discussed publicly, where workarounds
reverted the RPI0 fix entirely. This patch avoids a rollback and instead
applies a platform-specific correction.

Recent GPIO adjustments for Raspberry Pi Zero changed LED and SOUND
initialisation. While required for RPI0, this caused a regression on
RPI2/RPI3 in the IEC open-drain path.

Restore correct behaviour on RPI2/RPI3 by configuring the affected
GPIOs via direct GPFSEL access, keeping the RPI0 fix intact.
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

Successfully merging this pull request may close these issues.

1 participant