-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drivers: clock_control: add Ambiq clock control driver #63097
drivers: clock_control: add Ambiq clock control driver #63097
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
42a79c4
to
a3e5e81
Compare
f603625
to
3b33b0d
Compare
Hi @nordic-krch @MaureenHelm @carlescufi @galak @nashif, could you help take a look at this PR? Thank you very much. |
Hi @MaureenHelm @fkokosinski @tgorochowik, if possible, could you take a look at this pull request? Thanks so much. |
Hi @nordic-krch , could you help talk a look and let's know what I can do to move forward this PR? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. It looks ok with one minor comment.
3b33b0d
to
f60d83b
Compare
dcfb710
to
85d0345
Compare
Thanks @fkokosinski for merging the corresponding HAL PR. |
Hi @MaureenHelm , could you revisit this? Thanks. |
85d0345
to
af86467
Compare
Rebased the branch to solve the conflict. @MaureenHelm @nordic-krch Looking forward to your revisiting, sorry for inconvenience. |
af86467
to
a13d306
Compare
@nordic-krch Sorry I had to rebase again to solve new conflicts for this pending PR. Hi @fkokosinski , could you take a look as well to help move forward this PR? Thanks very much. |
Hi, this is Zhongyi Chen from Ambiq. We could completely understand how busy you are with so many PRs to review. It'd greatly appreciated if you can help to review in time especially for those PRs sitting there a long time and their author addressing quickly to your comment. @nordic-krch @fabiobaltieri Thank you in advance. |
Hi @MaureenHelm , could you help revisit, please? Thank you. |
a13d306
to
d4e1316
Compare
Hi @fabiobaltieri thanks for your review, I addressed your comments. |
d4e1316
to
08212f4
Compare
This commit adds Ambiq clock_control driver support. Signed-off-by: Aaron Ye <[email protected]>
This commit instantiates the clock control for Apollo4 Blue Plus. Signed-off-by: Aaron Ye <[email protected]>
This commit enables clock control instances for apollo4p_blue_kxr_evb. Also adds pin configuration for each instance. Signed-off-by: Aaron Ye <[email protected]>
This commit adds am_hal_mcuctrl.c for wide usage. Signed-off-by: Aaron Ye <[email protected]>
08212f4
to
be7baae
Compare
Hi @nordic-krch , could you help revisit again? Sorry to always dismiss your approving because of comment addressing and conflict resolving. |
This PR basically implements clock control driver for Ambiq Apollo series soc.
The clock control driver is mainly used to enable/disable the XTAL32MHz and XTAL32kHz and output it via specific IO to the dedicated modules, for example, the BLE controller inside of Apollo4 Blue Plus soc.
It is enabled in Apollo4 Blue Plus.
Verified the below Zephyr standard APIs worked as expected in apollo4p_blue_kxr_evb:
The configured clock IOs could output the accurate 32MHz and 32kHz clock and made the connected module (e.g., the BLE controller) work properly.
This PR should be merged after the HAL PR zephyrproject-rtos/hal_ambiq#8 merged.