Skip to content

Conversation

@asmellby
Copy link
Contributor

Series 2 devices have multiple different RTC IPs that all share a HAL driver. Introduce separate bindings for the different IPs, and use a chosen node to select the node to use for timekeeping.

jhedberg
jhedberg previously approved these changes Oct 20, 2025
Different Series 2 devices have different RTC IPs, despite sharing
a HAL driver. Introduce separate bindings for the different IPs, and
use a chosen node to select the node to use for timekeeping.

A chosen node was selected over a nodelabel since chosen nodes can
be overridden by board-level dts and devicetree overlays, while
nodelabels can't.

Signed-off-by: Aksel Skauge Mellbye <[email protected]>
Use the `silabs,sleeptimer` chosen node instead of a devicetree
compatible to select the devicetree node for the RTC.

Signed-off-by: Aksel Skauge Mellbye <[email protected]>
Use the `silabs,sleeptimer` chosen node instead of a devicetree
compatible to select the devicetree node for the counter.

Signed-off-by: Aksel Skauge Mellbye <[email protected]>
@asmellby asmellby force-pushed the feature/sleeptimer-bindings branch from 1e20453 to 06c3b6b Compare October 22, 2025 08:32
@sonarqubecloud
Copy link

@asmellby
Copy link
Contributor Author

Rebased after #97853 was merged causing conflicts.

@kartben kartben assigned jhedberg and asmellby and unassigned nordic-krch Oct 22, 2025
@kartben
Copy link
Contributor

kartben commented Oct 22, 2025

re-assigning to silabs platform maintainers

@cfriedt cfriedt merged commit c00f8c6 into zephyrproject-rtos:main Oct 22, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Counter area: Devicetree Bindings area: RTC Real Time Clock area: Tests Issues related to a particular existing or missing test area: Timer Timer platform: Silabs Silicon Labs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants