Commit graph

136,983 commits

Author SHA1 Message Date
Robert Cheng
c3d0a3703f soc: focaltech: ft9001: add SoC support
Add initial support for the FocalTech FT9001 ARM Cortex-M SoC including:
- SoC Kconfig and dtsi integration points
- Early init and core setup
- Pinctrl base definitions

This prepares the tree for the FT9001 board and drivers.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
79f972db89 dt-bindings: focaltech: ft9001: add clock, reset, uart
Add devicetree bindings for the FocalTech FT9001 SoC:
- Clock controller
- Reset controller
- UART

These bindings are required by the SoC and drivers added in subsequent
commits. Headers are placed under include/zephyr/dt-bindings/.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Jun Lin
dfe251554b driver: eSPI: npcx: fix minor sonarqube issues
Fix the Quality Gate failed from sonaqube.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-12-18 12:10:06 +00:00
Jun Lin
8d525c4f20 driver: eSPI: npcx: fix the missing closing brace
This commit fixed the missing closing brace of the switch statement to
resolve the compiler error.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-12-18 12:10:06 +00:00
Chaitanya Tata
9ea5170f09 boards: nordic: nrf54h20dk: Fix CPURAD MPSL init failure
Allocate one GPIOTE channel for coex grant GPIO pin. This fixes a nrfx
assert during MPSL init in CPURAD.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-18 12:09:42 +00:00
Chaitanya Tata
d7a22685ec boards: shields: nrf7002eb: Add 54H coex shield
This shield is a standalone coex shield without relying on the base
Wi-Fi shield (edge_connector).

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-18 12:09:42 +00:00
Emil Hammarstrom
12986286de lib: hash: Ensure OA/LP hmap inserts don't return tombstones
According to the hashmap interface specification sys_hashmap_remove will
"Erase the entry associated with key `key`, if one exists"

If a rehash is performed OA/LP will return 1 and no old_value for
sys_hashmap_insert.

If a rehash is NOT performed OA/LP will return 0 and a stale old_value for
sys_hashmap_insert even though the user requested the entry for that key to
be removed.

This patch makes OA/LP not return the value of tombstoned entries.

Signed-off-by: Emil Hammarstrom <emil.hammarstrom1@assaabloy.com>
2025-12-18 12:09:36 +00:00
Emil Hammarstrom
48059d126b tests: lib: hash_map: Expect sys_hashmap_remove to erase entry
After removing an entry the user does not expect it back after
sys_hashmap_insert

Signed-off-by: Emil Hammarstrom <emil.hammarstrom1@assaabloy.com>
2025-12-18 12:09:36 +00:00
Qingsong Gou
aaf36d65b5 drivers: spi: sf32lb: add spi_sf32lb_transceive_async async API
Add spi async API support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-18 12:07:46 +01:00
William Tang
510e4d1cee soc: nxp: rw: fix GAU clock configuration for ADC accuracy
Configure the GAU (General Analog Unit) clock from T3 PLL 256M with
a divider of 4 to achieve 64MHz, replacing the previous configuration
that used the main clock at 260MHz main clock with a divider of 1.

The GAU ADC has a maximum clock frequency limit of 64MHz. The previous
260MHz clock configuration caused incorrect conversion results when
operating at 12-bit and 14-bit resolutions. Using the T3 PLL 256M
source divided by 4 provides the correct 64MHz clock frequency.

