Commit graph

136,983 commits

Author SHA1 Message Date
Gaetan Perrot
5e16700cb2 drivers: ethernet: phy: phy_dm8806: fix error handling
The return value of gpio_pin_set_dt() and
gpio_pin_interrupt_configure_dt() was not stored before being
checked, causing the error condition to always evaluate to false.

Store the return value and properly handle potential GPIO errors
during PHY reset.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 20:06:06 -05:00
Fabian Blatz
3658dbd489 manifest: Update LVGL to 9.4.X
Update the west yaml to point to the new LVGL version.
Update CMakeLists and samples accordingly.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-20 20:05:25 -05:00
Eden Uhde
98573a57cd drivers: display: ls0xx: add Kconfig setting VCOM thread priority for ls0xx
The ls0xx driver VCOM inversion thread has a hardcoded priority of 3,
while in some applications this may be considered lower priority than
time sensitive tasks, maintaining close to an even polarity balance is
best, but this change allows developers to determine the approach.

Signed-off-by: Eden Uhde <eden@rainbowtree.house>
2026-01-20 20:05:15 -05:00
Benjamin Cabé
474d502df3 doc: link-roles: Update path handling to use document name
Use docname instead of source from get_source_and_line() because
source can be a relative path to an included file (e.g., .rst.inc),
while docname is always the main document being processed.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Benjamin Cabé
608fdac2d7 doc: release: convert broken zephyr_file links to literal paths
Fix dead links by replacing them to normal strings. This is in
preparation for a fix in zephyr_file role link check that will make the
checks more strict and fail on these even if they hadn't been flagged
until now.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Guðni Már Gilbert
284a30053f scripts: twister: don't parse west modules in TestPlan
TwisterEnv already parses west modules during initialization, but TestPlan
was parsing them again via zephyr_module.parse_modules(), duplicating work.

Store the parsed module objects on TwisterEnv (self.modules) and have
TestPlan derive its module name list from env.modules instead. This drops
the redundant parse in TestPlan by removing handle_modules() and its call
site.

Each call to parse_modules() takes around 250-300ms on my end.

Update twister unit tests

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-20 20:04:37 -05:00
Felix Wang
0bce58b4fe boards: nxp: frdm_mcxe247: Add supported list in board yaml
Newly supported items: counter, pwm

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
765476405a tests: drivers: pwm: Enable FTM pwm test on frdm_mcxe247
Provide overlay file to configure ftm to
enable pwm_api and pwm_loopback

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
a2e3327273 boards: nxp: frdm_mcxe247: Enable FTM0 in device tree
Enable FTM0 for frdm_mcxe247, which using fircdiv1_clk.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
c6e6463918 boards: nxp: frdm_mcxe247: Fix typo in ASSERT_ASYNC_CLK_DIV_VALID
The val should be 32, not 2.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
b7106127af drivers: counter: Support multiple interrputs
For devices like MCXE247, the FTM peripheral instance
has multiple interrupts. In this patch, add FTM_CONFIG_FUNC
macro to support single or multiple interrupts based on irq
number.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Neil Chen
03aef0d156 boards: nxp: frdm_mcxaxx6: Support usb for NXP frdm_mcxaxx6 board
Support usb for NXP frdm_mcxa1366 and frdm_mcxa266 board.
Test it using samples/subsys/usb/console and tests/drivers/udc

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Neil Chen
ed75a28d9c dts: arm/nxp: Add usb nodes to NXP MCXA366 and MCXA266 dtsi file
Add usb nodes to NXP MCXA366 and MCXA266 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Neil Chen
b2d28bc8d5 boards: nxp: frdm_mcxaxx6: add arduino labels
Added arduino_header node labels to FRDM-MCXA366,FRDM-MCXA346 and
FRDM-MCXA266 device tree board definition, allowing compatible
shield boards to be used. Also extend the board YAML file with
related support tags arduino_gpio.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Kate Wang
cf7763ea37 tests: drivers: build_all: input: Add TMA525B to build test
Add the TMA525B touch controller driver to the input build_all test.
This includes:
- Device tree overlay entry for the TMA525B device
- Test configuration enabling interrupt mode

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
ec5a3db24b samples: lvgl: demos: Add zc143ac72mipi shield to test platforms
Adds the zc143ac72mipi shield configuration for the mimxrt700_evk
platform to the LVGL demos sample test platforms.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
504cf082d8 boards: shields: g1120b0mipi: Move configs to board-specific files
Move MIPI_DSI_MCUX_2L_SWAP16 and LV_COLOR_16_SWAP configuration from
the shield's Kconfig.defconfig to board-specific configuration files.
This allows for better board-level customization and removes the
conditional logic from the shield defaults.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
a6df355b12 boards: shields: zc143ac72mipi: Add touch controller and LVGL config
- Add support for the TMA525B touch controller to the
zc143ac72mipi shield
- Add Kconfig.defconfig with LVGL configuration defaults
- Update board specific configuration

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
0e6c2aedaf drivers: input: Add TMA525B capacitive touch controller driver
This commit adds support for the Parade Tech TMA525B capacitive touch
controller. The driver supports both interrupt-driven and polling modes,
and can handle up to 4 simultaneous touch points.

Key features:
- I2C communication interface
- Multi-touch support (up to 4 touch points)
- Interrupt mode with GPIO callback support
- Polling mode with timer
- Power management support with PM notifier
- Reset and power control via GPIO
- Touch event tracking (down, contact, up)

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Camille BAUD
2c1d2c8e83 tests: build_all: add ch9350l test
Adds a build test for CH9350L

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-20 14:35:50 -05:00
Camille BAUD
fd9b0b81b7 drivers: input: Add CH9350L USB keyboard driver
Adds a driver that allows using CH9350 as a USB keyboard interface chip

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-20 14:35:50 -05:00
Dat Nguyen Duy
0c97804b3d boards: nxp_s32k5xx_mb: add support for can
Add support can (canxl) for nxp_s32k5xx_mb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
abb4ca3845 drivers: can: add support canxl for s32k5
- The RX Message Descriptor in CANXL on newer SoC such as
the S32K5 supports receiving both classic and FD frames,
so enable the RX FIFO only for S32ZE SoC.

- The CANXL bare-metal driver has significant changes, the
current codebase for S32ZE need to be guarded and modified
to support newer SoC

- Expand the peripheral region to 1G to include the CANXL
area.

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
478a0ffc6b dts: arm: nxp: add canxl node for s32k566
Add CANXL node for S32K566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
7bb9b42c99 drivers: can_nxp_s32_canxl: switch to freeze mode before setting baudrate
Switch canxl hw to freeze mode before setting baudrate

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Greg Leach
c584b86010 boards: ezurio: Add lyra_dvk support
Add support for the Ezurio Lyra DVK board family.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-20 14:35:34 -05:00
Greg Leach
c170fede6b boards: ezurio: Add lyra_24_dvk support
Add support for the Ezurio Lyra 24 DVK board family.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-20 14:35:26 -05:00
Albort Xue
c9dc320cf5 drivers: watchdog: wdt_mcux_wdog32: Support named clocks for clock sources
Add support for named clocks in the WDOG32 driver to properly handle
different clock sources. The driver now uses clock-names property to
identify which clock source is being used, based on the clk-source
property.

This change enables proper clock configuration and control for platforms
where the clock frequency is not statically defined in the device tree.
The driver will now configure and enable the appropriate clock during
initialization.

Updated all affected device tree files to include the clock-names
property aligned with their clk-source configuration.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-20 14:35:20 -05:00
Laura Carlesso
0b02c507c9 soc: infineon: Fix NMI handling in PSOC6 for legacy boards
cy8ckit_062_wifi_bt board requires NMI handler to point to
the prefefined address 0x0000000D in order to correctly run
system calls. This can be achieved by specifying the runtime
nmi configuration and hardcoding the address in soc.c.
With the introduction of this change the system calls can
correctly be executed correctly thus resolving open
issue #99642 .

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-01-20 14:35:11 -05:00
Guðni Már Gilbert
e19ebfb49a scripts: twister: use os.scandir for platform YAML discovery
Use a single os.scandir() pass per board directory to load twister.yaml
and collect legacy *.yaml files, replacing Path checks and globbing.

