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

imxrt117x: implement clock root tree #290

Merged
merged 2 commits into from
Dec 21, 2023
Merged

imxrt117x: implement clock root tree #290

merged 2 commits into from
Dec 21, 2023

Conversation

gerard5
Copy link
Contributor

@gerard5 gerard5 commented Sep 18, 2023

Description

This pull-request implements i.MX RT117x root clock tree configuration.

By default ARM PLL is set to 800MHz (automotive and industrial targets). For consumer electronics market ARM PLL of M7 CPU is configured to 1GHz.

Description

JIRA: RTOS-608

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: imxrt1176-evk, imxrt-1176-nil

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

@github-actions
Copy link

github-actions bot commented Sep 18, 2023

Unit Test Results

6 002 tests  ±0   5 368 ✔️ ±0   29m 23s ⏱️ - 1m 14s
   346 suites ±0      634 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 3195768. ± Comparison against base commit cb078da.

♻️ This comment has been updated with latest results.

hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
@gerard5 gerard5 force-pushed the gerard5/RTOS-608 branch 8 times, most recently from adad921 to 9596bc6 Compare September 21, 2023 09:25
@gerard5 gerard5 self-assigned this Sep 21, 2023
@gerard5 gerard5 force-pushed the gerard5/RTOS-608 branch 4 times, most recently from 86d3272 to d5e0cc8 Compare December 19, 2023 17:32
@gerard5 gerard5 marked this pull request as ready for review December 19, 2023 18:43
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
Change adjusts inconsistent use cases which relate to MISRA 12.2
"The right hand operand of a shift operator shall lie in the range zero
to one less than the width in bits of the essential type of the left
hand operand".

JIRA: RTOS-374
hal/armv7m/imxrt/117x/imxrt.c Show resolved Hide resolved
hal/armv7m/imxrt/117x/imxrt.c Outdated Show resolved Hide resolved
Copy link
Member

@agkaminski agkaminski left a comment

Choose a reason for hiding this comment

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

LGTM

@gerard5 gerard5 merged commit 90051dc into master Dec 21, 2023
30 checks passed
@gerard5 gerard5 deleted the gerard5/RTOS-608 branch December 21, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants