Skip to content

drivers: gpio: smartbond: Fix PDC GPIO port selection #91522

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

Open
1 task
ioannis-karachalios opened this issue Jun 12, 2025 · 0 comments
Open
1 task

drivers: gpio: smartbond: Fix PDC GPIO port selection #91522

ioannis-karachalios opened this issue Jun 12, 2025 · 0 comments
Assignees
Labels
Backport Backport PR and backport failure issues bug The issue is a bug, or the PR is fixing a bug platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond

Comments

@ioannis-karachalios
Copy link
Collaborator

Describe the bug

When registering a PDC entry so that a I/O pin can act as wakeup/triggering source, the GPIO port selection is based on the device driver instance numbering. That is not correct as described by Zephyr documentation which declares that "instance numbers in no way reflect any numbering scheme". Therefore, if a wrong port is registered, the device will never exit the sleep state (application core should be turned off at that time). What is more, each port exposes different number of I/O pins. #91517 is the PR that solves that issue by introducing a DTS property so that each GPIO block instance explicitly defines its indexing.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

No response

Additional Context

No response

@ioannis-karachalios ioannis-karachalios added bug The issue is a bug, or the PR is fixing a bug platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond labels Jun 12, 2025
@ioannis-karachalios ioannis-karachalios added the Backport Backport PR and backport failure issues label Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Backport PR and backport failure issues bug The issue is a bug, or the PR is fixing a bug platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond
Projects
None yet
Development

No branches or pull requests

3 participants