On my end this reduces execution time by ~50ms on Ubuntu 24.04 and
eliminates  ~80k Python function calls.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-20 14:35:03 -05:00
Grzegorz Chwierut
f8e4c6cf6a twister: pytest: Fix post-script calling in initialization phase
The post-script was being called multiple times and during the
initialization phase when it should only run after the reader
thread has started and the device testing is complete.

Fixes #102386

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 14:34:54 -05:00
Carlo Caione
c4a5c5cc32 lorawan: loramac-node: Use zephyr_library_compile_definitions_ifdef
Replace zephyr_compile_definitions_ifdef with
zephyr_library_compile_definitions_ifdef to avoid setting options globally.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-20 14:34:44 -05:00
Flavio Ceolin
6595aaf280 pm: device_runtime: Fix documentation typo
s/EWOUDBLOCK/EWOULDBLOCK in pm_device_runtime_get() documentation.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
9003da65b7 pm: policy: Fix pm_policy_event signatures
Fix pm_policy_event_register() and pm_policy_event_update signatures
when CONFIG_PM is disabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
dbf3bb64a9 pm: state: Fix pm_state_in_constraints stub
It was missing the const qualifier in pm_state_in_constraints
when CONFIG_PM is not enabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
18e3d5c368 pm: device_runtime: Fix doxygen inconsistency
Fix an inconsistency / typo in pm_device_runtime_get return
value documentation.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Fin Maaß
77c4fd9a53 console: add functions to set the timeout
While the tty_* api already has functions
to set the rx and the tx timeout, the console_*
api didn't had one.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-20 14:34:29 -05:00
Fin Maaß
2ed0e04dc8 console: use k_timeout_t internally
use k_timeout_t internally, that way
the timeout has only to be calculated, when setting it and not
every time when it is used.

Also use the ys_timepoint* api instead of
counting the ms.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-20 14:34:29 -05:00
Flavio Ceolin
cc1391b5f7 random: entropy: Always check device is ready
Use a proper branch instead of an assert to check if the device
is ready. It can potentialy lead to improper random
value that can compromise security.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:13 -05:00
Flavio Ceolin
213b1605d8 random: ctr_drbg: Fix sys_csrand_get types
This implementation of sys_csrand_get was using a
different type for the length parameter.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:13 -05:00
Lukasz Fundakowski
c5bc1a9779 twister: fix access to item in empty list
Fixed default argument in run_cmake_script method,
which cannot be an empty list.

Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>
2026-01-20 14:34:05 -05:00
Chaitanya Tata
0305a9f157 net: l2: ethernet: Fix build error
When Ethernet management is not enabled, the respective calls should
also be compiled out. In case there are no callers the toolchain will
remove this, hence it worked till date.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
6100817e34 drivers: nrf_wifi: Fix raw TX shell
When using shell the users input raw header as big-endian, so, add
support for both formats for the magic number.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
acd5815cb1 doc: connectivity: networking: Add zperf raw TX mode
Add a section for raw TX mode.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
ec1bdb212b samples: net: zperf: Add raw TX to twister
Add raw TX for QEMU and nRF7002DK to twister.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
0907ffb370 net: lib: shell: Add TX injection command
This to make the interface operationally UP to allow data packets in RAW
socket mode.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
23ba648b82 net: lib: zperf: Add raw socket upload support
This helps in benchamrking raw socket (packet socket) performance in the
lines of UDP/TCP.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
55e6102ac2 mainfest: nrf_wifi: Pull fix for raw TX header alignment
Align the raw TX header to 4bytes and make it packed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Szymon Janc
258eef1017 tests: Bluetooth: Bump qualification materials to Core Spec 6.2
This enables Bluetooth Core 6.2. No functional changes.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2026-01-20 15:33:36 +00:00
Grzegorz Chwierut
3881d4bad7 scripts: west: Fix sysbuild overwrite by test item parameter
When sysbuild is enabled globally and running west build with a
selected test scenario, the sysbuild setting was being overwritten
with False when sysbuild was not explicitly set in the test YAML file.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 15:33:30 +00:00