Skip to content

timer: ti_dmtimer: allow configuring timer clock source#105919

Open
natto1784 wants to merge 2 commits into
zephyrproject-rtos:mainfrom
natto1784:control_module_example
Open

timer: ti_dmtimer: allow configuring timer clock source#105919
natto1784 wants to merge 2 commits into
zephyrproject-rtos:mainfrom
natto1784:control_module_example

Conversation

@natto1784
Copy link
Copy Markdown
Contributor

Supersedes: #101283

We use the newly added control-module syscon binding to configure the source for TI's DMTimer.

@zephyrbot zephyrbot added platform: TI K3 Texas Instruments Keystone 3 Processors area: Boards/SoCs area: Devicetree Binding PR modifies or adds a Device Tree binding area: Timer Timer platform: TI SimpleLink Texas Instruments SimpleLink MCU labels Mar 20, 2026
@natto1784 natto1784 force-pushed the control_module_example branch from 67b03d3 to 04b8f27 Compare March 20, 2026 09:03
@natto1784 natto1784 changed the title Control module example timer: ti_dmtimer: allow configuring timer clock source Mar 20, 2026
glneo
glneo previously approved these changes Mar 31, 2026
Copy link
Copy Markdown
Contributor

@glneo glneo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Doxygen issues. But the CI failing looks to be due to #105501, should be fixed when then goes in so no issue here.

@natto1784
Copy link
Copy Markdown
Contributor Author

Some Doxygen issues. But the CI failing looks to be due to #105501, should be fixed when then goes in so no issue here.

Doxygen issues seem to be for the missing comments on the clock source macros. Although largely unnecessary, I will add the comments soon.

dnltz
dnltz previously approved these changes Apr 2, 2026
Allow configuring the clock source for TI's dmtimer using syscon driver for
MMR writes. The new property "clksel" takes offset and value to select
the mux configuration.

This is required since there are no clock parent APIs in the clock
controller subsystem as of now.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
Use TI contol module (MMR) via clksel specifier-space to configure the
clock source for TI's DMtimer.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
@natto1784 natto1784 dismissed stale reviews from dnltz and glneo via a4207b9 April 6, 2026 05:46
@natto1784 natto1784 force-pushed the control_module_example branch from 04b8f27 to a4207b9 Compare April 6, 2026 05:46
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 6, 2026

@glneo glneo removed the platform: TI SimpleLink Texas Instruments SimpleLink MCU label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Devicetree Binding PR modifies or adds a Device Tree binding area: Timer Timer platform: TI K3 Texas Instruments Keystone 3 Processors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants