Commit graph

136,983 commits

Author SHA1 Message Date
Kyle Bonnici
a8c4eb7bfc dts: formatting lower case hex
Some PRs may have not been rebased to be validated using the new
dts-linter that endoced the hex values in lower case. This commit
formats the hex values in lower case for consistency.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-23 13:31:41 -06:00
Kyle Bonnici
27d1290ea3 dts: Formatting indent macro params
These are the changes generated when using the new dts-linter

All expression are now aligned with the group they are in.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-23 13:31:41 -06:00
Kyle Bonnici
5acb4bd916 dts: formatting indent expressions
These are the changes generated when using the new dts-linter

All expression are now aligned with the group they are in.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-23 13:31:41 -06:00
Kyle Bonnici
e0ca21ab5c CI: Update dts-linter to dts-linter 0.4.0
Expressions will now indent to align with the group they are in example:

Was

```devicetree
dmas = <&dma2 1 0 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
 		STM32_DMA_16BITS) 0>;
```

Now

```devicetree
dmas = <&dma2 1 0 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
				   STM32_DMA_16BITS) 0>;
```

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-23 13:31:41 -06:00
Ayush Singh
a167872892 boards: beagle: pocketbeagle_2: doc: Fix typo
- We are working on MSPM0L1105 in this line.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-23 13:29:08 -06:00
Ayush Singh
9e8db1e2dd boards: beagle: pocketbeagle_2: mspm0l1105: Enable UART by default
- Using pins P1.19 and P1.21 as UART RX and TX respectively.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-23 13:29:08 -06:00
Ayush Singh
2b933f2a4d boards: beagle: pocketbeagle_2: mspm0l1105: Include pinctrl
- Include common pinctrl for mspm0l110x.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-23 13:29:08 -06:00
Szymon Janc
7f044f0a00 Bluetooth: GATT: Fix writable appearance Kconfig choice name
Make sure choice option name is not same as actual config option
that is enabling it. Use _SECURITY suffix for clarity of what
choice is actually about.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2026-02-23 17:00:16 +00:00
Mathieu Choplain
0f6b8c19ab drivers: clock_control: stm32_common: fix wrong register name for LSEDRV
In a few series managed by the common driver, the LSEDRV field is not in
RCC_BDCR but a different register.

Use proper register name when obtaining the shift to ensure a non-zero
driving capability can be used on these series.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-23 16:59:56 +00:00
Xavier Razavet
204952a8f0 samples: openthread: shell: mcxw .conf files updated
Enabling the IEEE802154 CSL endpoint to support MCXW72 as a SEED role.
prj-ot-host.conf and sample.yaml corrected for compilation purpose.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2026-02-23 16:59:43 +00:00
Xavier Razavet
3cd56a424c drivers: ieee802154: mcxw ieee802154 CSL receiver correction
CSL receiver is managed as follows:
	- Started in mcxw_tx() when CSL period is configured
	- Synchronized in set_csl_sample_time() for RX slots
	- Stopped after PHY operations in SAP handlers

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2026-02-23 16:59:43 +00:00
Xavier Razavet
e8ec97bc91 soc: nxp: FIRC calibration correction
Calibration correction applied to the Fast Internal Reference Clock (FIRC)
configuration in the MCXw7xx System-on-Chip to address OSC32K oscillator
drift issues.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2026-02-23 16:59:43 +00:00
Jamie McCrae
342b415e94 doc: contribute: style: kconfig: Add SoC naming scheme
Adds a naming scheme for SoC Kconfig symbols with examples

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-23 16:59:24 +00:00
Michal Smola
f5c65899dc drivers: nxp: Allow usage of clocks without subsystem name
Several NXP drivers require clock control subsystem name definition in
Devicetree. It prevents usage of clock control without subsystem such
as fixed-clock. fixed-clock can be used for early SoC enablement when
complete clock controller is not available or not required.
Allow optional usage of clock control without subsystem by using 0 as
subsystem name if the name is not defined in devicetree. Add the option
for port, i2c, spi and serial drivers.