This change also corrects a typo in the comment from "Attack clock"
to "Set 64M GAU clock from T3 PLL 256M and reset".

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-18 12:07:30 +01:00
Andrej Butok
da5755f893 MAINTAINERS: add butok collaborator for NXP drivers
Add butok (Andrej Butok) as a collaborator for "NXP Platform Drivers".

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-12-18 12:07:21 +01:00
Ederson de Souza
ace1b87e15 samples/subsys/pmci/mctp: Add npcx4m8f_evb overlays for I2C-GPIO
So that one can run the I2C-GPIO owner/endpoint samples on it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:07:03 +01:00
Ederson de Souza
621a7aa686 samples/subsys/pmci/mctp: Keep board specific config on board file
So that users of other boards don't see meaningless warnings during
build.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
b9f10bec52 samples/subsys/pmci/mctp: More friendly I2C-GPIO samples messages
This is done by:
  - No more sending periodic messages from endpoint to owner - keep
    parity with UART sample: owner sends periodic ping to endpoint, that
    replies to those;
  - Waiting one second between each message sent by the owner, so people
    can actually see what's going on;
  - Wrapping the content of the messages (strings "ping" and "pong")
    in quotes, so it's clear what they are;
  - Toning down the logging to INF - no need for DBG.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
5f5e17e08c samples/subsys/pmci/mctp: Set allocation functions on I2C samples
Without those, allocation for MCTP packets can cause subtle - or not so
subtle - bugs.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
0cdf8694e0 subsys/pmci/mctp: I2C-GPIO controller interrupt fix
MCTP I2C-GPIO controller wasn't properly reenabling interrupt on the
GPIO line after disabling it during transfer.

This patch also uses `GPIO_INT_LEVEL_ACTIVE` instead of
`GPIO_INT_LEVEL_HIGH` to respect GPIO active state.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
8401bcfb7a subsys/pmci/mctp: Fix I2C-GPIO target reading
State machine handling RX data wasn't transitioning to "receive" mode.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Albort Xue
df3823b812 samples: drivers: spi_flash: Add supports of flexspi_nor
Added supports of nxp_imx_flexspi_nor flash.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2025-12-18 12:06:46 +01:00
Qingsong Gou
ccdc0c3007 drivers: adc: sf32lb: add adc read_async support
Add adc read_async support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-18 12:06:33 +01:00
Fin Maaß
97a2d6bc47 drivers: ethernet: microchip_enc424j600: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
a7d48d94b4 drivers: ethernet: microchip_enc28j60: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
f017a99f07 drivers: ethernet: microchip_lan865x: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
2cf2f8c58a drivers: ethernet: microchip_lan9250: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Biwen Li
b196917f6c tests: bluetooth: audio: ascs: fix build issues
Fix build issues,
- error: format %x expects argument of type
  unsigned int, but argument 7 has type ssize_t
  {aka long int} [-Werror=format=]
  zassert_false(ret < 0, "attr->read returned unexpected (err 0x%02x)"
  , BT_GATT_ERR(ret));

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-18 12:06:06 +01:00
Jordan Yates
235aa1aa7f flash: flash_simulator: static programmable unit buffer
Move the programmable unit buffer used to detect double writes out of
the function stack. This fixes stack overflows when simulating flash
devices with large programming units (SPI-NAND, 2-4 kB).

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:40 +01:00
Jordan Yates
9d88c8cfb0 tests: unit: timeutil: test CONFIG_TIMEUTIL_APPLY_SKEW=n
Test the `timeutil` libraries compile and behave the same way
(excluding the skew application) when `CONFIG_TIMEUTIL_APPLY_SKEW=n`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:34 +01:00
Jordan Yates
1d92d0b5ff utils: timeutil: option to disable clock skew
Accurately applying clock skew correction in
`timeutil_sync_ref_from_local` and `timeutil_sync_local_from_ref`
requires double-precision floating point operations. If this is the only
usage of double precision logic in the build, but clocks skews are not
used, this can be a significant ROM overhead. Disabling this option can
save ~2.4 kB of ROM.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:34 +01:00
Bartosz Miller
a2661d380a tests: drivers: uart: Extend UART120 testing for nrf54h20 cpuflpr
Run UART tests on 54h20 cpuflpr with uart120

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-12-18 09:19:57 +01:00
Mathieu Choplain
c8e73024da doc: migration: 4.4: place Video drivers section in sorted block
The Video drivers section was mistakenly placed below the end marker of the
zephyr-keep-sorted block.

