Commit graph

136,983 commits

Author SHA1 Message Date
Chun-Chieh Li
e89a90c52e drivers: usb: udc: numaker: fix retrieval of setup packet
Change to retrieve Setup packet by the copy which is readily copied
from H/W register in ISR

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2026-01-28 21:56:40 +01:00
Tomas Galbicka
60530a276f samples: nxp RT700 add sample to demonstrate DSP openamp communication
This commit adds sample amp-talk to demonstrate the openamp communication
between DSP and CM core.
It also uses multiple openamp instances on primary core to communicate with
other CM core and also DSP core.

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2026-01-28 21:56:20 +01:00
Tomas Galbicka
b001ab3833 soc: xtensa: rt700 hifi4 dsp add shared memory region
This commit adds new shared memory region to Hifi4 DTS.

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2026-01-28 21:56:20 +01:00
Aman Lachhiramka
0347b420c7 manifest: update hal_ti revision
Fix unconditional directory inclusion of TI HAL

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
2026-01-28 16:14:14 +01:00
Cristian Bulacu
52eb5fae7c openthread: platform: udp: Use new OT API
This commit makes use of newly added OT API to determine if an address
is link local.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-28 16:13:40 +01:00
Cristian Bulacu
c581ddb1d9 openthread: platform: border_agent: Use OT API to compute ephemeral key
This commit removes platform code that generated ephemeral key.
Now, OpenThread dedicated API is used to generate and validate an
ephemeral key.
Change related to
https://github.com/openthread/openthread/pull/12188

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-28 16:13:40 +01:00
Felix Wang
b72f00f843 tests: drivers: pwm: pwm_api: Enable tpm test on frdm_mcxw71
1.Add test configuration for TPM PWM driver on frdm_mcxw71
platform to test center-aligned PWM modes.

2. Change to use tpm0 channel 0 because this pin is connected to J1‑8 to
make it convenient to observe the waveform using instruments.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-28 16:13:11 +01:00
Felix Wang
ad95437584 tests: drivers: pwm: pwm_loopback: Handle unsupported capture types
Add checks for -ENOTSUP return value in PWM capture test cases to
gracefully skip tests when capture types are not supported by the
driver. This prevents test failures on platforms where certain PWM
capture modes (e.g., center-aligned mode) are not available.

Apply the check in test_capture_timeout, test_continuous_capture,
and test_capture_busy test cases.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-28 16:13:11 +01:00
Felix Wang
e8dafd27d9 drivers: pwm: Add PWM mode support for tpm
Add support for center-aligned PWM mode in addition to the existing
edge-aligned mode. When center-aligned mode is configured, adjust
pulse and period cycles by dividing by 2 to maintain correct timing.

Add validation checks in PWM capture functionality to edge-aligned
mode only, as capture is not supported in center-aligned mode.

Assign the value directly to avoid re-calculating period_cycles
based on pwm_freq in TPM_SetupPwm, which could lead to precision loss.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-28 16:13:11 +01:00
Felix Wang
fe4f68504a dts: bindings: pwm: Add pwm-mode property
Add pwm-mode device tree property to allow configuration of TPM PWM
operation mode. Supports edge-aligned (0) and center-aligned (1) PWM
modes. Defaults to edge-aligned PWM if not specified.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-28 16:13:11 +01:00
Felix Wang
f0acc1d770 drivers: pwm: Fix bugs in tpm
Replace interrupt register checks with explicit capture_active flag
to track capture state. This provides more reliable state management
and fixes potential race conditions when checking if capture is active.

Also optimize TPM_SetupPwm call to only configure the specific channel
being set instead of all channels, improving efficiency.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-28 16:13:11 +01:00
Martin Stumpf
564cabce71 drivers: fpga_ice40: rework spinlock usage
The driver uses spinlocks for synchronization (due to strict timing
requirements) which makes it defacto incompatible with almost all SPI
backend drivers, as most of them use `k_sem_take` internally.

