Skip to content
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

dts: atmel: sam0: Convert counter TC driver to new DT macros #24687

Merged
merged 2 commits into from
Apr 25, 2020

Conversation

galak
Copy link
Collaborator

@galak galak commented Apr 24, 2020

No description provided.

Add clock references for ADC and TC devices.  Update the bindings for
these devices to require clocks property and update the dtsi files to
have the clock info.

Signed-off-by: Kumar Gala <[email protected]>
@galak galak requested a review from nordic-krch as a code owner April 24, 2020 18:22
@galak galak added area: Counter area: Devicetree platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) labels Apr 24, 2020
@zephyrbot
Copy link
Collaborator

zephyrbot commented Apr 24, 2020

All checks passed.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Rework the devicetree to utilize new DT_INST macros and extract per
instance data for clocks from devicetree.  Move the prescaler setting
from Kconfig to devicetree as well.

Signed-off-by: Kumar Gala <[email protected]>
Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

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

Test with SAMR21: OK

@galak galak merged commit 8eafcc3 into zephyrproject-rtos:master Apr 25, 2020
@galak galak deleted the dt-sam0-tc branch April 25, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Counter area: Devicetree platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants