Commit graph

136,983 commits

Author SHA1 Message Date
Julien Vermillard
4e54e9a806 net: lwm2m: get cache free slots
Add function to query LwM2M cache free slots on a given path.

Signed-off-by: Julien Vermillard <julien@clunkymachines.com>
2025-11-14 09:20:59 +01:00
Zhaoxiang Jin
0b93c2f8ee tests: on_demand: Add test for P-states order
Ensure that the P-states defined in devicetree for the CPU frequency
scaling on-demand policy are in decreasing order of load thresholds.
This is important because the on-demand policy relies on this order
to select the appropriate P-state based on current CPU load.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-11-13 20:46:01 -05:00
Zhaoxiang Jin
2194069d8d cpu_freq: Validate P-states in devicetree in build time
Validate P-states in devicetree in build time. If no
P-states are defined, a build error will be raised.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-11-13 20:46:01 -05:00
Zhaoxiang Jin
e5c0abb43b doc: cpu_freq: add details about on-demand policy
add details about on-demand policy

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-11-13 20:46:01 -05:00
Zhaoxiang Jin
26f773fb72 cpu_freq: Add fallback mechanism for on-demand policy
In current on_demand policy, if it doesn't find a P-state
with a threshold lower than the current load, it will fail
to switch state. For example, if load went from 100% -> 0%
suddenly as the chip would get stuck in a "turbo mode"
meanwhile its load is low.

This commit add fallback mechanism for on-demand policy,
that is if no P-state matches (i.e., the load is below all
thresholds), the policy will fall back to the P-state with
the lowest load_threshold (typically the lowest performance
state).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-11-13 20:46:01 -05:00
Lyle Zhu
03e062219a Bluetooth: Classic: shell: hfp: Add command last_number
Add the command `last_number` to set the last dialed phone number.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-13 20:45:50 -05:00
Lyle Zhu
97b4373d9b Bluetooth: Classic: HFP_AG: Add callback redial to get number
If a phone was made during the previous SLC, AG cannot properly
process the redial request sent by HF after reconnecting.

Add a callback `redial` to get the last dial number from the upper
layer when `AT+BLDN` command is received.

If the callback is not provided or the error is returned after the
callback returned, send error response to the HF.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-13 20:45:50 -05:00
Tom Chang
1a8e7f3005 drivers: counter: npcx: add support for lct counter driver
This commit enables configuration and integration of LCT counter by
including relevant source and kconfig files.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-11-13 20:45:41 -05:00
Tom Chang
f4d258204a soc: npcx: add lct register definitions
Introduce register structures and macros for the long countdown timer to
support counter functionality in npcx and npck series.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-11-13 20:45:41 -05:00
Tom Chang
5dac45d951 dts: counter: npcx: add LCT node and bindings
Introduce bindings for the NPCX LCT hardware counter.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-11-13 20:45:41 -05:00
Ayush Singh
66877ec198 boards: beagle: play: Disable internal capacitors
- BeaglePlay has external load capacitors for the 48 MHz crystal. The
  reason for this is described in Radio_01 here [0]. So we should
  disable the internal capacitors.
- I have tested connection between play and bcf with the new play
  settings. For anyone wanting to replicate it, I have used greybus
  loopback protocol [1]. Here is my script:
```
echo 50 > /sys/class/gb_loopback/gb_loopback0/iteration_max
echo 2 > /sys/class/gb_loopback/gb_loopback0/type
sleep 10
cat /sys/class/gb_loopback/gb_loopback0/latency_avg
```
- Results:
  - Before change: 89545.880000 microsec
  - After change: 87822.620000 microsec
- Basically, no regression.

[0]: https://www.ti.com/lit/er/swrz109a/swrz109a.pdf?ts=1761755410798
[1]: https://github.com/zephyrproject-rtos/zephyr/issues/98259

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-11-13 20:45:32 -05:00
Dev Joshi
080734ce0f tracing: rtio: Add tracing hooks for rtio
This commit adds tracing support/hooks for rtio subsystem. It was
requested in #76972.

Signed-off-by: Dev Joshi <devbhave@qti.qualcomm.com>
2025-11-13 20:45:24 -05:00
cyliang tw
1f47d245cd tests: drivers: spi: spi_loopback: support numaker_m3334ki
Add support for Nuvoton numaker board numaker_m3334ki.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-11-13 20:45:15 -05:00
cyliang tw
86ed750ff8 dts: arm: nuvoton: add spi nodes for numaker m333x
Update m333x.dtsi to include spi configuration.
Also fixed warning of not correctly formatted clk-pclkdiv.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-11-13 20:45:15 -05:00
Alberto Escolar Piedras
40dc5b17a8 drivers uart_native_pty: Remove deprecated options & binding
In cb53e40ff9
the uart_native_posix driver was renamed to uart_native_pty while
deprecating the old kconfig options and bidning for the 4.2 release.

Let's remove them now.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-11-13 20:45:05 -05:00
Alberto Escolar Piedras
62be171fc6 drivers entropy: fake_entropy_native_posix: Remove deprecated
This driver was renamed in
4338122248
while the old kconfig options and dts binding were deprecated for 4.2
Let's remove them now.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-11-13 20:44:56 -05:00
Erwan SZYMANSKI
873dea03bc boards: st: stm32mp135f_dk: add touchscreen and lvgl pointer
STM32MP135F_DK board embeds a LCD screen with touchscreen driven by I2C5.
GT911 touchscreen already have driver support in Zephyr so just add
necessary nodes here.

Signed-off-by: Erwan SZYMANSKI <erwan.szymanski@st.com>
2025-11-13 20:44:36 -05:00
Alexander Svensen
fa7d9bf09c tests: bluetooth: tester: Fix bis_sink_sync
- Allows the tester to match on either ID or addr
- Previously required that both needed to match, but Auto-PTS is sending
  the wrong address

Signed-off-by: Alexander Svensen <alexander.svensen@nordicsemi.no>
2025-11-13 20:44:02 -05:00
Alberto Escolar Piedras
031a3adaef drivers/ethernet/eth_native_tap: Remove deprecated kconfig options
The old native_posix ethernet was renamed to native_tap in
78f800642a
and its old kconfig options deprecated at the time (in 4.2)
Let's remove them now.

Note in this commit we move the defaults into their right place.
Defaults were set in the deprecated options so we could both
have the defaults and allow users to keep using the old options.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-11-13 20:43:53 -05:00
Alberto Escolar Piedras
1ad92e5c79 boards native_sim: Remove NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
The kconfig option NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME was deprecated
in bd42df2662 for the 4.2 release.
Let's remove it now.

Users should be using NATIVE_SIM_SLOWDOWN_TO_REAL_TIME instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-11-13 20:43:44 -05:00
Jonas Berg
a76dfca84a boards: shields: Add Adafruit MCP4728 DAC shield
The product photo is from
https://learn.adafruit.com/assets/86699

Tested with the command mentioned in the index.rst file.

Compile testing of the overlay file is done via the DAC sample.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-11-13 20:43:19 -05:00
Siddhant Modi
904e34c41a drivers: sdhc: sdhc_spi: Adding support for cd_gpio
1. This commit adds support for the cd-gpios property
   to the dts binding for the sdhc_spi driver.
2. The _init function is updated to initialize the GPIO
   pin if it is found.
3. The _get _card_present function is updated to check
   the GPIO pin state if the pin has been initialized.

