-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move clocks configuration to DT #1
Conversation
Align UARTE driver config to nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
SYSTEM_CLOCK_WAIT will be a common part for a next version of Nordic timer. Signed-off-by: Witold Lukasik <[email protected]>
NRF_RTC_TIMER will not be a default timer in the next version of Nordic timer. It should be soc selection specific. Signed-off-by: Witold Lukasik <[email protected]>
Add dts bindings for Global Real-Time Counter. Signed-off-by: Magdalena Pastula <[email protected]>
Add GRTC instance in Nordic HAL configs. Signed-off-by: Magdalena Pastula <[email protected]>
Add GRTC as possible clock source. Signed-off-by: Magdalena Pastula <[email protected]>
Add Nordic driver for GRTC. Signed-off-by: Magdalena Pastula <[email protected]>
Add new TIMER instances for nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
Add new TIMER instances for nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
Add new UARTE instances for nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
Add new UARTE instances for nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
Add address validation for new WDT instances on nRF54L15. Signed-off-by: Witold Lukasik <[email protected]>
Add dts files for nRF54L15 chip. Signed-off-by: Witold Lukasik <[email protected]>
RRAM is a part of nRF54L15 SOC. Signed-off-by: Witold Lukasik <[email protected]>
Add soc files for new Nordic family. Signed-off-by: Witold Lukasik <[email protected]>
Add config files for nRF54L15. Signed-off-by: Witold Lukasik <[email protected]>
Add board files for nRF54L15 DK. Signed-off-by: Witold Lukasik <[email protected]>
Add Nordic driver for cache. Signed-off-by: Witold Lukasik <[email protected]>
Add support for new Nordic family in west commands. Signed-off-by: Witold Lukasik <[email protected]>
Add overlay file for counter_basic_api test. Signed-off-by: Witold Lukasik <[email protected]>
Chaged _ISR_OFFSET to be 28 as specified in OPS. Added nrfx_uarte_20_irq_handler as CONSOLE_UART_IRQ_HANDLER. Signed-off-by: Witold Lukasik <[email protected]>
Add overlay files to uart tests for nRF54L15. Signed-off-by: Witold Lukasik <[email protected]>
Add overlay file for gpio_basic_api test. Signed-off-by: Magdalena Pastula <[email protected]>
Add overlay files for i2s tests. Signed-off-by: Magdalena Pastula <[email protected]>
Add overlay file to spi_loopback test for nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
Add overlay file for wdt_basic_api test. Signed-off-by: Magdalena Pastula <[email protected]>
Add overlay file for qdec test. Signed-off-by: Magdalena Pastula <[email protected]>
Add overlay file for watchdog sample. Signed-off-by: Magdalena Pastula <[email protected]>
Update hwinfo driver to be aligned to nRF54L15. Signed-off-by: Magdalena Pastula <[email protected]>
In nRF54L15 FICR can be accessed also from non-secure code, so it does not have NRF_FICR_S defined. Signed-off-by: Magdalena Pastula <[email protected]>
To describe the low frequency crystal oscillator present in some nRF series. Signed-off-by: Gerard Marull-Paretas <[email protected]>
bdf34d7
to
3eda10a
Compare
include: [fixed-clock.yaml] | ||
|
||
properties: | ||
clock-frequency: |
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.
How about crystal-frequency
? So it's not confused with frequencies generated by CLOCK.
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.
It's a property inherited from fixed-clock, and specified the frequency of the clock itself (not of any other generated clock using this one as a source). I'd align with others using fixed-clock (a similar case is STM32 HSE)
lfxo: lfxo { | ||
compatible = "nordic,nrf-lfxo"; | ||
#clock-cells = <0>; | ||
clock-frequency = <32768>; |
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.
Isn't this superfluous since
clock-frequency:
const: 32768
?
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.
it's still required
devicetree error: 'clock-frequency' is marked as required in 'properties:' in /home/gmarull/ws/nordic/zephyrproject/zephyr/dts/bindings/clock/nordic,nrf-lfxo.yaml, but does not appear in <Node /clocks/lfxo in '/home/gmarull/ws/nordic/zephyrproject/zephyr/misc/empty_file.c'>
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.
# 'const' is just a special case of an enum with a single possible value
I had no idea, the more you know
hfxo: hfxo { | ||
compatible = "nordic,nrf-hfxo"; | ||
#clock-cells = <0>; | ||
clock-frequency = <32000000>; |
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.
As previous
Add LFXO clock node. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configure LFXO to use internal capacitors with 15.5pF. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Instead of relying on Kconfig options. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Add bindings for the nRF HFXO present in some nRF SoCs. Signed-off-by: Gerard Marull-Paretas <[email protected]>
For HFXO. Signed-off-by: Gerard Marull-Paretas <[email protected]>
To use internal capacitors, with 15pF value. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Instead of Kconfig Signed-off-by: Gerard Marull-Paretas <[email protected]>
3eda10a
to
0f3b79f
Compare
716e8b7
to
8bb464f
Compare
These changes are now integrated in zephyrproject-rtos#67446 . If you have any notes, please comment there. |
No description provided.