Move it back inside the block for proper ordering.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-18 09:19:42 +01:00
Petr Buchta
53dfed0455 boards: nxp: frdm_mcxe247: Enable flash controller
This commit enables use of FTFC flash controller.
Together with DT changes it adds support for FTFC into soc_flash_mcux.c
driver.

Signed-off-by: Petr Buchta <petr.buchta@nxp.com>
2025-12-18 09:19:24 +01:00
Jason Yu
2fb46db59b drivers: hwinfo: mcux_rcm: Fix wrong comment
Correct mismatched #endif comment to reference the correct macro
FSL_FEATURE_RCM_HAS_SSRS

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Jason Yu
420c0f94ea drivers: hwinfo: rcm: Enable HWINFO RCM for MCXE24x and KE1xZ
Enables the MCUX Reset Control Module (RCM) to support hwinfo

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Jason Yu
b185fdea97 drivers: hwinfo: mcux_rcm: Improve get_supported_reset_cause
Remove the conditional compilation guard FSL_FEATURE_RCM_HAS_PARAM.
`hwinfo_mcux_rcm_xlate_reset_sources` has handled the
supported cause using `FSL_FEATURE_xxx` macros, passing `UINT32_MAX`
can get all supported reset cause.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Thomas Decker
fef0958ca5 arch: arm: mpu: Add missing define REGION_FLASH_SIZE for 32k and 32M
Add missing REGION_FLASH_SIZE defines when CONFIG_FLASH_SIZE is 32k or 32M

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-12-18 09:18:07 +01:00
Ryan McClelland
f897a24e68 drivers: i3c: cdns: fix no ibi payload
There was a misunderstanding in the spec, where if the bcr says there
is no payload, there are NO data bytes that follow the ibi address.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-18 09:17:57 +01:00
Emil Gydesen
15eb9daa87 samples: Bluetooth: CAP: Initiator: Fix test count name
Renamed total_rx_iso_packet_count to
total_unicast_rx_iso_packet_count to make it consistent
with total_unicast_tx_iso_packet_count.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Emil Gydesen
f66f58833f samples: Bluetooth: CAP: Acceptor: Various fixes
The sample recently started supporting multiple sink ASEs,
but only support a single sink stream. Updated the number of
sink streams supported.

Modified how/when we reset the requested_bis_sync and
FLAG_BROADCAST_SYNC_REQUESTED in the broadcast implementation.

Removed a call to bt_bap_broadcast_sink_delete that would
always fail because it was already deleted.

Modified how/when the total_unicast_rx_iso_packet_count
and total_unicast_tx_iso_packet_count values were reset,
to support a future case of CAP handover.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Sylvio Alves
5d1e443bdf drivers: spi: esp32: fix CS handling when using GPIO chip select
The driver was unconditionally setting hal_dev->cs_pin_id to the target
number, which activates hardware CS lines even when GPIO-based chip
select (cs-gpios) is used. This caused issues when using hardware CS
via pinctrl with reg > 0.

Also update the binding documentation to clarify the interaction between
cs-gpios and hardware CS via pinctrl.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-18 05:36:14 +01:00
Lyle Zhu
9c710107da bluetooth: hfp_ag: Add Kconfig option for in-band ringtone
Add a new Kconfig option CONFIG_BT_HFP_AG_INBAND_RINGTONE to allow
enabling/disabling the in-band ringtone capability in HFP AG profile.