This change reworks the driver in the following way to solve this
problem:

- Replace driver locks with `k_mutex`
- Run the `load` functions on the system workqueue to execute them on
  a cooperative priority
- Use additional local spinlock in the `bitbang` driver variant to ensure
  precise timing

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
2026-01-28 16:12:42 +01:00
Martin Stumpf
097928d633 drivers: fpga_ice40: Fix assert in CS hack
The ICE40 driver uses a CS hack that effectively 'steals' the CS pin
from the SPI driver during `load` by setting the CS pin id to 0.

This triggered the newly introduced assert during gpio_set.

This change introduces a hotfix for this where, instead of setting the
CS pin to 0, it sets the entire CS to 'hardware based'.

It is still a hack and should be reworked at some point.

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
2026-01-28 16:12:42 +01:00
Benjamin Cabé
e7ae93b39f drivers: sensor: tmag5273: fix typo in log message
fixes what seems to be a copy-paste error

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-28 14:42:50 +01:00
Benjamin Klaric
84248b6092 boards: stm32h7s78_dk: update board documentation
Update stm32h7s78_dk documentation to match ST's official
STM32H7S78-DK documentation, correcting/adding external memory
details (MX66UW1G45GXDI00 NOR flash, APS256XXN-OBRx PSRAM) and
other board specifications, such as max CPU frequency, timer count
and default system clock frequency.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2026-01-28 14:42:37 +01:00
Peter van der Perk
23e314d187 imx95: Cortex-M7 add FlexCAN controllers
Adds FlexCAN definitions and 80Mhz clock for correct timing

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2026-01-28 14:42:21 +01:00
Jamie McCrae
e3e173aa90 Bluetooth: Controller: ll_sw: nordic: Fix renamed Kconfig
Fixes a missed Kconfig rename in this file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 14:42:08 +01:00
Jamie McCrae
2afe335338 tests: net: all: Remove stray commented Kconfig
Removes 2 Kconfigs from a prj.conf file that were completely unused
and likely from many years ago

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 14:42:08 +01:00
Gatien Chevallier
841a7cb13c drivers: otp: stm32_bsec: don't use kernel objects in pre-kernel
When in pre-kernel, kernel objects may not be in a usable state.
Therefore, guard k_mutex_lock()/k_mutex_unlock() usage with
!k_is_pre_kernel().

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-28 14:41:45 +01:00
Yves Wang
44c6d6950b samples: edac: update README to use generic param1/param2 terminology
The EDAC sample README was using specific terminology (addr/mask) that
doesn't apply to all EDAC implementations. Update the documentation to
use the generic param1/param2 naming that matches the actual shell
command interface.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-28 14:41:30 +01:00
Yves Wang
1b69944e5e drivers: edac: mcux_erm: fix incorrect preprocessor macro usage
The driver was using EDAC_NXP_ERROR_INJECT instead of the correct
CONFIG_EDAC_NXP_ERROR_INJECT Kconfig symbol for conditional compilation.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-28 14:41:30 +01:00
Lars-Ove Karlsson
800cc0a004 linker: Added linker generator support for section k_timer_observer
Added missing section k_timer_observer to linker file generator, to fix
missing section definitions for IAR linker.

Signed-off-by: Lars-Ove Karlsson <lars-ove.karlsson@iar.com>
2026-01-28 14:41:09 +01:00
Bjarki Arge Andreasen
fec8b10a09 arch: arm: mpu: v8: add REGION_IO_ATTR for Cortex-M
Add REGION_IO_ATTR for Cortex-M.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-28 14:40:45 +01:00
Vinayak Kariappa Chettimada
bd77884512 Bluetooth: Controller: nrf54lx: Fix address resolution wait
Fix address resolution wait to not be infinite loop and
instead exit with a reasonable count down value.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-28 14:40:05 +01:00
Jamie McCrae
6692d8d202 boards: nordic: nrf54l15tag: Fix missing ranges
Fixes an issue with a missing ranges in the flpr dts files

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 12:56:59 +01:00
Jamie McCrae
27a91104c6 scripts: kconfig: Fix dt_chosen_partition_addr function
Fixes this function so that it returns the unit address of the
node, without having to rely on odd tricks to locate various parent
nodes and check that they have reg addresses and perform additions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 10:18:57 +01:00
Jamie McCrae
b8ab27aa40 dts: Fix incorrect/invalid usage of RAM/NVM nodes for nRF54L*
Fixes various issues with how these have been used:
- Reserved memory was wrongfully used to describe an RRAM area
  for a CPU
- Reserved memory was wrongfully used to describe an SRAM area
  for a CPU
- A partition described using reserved memory did not have the
  required NVM erase size and write size parameters set for it
- RRAM partitions were not correctly setting ranges properties
- RRAM validation wrongly took the "base flash controller" into
  considering because it was not using unit addresses
- RRAM partitions incorrect set up so that they collided with
  one another for different cores

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 10:18:57 +01:00
Robert Lubos
b422dc272d net: mdns_responder: Fix clang warnings
struct dns_header is packed therefore it fields need to be accessed with
respective helper macro to avoid warnings with clang.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-28 10:16:38 +01:00
Fin Maaß
42279b61ad drivers: mspi: fix typo in brief description
mspi is the multi-bit SPI api and not the
multi-master SPI api.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-28 08:34:09 +01:00
Henrik Brix Andersen
935373e918 dts: bindings: can: nxp: flexcan: fix clock configuration in examples
Fix the clock configuration shown in the NXP FlexCAN devicetree binding
examples.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-28 08:33:55 +01:00
Håkon Amundsen
d58d67bc6d modules: hal_nordic: fix enumeration of SAADC channels
The enumeration was off by 1, fix to align with with the binding.
Also fix an incorrect file name in a comment.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2026-01-28 08:33:33 +01:00
William Tang
6c623d5857 MAINTAINER: Add william-tang914 as CAN Collaborator
Add william-tang914 as a collaborator for the CAN driver.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-01-28 08:33:24 +01:00
Sylvio Alves
fbafad0520 drivers: video: esp32: fix camera sensor init race condition
Move camera XCLK setup from DVP driver (POST_KERNEL) to esp_lcd_cam.c
(PRE_KERNEL_2) to ensure the image sensor receives clock before its
I2C initialization. This fixes a race condition where sensors like
ov2640 would fail to respond during probe because XCLK wasn't yet
configured.

Also adds timestamp to captured video buffers and removes a noisy
error log for set_selection when the source returns -ENOSYS.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-28 08:33:10 +01:00
Abderrahmane JARMOUNI
ef850cf0ab include: display: cfb: add proper API version & group
Add CFB API version (as unstable), and correct Doxygen parent group.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-28 08:32:59 +01:00
Roman Pustobaiev
598e7c13f3 drivers: video: stm32_dcmipp: fixing driver initialization issue
when pipe 1 or 2 is selected and parallel bus is chosen
HAL_DCMIPP_PARALLEL_SetConfig is failing, since it gets called twice
and driver is already in HAL_DCMIPP_STATE_READY state

Signed-off-by: Roman Pustobaiev <romanpustobayev@gmail.com>
2026-01-28 08:32:49 +01:00
Pieter De Gendt
7f970acc4a dox: migration: 4.4: Add nxp,enet-mac entry
Add an entry to the ethernet driver with updated MAC address configuration
support.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-28 08:32:37 +01:00
Pieter De Gendt
800ec66680 drivers: ethernet: eth_nxp_enet: Support MAC address configuration
Add support for a MAC address from NVMEM memory.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-28 08:32:37 +01:00
Zhijie Zhong
8c9f8bcdeb Bluetooth: Classic: L2CAP: fix NULL pointer crash in chan->ops->xx()
for example:
l2cap_br_encrypt_change() calls l2cap_br_conn_pend(chan, hci_status) first,
which may trigger l2cap_br_chan_cleanup(chan). This clears chan->conn and
makes the channel invalid. The subsequent callback to
chan->ops->encrypt_change(chan, hci_status) then dereferences a NULL conn
in rfcomm_encrypt_change, causing a crash.

Signed-off-by: Zhijie Zhong <zhongzhijie1@xiaomi.com>
2026-01-28 08:32:12 +01:00
Kevin Chan
7c1725b949 drivers: wifi: change WIFI_INIT_PRIORITY value
Wifi chip module may depend on SDHC(SDIO) module.
Currnetly, default init. priority is
CONFIG_WIFI_INIT_PRIORITY(80) & CONFIG_SDHC_INIT_PRIORITY(85).
It causes the issue.

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-28 08:30:56 +01:00
Guennadi Liakhovetski
222feb93d2 test: sys_sem: add a mixed kernel-userspace test
sys_sem semaphores can be used to synchronize kernel and userspace.
Current tests only check synchronization within each group. This
commit adds a test of sys_sem signalling between kernel and
userspace threads.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2026-01-28 08:30:43 +01:00
Benjamin Cabé
90e68f8d2c doc: _scripts: preserve hexadecimal notation in DT bindings docs
When YAML binding files specify values in hexadecimal notation we want
generated documentation to preserve this notation since there is usually
a reason things were expressed in hexadecimal in the first place (e.g.
to match the way information is expressed in a device's datasheet).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-28 08:30:32 +01:00
Benjamin Cabé
1025dcc634 scripts: edtlib: preserve hexadecimal notation for integer values
When YAML binding files specify values in hexadecimal notation, this
information was previously lost during parsing as PyYAML converts hex to
regular integers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-28 08:30:32 +01:00
Yasushi SHOJI
cecbbb09d3 dts: bindings: vendor-prefixes: Remove "The" from Zephyr Project
Drop the leading article from the 'zephyr' vendor name in
vendor-prefixes.txt so vendor names sort more naturally in the Supported
Boards[1] lists.

[1]: https://docs.zephyrproject.org/latest/boards/index.html

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-28 08:30:22 +01:00
Jose Alberto Meza
7e659ad474 MAINTAINERS: Add additional collaborators for eSPI subsystem
Add additional collaborators for eSPI subsystem

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-01-28 08:30:08 +01:00
TOKITA Hiroshi
6a53d5c63d tests: lib: devicetree: api: Add map property tests
Add tests for map property related macros.

Add `native_sim/native/64` to allowed platforms.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00
TOKITA Hiroshi
724c35c871 scripts: dts: devicetree: tests: Add a map property test
Add a map property test for `test_edtlib.py`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00
TOKITA Hiroshi
5979e40d32 scripts: dts: Add handling for *-map property
This change introduces generating definitions corresponding to
`*-map` property, which was currently discarded.

For `*-map` properties are made able to be treated as a variation
of phandle-array, assign sequential cell names for each group of
specifiers (child_specifier_0, child_specifier_1, ...,
parent_specifier_0, ...).

The `*-map` data is like a two-dimensional array, so it is difficult to
handle with the existing APIs, so we will also provide new APIs.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00
TOKITA Hiroshi
e1b79aee17 dts: bindings: Add interrupt-nexus and io-channel-nexus base bindings
Add a base binding for interrupt and io-channel nexus nodes.
This makes the implicit definitions explicit.
Replace existing individual map definitions with this.

This file does not define a specific `compatible` on its own,
So you should include this file before using it practically.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00
TOKITA Hiroshi
3245ee167b dts: bindings: Change *-map-mask and *-map-pass-thru as array type.
They must be `array` type to match the existing `interrupt-map-mask`
and `interrupt-map-pass-thru`.

And also, updating descriptions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00
TOKITA Hiroshi
35bf1103ba tests: unit: util: Add test for GET_ARGS_FIRST_N
Add `GET_ARGS_FIRST_N` tests.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-28 08:29:57 +01:00