-
Notifications
You must be signed in to change notification settings - Fork 720
[nrf fromlist] dts: common: nordic: Add clock source to timers #2391
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
Merged
Conversation
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
nika-nordic
approved these changes
Dec 16, 2024
bjarki-andreasen
approved these changes
Dec 16, 2024
kl-cruz
approved these changes
Dec 16, 2024
61fbc0d to
9d111f9
Compare
|
Needed to add [nrf fromtree] commits to avoid conflicts or noups |
9d111f9 to
8d403f0
Compare
…rf54l15bsim The HW models now support these pheripherals, let's enable them Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 4b890bc)
Enable this test, and provide overlays, in the nrf54l15bsim Note this test specs 2 GPIO pins to be shorted. This can be done for the simulation target by calling zephyr.exe with the option `-gpio_conf_file=shorts_config.txt` Where that file would contain this one line (for the provided overlay) ---- shorts_config.txt short 1.1 1.2 ---- Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 1b1d3ca)
Enable this test, and provide overlays, in the nrf54l15bsim Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit fb5ee60)
Enable this test by providing an overlay for the nrf54l15bsim Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 990fc4c)
…rf5340bsim The HW models now support these pheripherals, let's enable them Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit d0746f1)
Enable this test, and provide overlays, for the nrf5340bsim. Both for the app and net core. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 8bd0a25)
Enable this test, and provide overlays, in the nrf5340bsim Note this test specs 2 GPIO pins to be shorted. This can be done for the simulation target by calling zephyr.exe with the option `-gpio_conf_file=shorts_config.txt` Where that file would contain this one line (for the provided overlay), for the cpunet: ---- shorts_config.txt short 1.1 1.2 ---- And this for the cpuapp: ---- shorts_config.txt short 3.1 3.2 ---- Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 14c096f)
Enable this test by providing an overlay for the nrf5340bsim Both for the app and net core. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit da01758)
…rted Include in the list of supported peripherals the GPIO and GPIOT for both the nrf5340 and nrf54l15 Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 3418305)
…bsim The HW models now support this peripheral for these targets. Let's enable them. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit a7abf80)
Enable this test in the simulated nrf5340 by providing an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit dd13fa0)
Enable this test in the simulated nrf5340 and provide an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 51053cc)
Enable this test in the simulated nrf5340 and provide an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 5321941)
… nrf5340 Include in the list of supported peripherals the UARTE for the simulated nrf5340 Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 7065b46)
…5bsim The HW models now support this peripheral for this target. Let's enable it. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit ca46c7c)
… nrf54l15 Include in the list of supported peripherals the UARTE for the simulated nrf54l15 Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 890f134)
Enable this test in the simulated nrf54l15 by providing an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit dd2f411)
Enable this test in the simulated nrf54l15 and provide an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit eec7363)
Enable this test in the simulated nrf5340 and provide an appropriate overlay. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 9c386ca)
… nrf54l15 To increase coverage. Note that we call twister separatedly for this target, due to the 54l15 overlays using UARTE20 which is indexed in simulation as "2", but as the nrf52833 does not have 3 instances. So "-uart2_loopback" is not a valid option for a 52833 executable. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 4558056)
Add 128 MHz clock source and use it for uart00. Baudrate setting must be adjusted based on uart clock source so without this change there is wrong baudrate on uart00. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 923d313)
Do not delete clocks for the bsim target. Clocks are referenced by peripherals and it can be used to get frequency that clocks the peripheral. Upstream PR #: 82901 Signed-off-by: Krzysztof Chruściński <[email protected]>
Add clock source to timers which indicates maximum frequency of the timer instance. Upstream PR #: 82901 Signed-off-by: Krzysztof Chruściński <[email protected]>
8d403f0 to
e07f124
Compare
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.
Add clock source to timers which indicates maximum frequency of the timer instance.
This enables execution of
tests/drivers/counter/counter_basic_apion nrf54h20/cpuradUpstream PR : zephyrproject-rtos/zephyr#82901