The in-band ringtone feature is now conditionally compiled based on
this configuration option. When disabled, the feature flags are set
to 0 and the bt_hfp_ag_inband_ringtone() API returns -ENOTSUP.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:35:53 +01:00
Sylvio Alves
007f4427f3 drivers: serial: esp32: add UHCI SLIP encoding control
Add devicetree properties to control UHCI SLIP encoding/decoding
when using UART with DMA (async API). Both properties default to
disabled to prevent unintended data corruption.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-18 05:35:40 +01:00
John Batch
5ca16a6696 boards: infineon: kit_psc3m5_evk: Adding dma to supported devices
Adds DMA to the supported devices list for the Infineon kit_psc3m5_evk
board.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-12-18 05:35:15 +01:00
John Batch
30307e9fd1 tests: drivers: dma: Adding DMA test overlays for Infineon PSC3 board
Adding test overlays for Infineon kit_psc3m5_evk board.  Added tests:
 * tests/drivers/dma/chan_blen_transfer
 * tests/drivers/dma/loop_transfer

Signed-off-by: John Batch <john.batch@infineon.com>
2025-12-18 05:35:15 +01:00
Ederson de Souza
b13c7a2fe0 MAINTAINERS: Add edersondisouza as MCTP collaborator
Add edersondisouza as a collaborator to MCTP.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 05:35:04 +01:00
Kai Vehmanen
12a5bb2911 soc: intel_adsp: tools: cavstool.py: add I2S offload support
Program I2S link for DSP offload, allowing to run DSP tests using
the I2S/SSP interface. On ACE1.5 and older, no additional programming
is required, I2S link is available by default.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2025-12-18 05:34:54 +01:00
Wu Yingxiang
6b46f60580 boards: others: add esp32c3_lckfb board support
Add board support for LCKFB ESP32-C3 Development Board.

This board is based on ESP32-C3 with 8MB SPI flash and includes:
- Wi-Fi and Bluetooth Low Energy support
- Complete pin configuration for UART, I2C, SPI2, I2S
- OpenOCD debugging support
- Board documentation with WebP image (optimized size)

Signed-off-by: Wu Yingxiang <wuyingxiang58@gmail.com>
2025-12-18 05:34:22 +01:00
Jason Yu
77225cb32e soc: nxp: mcxw2xx: Improve OS tick timer selection
When os_timer is enabled in dts, then os_timer will be used as
OS tick timer.

To make systick as the default OS tick timer, currently os_timer
is not enabled in dts. When users want to use os_timer as
OS tick timer, they need to override the dts.

Improve the method, enable the os_timer is dts, but not enable
in Kconfig by default. If need to use os_timer as OS tick, just pass
CONFIG_MCUX_OS_TIMER=y

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 05:34:07 +01:00
Lyle Zhu
ba2bd21156 tests: Bluetooth: Update at test suites
Remove the dedicated buffer from the test case.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:33:30 +01:00
Lyle Zhu
9016f96e01 Bluetooth: Classic: HFP_HF: Refactor at parser
In current implementation, the additional buffer is required by AT to
store the parsing AT response data temporarily. To store the parsed
AT response data completely, the buffer size is as high as the MTU of
the RFCOMM connection. And the buffer is dedicated for each HFP HF
connection. That means the RAM usage depends on the MAX HFP HF
connection count. Actually, the RFCOMM receiving buffer is valid when
processing the received AT response. The changes aim to remove the
additional buffer and leverage the receiving buffer to process the AT
response.

And there is an issue found that the type of the additional buffer
length is `uint8_t`, while the configured RFCOMM receiving data length
is 65535. When the additional buffer length exceeds 255, the AT cannot
process the received data normally.

Replace manual buffer management with net_buf_simple in the AT command
parser. This change eliminates the need for manual position tracking
and buffer length management by leveraging Zephyr's existing buffer
utilities. And leverage RFCOMM receiving buffer instead of allocating
dedicated buffer.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:33:30 +01:00
Muhammad Waleed Badar
854240d26e dts: arm: add dts bindings for ARMv7 timer
This ensures that correct timer node is selected for
ARMv7-based platforms.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-12-18 05:32:51 +01:00
Benjamin Cabé
29059ec3d6 scripts: ci: refresh requirements-actions.txt pinned versions and SHAs
Refresh pinned dependencies to pick filelock 3.20.1 version since 3.20.0
is subject to CVE-2025-68146.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 14:35:20 -08:00