Signed-off-by: Michal Smola <michal.smola@nxp.com>
2026-02-23 16:59:01 +00:00
Robert Robinson
06df0e6a0b tests: drivers: spi: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
5ff66dcf25 tests: drivers: pwm: pwm_gpio_lookback Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
7fb2733cd0 tests: drivers: i2s: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
21355893c8 tests: drivers: i2c: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
f3d2b07947 tests: drivers: gpio: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
1da6c4443c tests: drivers: counter: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
382dce3f12 tests: drivers: comparator: gpio_loopback: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
68b53e8eb5 tests: drivers: clock_control: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
4511e75716 tests: boards: nrf: i2c: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Robert Robinson
807bd74b66 tests boards: nrf_comp: Add support for nRF7120
After porting nRF7120 to Zephyr, all tests that were supported in
sdk-nrf must now be supported in Zephyr instead.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-02-23 16:58:49 +00:00
Seppo Takalo
df9b5f9faa drivers: modem: cellular: Change default boot time of nRF91 SM
Change default boot time of nRF91 Sip running Serial Modem
application.

If reset-line is toggled, we need to wait for the boot. Otherwise,
the init script starts too soon.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-02-23 16:58:32 +00:00
Seppo Takalo
44c01794eb drivers: modem: cellular: Remove default behavior from common yaml
Remove default behavior from common zephyr,cellular-modem-device.yaml.

This allows DTS binding files to include it without "property-blacklist".

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-02-23 16:58:32 +00:00
Seppo Takalo
b3fb7b7980 drivers: modem: cellular: Allow defining reset GPIO behavior
Some modems enter a power-up sequence if reset line is held active,
so we need a way to alter the GPIO behavior.

Define a "zephyr,mdm-reset-behavior" enum in device tree to allow
choosing one, or all of the supported behaviors

* hold_on_suspend
* toggle_on_resume
* toggle_on_recovery

By default, all of the behaviors are enabled, so it matches the
previous implementation.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-02-23 16:58:32 +00:00
Martin Moya
996feaea91 bluetooth: services: cts: Add local time information characteristic
CTS is missing the Local Time Information characteristic and this
commit adds the UUID and the full characteristic to its service.

The peripheral example has been updated as well to use this and
implement it on the example so it is easy to test it out.

Signed-off-by: Martin Moya <moyamartin1@gmail.com>
2026-02-23 16:58:13 +00:00
William Markezana
81c77d59d1 arch: riscv: fix missing CONFIG_ prefix for RISCV_NO_MTVAL_ON_FP_TRAP
The ifdef guard in isr.S was written without the CONFIG_ prefix,
making the mtval fallback path dead code on all platforms including
QEMU (which previously worked via CONFIG_QEMU_TARGET).

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-02-23 11:36:28 +00:00
Gerson Fernando Budke
7ef68a8276 tests: secure_storage: psa: its: Use FIXED_PARTITION_MTD
Use FIXED_PARTITION_MTD(storage_partition) instead of
DEVICE_DT_GET(DT_CHOSEN(zephyr_flash_controller)) to obtain the
flash device for erasing the storage partition. This correctly
resolves the flash device that contains the storage partition,
which may be on external flash rather than the internal flash
controller.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-02-23 11:36:15 +00:00
Afonso Oliveira
ce3f07a47d arch: riscv: csr: lock IRQs around indirect CSR (micsr) access
The micsr_* helpers use a two-step MISELECT+MIREG sequence that is not
atomic. If an interrupt fires between writing MISELECT and accessing
MIREG, the handler could modify MISELECT, causing the MIREG operation
to target the wrong indirect register.

Wrap the MISELECT+MIREG sequence in each micsr_* helper with
irq_lock/irq_unlock to prevent preemption during the two-step access.
This ensures all callers are automatically protected without needing
to add locking at each call site.