Signed-off-by: Siddhant Modi <siddhant.modi@gmail.com>
2025-11-13 20:43:12 -05:00
Triveni Danda
0186d123e8 doc: wifi: Add server certificate domain validation instructions
Add instructions for verifying the authentication server’s certificate
domain using exact domain match and domain suffix match options.

Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
2025-11-13 20:42:52 -05:00
Triveni Danda
b4e2cd139b net: l2: wifi: Handle domain match and suffix match parameters
Add support to handle domain match and suffix match parameters
for proper server certification validation.

Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
2025-11-13 20:42:52 -05:00
Triveni Danda
b708f3d04b manifest: hostap: Enable server certificate verification
Enable hostname validation for server certificate verification.

Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
2025-11-13 20:42:52 -05:00
Albort Xue
e6efe0f217 drivers: flash: Optimize mcux_flexspi_nor erase for unaligned operations
Improve erase efficiency by using a hybrid approach that combines block
and sector erase operations.
The new implementation:
- Erases unaligned sectors at the start until block-aligned
- Erases whole blocks in the middle protion
- Erases remaining sectors at the end.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2025-11-13 20:42:39 -05:00
Grzegorz Chwierut
9953f330cc doc: twister: Document extra serial port
Update documentation for using multiple serial ports
with Twister's --devise-serial option.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-11-13 20:42:31 -05:00
Grzegorz Chwierut
c542b258db samples: sysbuild: hello_world: Get second UART from Twister params
Use --device-serial command line option to specify multiple serial
ports. Split test into two separate test functions.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-11-13 20:42:31 -05:00
Grzegorz Chwierut
b33387c44a scripts: twister: Add support for passing extra serial port to pytest
Extend twister's device serial handling to support multiple serial ports
for pytest-based tests. This enables testing scenarios that require
communication with multiple UART interfaces on the same device.
This enhancement enables comprehensive testing of multi-UART devices
while maintaining backward compatibility with single serial setups.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-11-13 20:42:31 -05:00
Xavier Razavet
76a102a8bd drivers: ieee802154: mcxw_get_eui64() updated to manage MAC address
The mcxw_get_eui64() function allows to provide a persistent MAC
address if it does not exist

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-11-13 20:42:22 -05:00
Xavier Razavet
fbadac59fe samples: openthread: shell: prj-ot-host.conf file updated
Settings configuration is removed in the
zephyr/samples/net/openthread/shell/prj-ot-host.conf file.
No more used.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-11-13 20:42:22 -05:00
Xavier Razavet
ec982e6408 boards: nxp: frdm_mcxw71: update flash code/hw_params/storage allocation
This commit add 1K for the hardware parameters (at the end of the flash)
and reduces the storage to 111k. It is used, first, to store the MAC
address.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-11-13 20:42:22 -05:00
Xavier Razavet
372341d4c5 boards: nxp: mcxw72: update flash code/hw_params/storage allocation
This commit add 1K for the hardware parameters (at the end of the
flash) and reduces the storage to 15k. It is used, first, to store
the MAC address.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-11-13 20:42:22 -05:00
Holt Sun
47dcc246e0 boards: nxp: frdm_mcxe247: enable rtc.
1.enable rtc_counter for frdm_mcxe247.
2.fix some format issue of mcxe247 dts.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-11-13 20:41:39 -05:00
Holt Sun
2e02d29295 boards: nxp: frdm_mcxe31b: enable rtc device.
1. enable RTC and rtc-counter alias for
frdm_mcxe31b.
2. enable sample driver counter alarm.
3. enable sample driver rtc.
4. enable counter_basic_api test.
5. fix misc mcxe31b dts format error.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-11-13 20:41:39 -05:00
Holt Sun
87f8264c65 drivers: counter: add counter driver for NXP E31B.
add counter rtc jdp driver for MCXE31B.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-11-13 20:41:39 -05:00
Holt Sun
11c9176ad6 dts: bindings: rtc: add NXP RTC JDP binding.
rtc jdp binding is for NXP E31B device RTC.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-11-13 20:41:39 -05:00
Holt Sun
9e0cfb7b25 drivers: rtc: rtc_counter driver improvement.
Existing rtc_counter driver only support
frequency equaling 1 Hz, update it to support
any frequency.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-11-13 20:41:39 -05:00
Qingsong Gou
64d0f3faf3 drivers: clock_control: sf32lb: add get_rate support
Add get_rate support for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-13 20:41:27 -05:00
Seppo Takalo
9acbcadfda modem: cmux: Define encoding and decoding functions for commands
Instead of relying non-standard compiler behavior, define
encode and decode functions for all CMUX command structures.

