Skip to content

[nrf fromtree] drivers: gpio: nrfx: Add support for GPIOTE0 in nrf54h20 cpurad #3041

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
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

nordic-krch
Copy link
Contributor

Add support for GPIOTE0 instance in cpurad.

nordic-krch and others added 10 commits July 10, 2025 13:49
This reverts commit 662e647.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Bump required version of nrf-regtool to 9.2.0.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Same as commit 6ec9d10 but with the REQUIRED keyword on its own
line to attempt to avoid a merge conflict when reverting/reapplying
this patch.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
(cherry picked from commit 8c2d815)
Update hal_nordic with support for GPIOTE0 in cpurad added to
nrfx_gpiote driver.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add GPIOTE0 instance in radio peripherals.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add new feature flags to gpiote node.
Include pinctrl. Pins used by GPIOTE0 on nrf54h20/cpurad require CTRLSEL
configuration. Pins are listed using pinctrl and parsed by nrf-regtool
to prepare UICR configuration.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add NRFX_GPIOTE_VAR_FEATURE_SUPPORT feature flag to nrfx configuration.
It enables support for special GPIOTE0 instance in nrfx_gpiote driver.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add support for special GPIOTE0 instance on nrf54h20/cpurad.
This instance requires special handling because:
- there is no support for PORT event (level interrupts)
- TE channels are fixed to the pin

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add return code checking for gpio_pin_interrupt_configure functions.
Add disabling pin interrupt at the end of the test to restore pin
state.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
…PIOTE0 config

Add configuration for testing GPIOTE0 instance on nrf54h20/cpurad.

Upstream PR #: 91041

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Copy link

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nordic zephyrproject-rtos/hal_nordic@71308dc zephyrproject-rtos/hal_nordic#298 zephyrproject-rtos/hal_nordic#298/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

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

Successfully merging this pull request may close these issues.

2 participants