Move the micsr_* helpers from csr.h into a new icsr.h header to avoid
pulling zephyr/irq.h into csr.h, which causes circular dependencies
on some SoCs. Code that needs indirect CSR access now explicitly
includes icsr.h.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-02-23 11:36:07 +00:00
Fin Maaß
eaccc7a84a gpio: litex: fix setting oe
set oe (output enable) correctly and not always to 1.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-23 11:35:54 +00:00
Fin Maaß
6cd2923835 gpio: litex: clear all pending irq before enabling
clear all pending irq before enabling.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-23 11:35:54 +00:00
Fin Maaß
44b1f1b5df gpio: litex: enable the irq via ev_enable at the end
when configureing the irq, do the enableing at last.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-23 11:35:54 +00:00
Vinit Mehta
0d387be9b6 bluetooth: host: add kconfig for evt synchronous buffer pool
- Add kconfig for HCI event synchronous buf pool to allow vendors
to configure buffer count based on the application/host platform
requirements

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2026-02-23 11:35:42 +00:00
Pieter De Gendt
9e5d9081f9 doc: hardware: peripherals: otp: Add shell config option
Add an entry to the configuration options for the OTP Shell.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-23 11:35:33 +00:00
Pieter De Gendt
747eeeb384 drivers: otp: Add shell commands
Add shell support for reading/programming One Time Programmable (OTP)
devices.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-23 11:35:33 +00:00
Venkatesh Odela
712e30e3c7 drivers: ethernet: phy: Fix missing configurations
Add indirect read/write method for accessing extended register
set beyond 0x1F. Implement configuration for strap quirk, reset
and restart ensures reliable PHY initialization and operation.

Signed-off-by: Abin Joseph <abin.joseph@amd.com>
Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
2026-02-23 11:35:14 +00:00
Ritesh Kudkelwar
cb1788da00 samples: bluetooth: clarify dynamic L2CAP channel naming
Rename fixed_chan to l2cap_chans to avoid confusion with fixed channels.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-02-23 11:35:01 +00:00
Ritesh Kudkelwar
a35e1b2962 samples: bluetooth: add L2CAP CoC server sample
Add a simple L2CAP Connection-oriented Channel (CoC) server sample that
accepts incoming connections and exchanges data.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-02-23 11:35:01 +00:00
Ritesh Kudkelwar
3489f2997a samples: bluetooth: add L2CAP CoC client sample
Add a client sample that connects to an L2CAP CoC server and demonstrates
basic data transmission.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-02-23 11:35:01 +00:00
Ritesh Kudkelwar
e8319b9a92 doc: add L2CAP CoC documentation example
Add a step-by-step example for creating an L2CAP CoC server and update the
documentation to reference the new samples.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-02-23 11:35:01 +00:00
Carlo Caione
b4c5ee9b66 samples: drivers: lora: add native STM32WL build tests
Add build-only test entries for the nucleo_wl55jc board using the
native LoRa backend for both send and receive samples.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-23 11:34:35 +00:00
Carlo Caione
ed7f33df6e drivers: lora: sx126x: add STM32WL sub-GHz radio support
Add support for the STM32WL integrated sub-GHz radio to the native
SX126x driver. The STM32WL has an SX126x-compatible radio core but
uses internal peripherals instead of external GPIOs.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-23 11:34:35 +00:00
Carlo Caione
ea3fa9a819 drivers: lora: sx126x: factor out common HAL code
Extract common HAL functions shared between different SX126x
implementations into sx126x_hal_common.c, this prepares the driver for
supporting additional platforms like the STM32WL integrated radio.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-23 11:34:35 +00:00
Shontal Biton
a601f123b4 dts: arm: silabs: Use BURTC as counter by default in s2
The sleeptimer is mainly SYSRTC so BURTC isn't used.
Switching the defualt compatible so BURTC will be used as counter.

Signed-off-by: Shontal Biton <shontal1005@gmail.com>
2026-02-23 11:32:26 +00:00
Shontal Biton
4f66943327 drivers: counter: Add counter driver for BURTC in Silabs s2 and s3
Add support for using BURTC as regular counter,
without overriding the sleeptimer.

Signed-off-by: Shontal Biton <shontal1005@gmail.com>
2026-02-23 11:32:26 +00:00
Shontal Biton
9a7edfb850 samples: counter: alarm: change timer define name
TIMER is defined in some HAL interfaces causing multiple declaration.
Changing TIMER to SAMPLE_TIMER solves this problem.

Signed-off-by: Shontal Biton <shontal1005@gmail.com>
2026-02-23 11:32:26 +00:00
Jukka Rissanen
3a40c90b98 net: dns: Check that DNS packet contains also query type and class
When receiving a DNS query, make sure that the packet contains
also query type and class fields before trying to access them.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-02-23 08:53:00 +01:00
William Markezana
357eb7aae5 tests: watchdog: add tests for Bouffalo Lab BL70x WDT driver
Add BL70x platform entry to wdt_basic_api test suite.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-02-23 08:52:12 +01:00