Final command is encoded into a shared buffer, because it is
always copied directly to TX ringbuffer.

Added also functions to validate commands.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-11-13 20:41:17 -05:00
Fin Maaß
402c66a5e1 arch: riscv: vexriscv: add VexRiscv cache driver
add driver for VexRiscv CPU cache controller.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-11-13 20:41:07 -05:00
Fin Maaß
a6858f6bc4 dts: bindings: vendor-prefixes: Add spinalhdl prefix
Add SpinalHDL vendor prefix.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-11-13 20:41:07 -05:00
Daniel Kampert
6ff7a9ec5e sensors: apds9306: Fix typos in APDS9306 macros
- Ensure consistent naming conventions for better readability

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-11-13 20:40:53 -05:00
Daniel Kampert
dcbdfea6e7 sensors: apds9306: Add Multi-Instance Support
- Add multi-instance support to the APDS9306 ambient light sensor driver
- Replace global worker item with instance-specific worker item

Closes #97893

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-11-13 20:40:53 -05:00
Siratul Islam
11dca1208a boards: xtensa: add support for DOIT ESP32 DevKit V1
This patch adds support for the DOIT ESP32 DevKit V1, an entry-level
development board based on the ESP32-WROOM-32.

Main features:
- ESP32-WROOM-32 module (4 MB Flash, 520 KB SRAM)
- Dual-core Xtensa LX6 processor up to 240 MHz
- 802.11b/g/n Wi-Fi and Bluetooth v4.2 BR/EDR + BLE
- CP2102 USB-to-UART bridge
- Onboard blue LED connected to GPIO2
- All GPIO pins exposed on 2x15 pin headers

The board has been tested with the following Zephyr samples:
- samples/basic/blinky
- samples/hello_world

Signed-off-by: Siratul Islam <sirat4757@gmail.com>
2025-11-13 20:40:43 -05:00
Alexandre Boeglin
23a92a6ec8 usb: device_next: cdc_acm: Trigger TX on configuration enable
When CDC ACM instance gets enabled and there is some data in TX FIFO,
the TX FIFO work will not be triggered if no UART API is used. And if TX
FIFO was full before CDC ACM instance get enabled, TX work will never be
triggered. To fix it TX FIFO should always be drained when CDC ACM gets
enabled.

Signed-off-by: Alexandre Boeglin <alexandre.boeglin@qorvo.com>
2025-11-13 20:39:13 -05:00
Yanan Yang
a3fc3f4d93 boards: frdm_imx91: add sai3_2 and edma4_2 node for i2s_mcux_sai driver
add sai3_2 and edma4_2 node for use with i2s_mcux_sai driver

Signed-off-by: Yanan Yang <yanan.yang@nxp.com>
2025-11-13 20:39:01 -05:00
Yanan Yang
bb8b6d79cb dts: arm64: imx9131: add sai3_2 and edma4_2 node for i2s_mcux_sai driver
add sai3_2 and edma4_2 node for use with i2s_mcux_sai driver

Signed-off-by: Yanan Yang <yanan.yang@nxp.com>
Fix the indent format issue.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-11-13 20:39:01 -05:00
Yanan Yang
278a2792de boards: frdm_imx93: add sai3_2 and edma4_2 node for i2s_mcux_sai driver
add sai3_2 and edma4_2 dts node for use with i2s_mcux_sai driver

Signed-off-by: Yanan Yang <yanan.yang@nxp.com>
2025-11-13 20:39:01 -05:00
Yanan Yang
8e5956a5fb boards: imx93_evk: add sai3_2 and edma4_2 node for i2s_mcux_sai driver
add sai3_2 and edma4_2 dts node for use with i2s_mcux_sai driver

Signed-off-by: Yanan Yang <yanan.yang@nxp.com>
2025-11-13 20:39:01 -05:00