feat(PeriphDrivers): Allow skipping RTC clock config for all parts - #1603
Merged
Conversation
Wrap clock configuration in MXC_RTC_Init with MSDK_NO_GPIO_CLK_INIT guard so that clock configuration can be done externally. Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
ttmut
force-pushed
the
feat/rtc_msdk_no_gpio_clk
branch
from
August 17, 2026 22:39
8cdafbe to
b06a2e2
Compare
petejohanson-adi
approved these changes
Aug 17, 2026
For MAX32657, expand RTC clock source selection to support external clock input. Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
ttmut
force-pushed
the
feat/rtc_msdk_no_gpio_clk
branch
from
August 21, 2026 07:34
b06a2e2 to
51b0a98
Compare
Contributor
Author
Restored |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Continuation of #1601
Wrap clock configuration code in
MXC_RTC_InitwithMSDK_NO_GPIO_CLK_INITguard so that clock configuration can be done externally.In Zephyr side, clock source selection for RTC will be done outside the RTC driver, so remove the obsolete wrapper code. Also add external clock source option to
wrap_get_32k_clock_source_instance.With zephyrproject-rtos/zephyr#116541, we can support
RTC_CLK_INas 32kHz clock source.