Commit graph zephyr/drivers
Author SHA1 Message Date
Ren Chen
55d5c598bf drivers: udc: add it51xxx udc driver support
Add usb device driver for it51xxx SoCs.

Tested with:
- USB20CV ch9 test
- cdc-acm/console/hid-mouse/hid-keyboard/dfu/testusb

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-09-16 16:13:22 +01:00
Kate Wang
eb9ccd4333 drivers: video: Add NXP JPEG decoder driver
Add support for NXP JPEG decoder hardware module. This driver provides
memory-to-memory (M2M) video transformation capability to decode JPEG
compressed images into raw pixel formats.

Key features:
- Supports JPEG input format (VIDEO_PIX_FMT_JPEG)
- Resolution support: 64x64 to 8192x8192 pixels (16-pixel step)
- Automatic format detection from JPEG header parsing
- No color space conversion (output format matches JPEG encoding)
- Interrupt-driven operation with input/output buffer queues
- Configurable output buffer pitch for flexible memory layouts

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-09-16 16:13:11 +01:00
Ruijia Wang
8f4f5b810d drivers: memc: fix MEMC_MCUX_XSPI dependency on PSRAM-only gate
MEMC_MCUX_XSPI was gated on DT_HAS_NXP_XSPI_PSRAM_ENABLED, but
FLASH_MCUX_XSPI selects it based only on DT_HAS_NXP_XSPI_NOR_ENABLED,
causing a Kconfig error on boards with XSPI NOR flash but no XSPI
PSRAM device. Move it to its own DT_HAS_NXP_XSPI_ENABLED block,
matching the existing MEMC_MCUX_FLEXSPI pattern.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-16 09:25:39 +02:00
Tim Pambor
8204131222 drivers: ethernet: dwc_mac: stm32: add STM32C5 support
The STM32C5 integrates the same DesignWare Ethernet MAC QoS IP core as
the H5 and H7 series, in version 5.40 with a 32-bit AHB master and MII
and RMII support, so the glue only has to select the PHY interface for
it.

The HAL based driver stays the default, unless PTP is enabled.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 09:25:07 +02:00
Tim Pambor
fa62292424 drivers: ethernet: dwc_mac: stm32: select the MAC CSR clock by name
The MDIO driver derives the MDC divider from the MAC CSR clock, which
the glue took as the first entry of the devicetree clocks array. That
holds for every STM32 series supported so far, but ties the driver to
the order of a property whose entries are named.

Look the gate up by its "stm-eth" name instead, the way the PTP clock
index already does. Every in-tree ethernet node names it, so a series
that does not gets a build error rather than a silently wrong rate.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 09:25:07 +02:00
Gabriel Germano
9feecb863d soc: rp2350: implement PM_STATE_SUSPEND_TO_RAM (deep sleep)
Add the PM_STATE_SUSPEND_TO_RAM case to pm_state_set, entering via
arch_pm_s2ram_suspend with rp2350_s2ram_off as the callback: power down
the domains via POWMAN (keeping XIP cache and SRAM bank0/1 on) and
execute WFI. On resume, pm_state_exit_post_ops clears the debug-power
override set right before the power-down (it must be cleared on the
resume path, since a real wake resumes into arch_pm_s2ram_suspend()'s
caller rather than returning from rp2350_s2ram_off(), so clearing it
there would never run) and reconfigures the clocks.

SysTick is powered down along with the rest of the switched core, so
hook the RP2350 up to the generic system-timer low-power companion
interface (CONFIG_SYSTEM_TIMER_LPM_COMPANION_HOOKS) instead of
reimplementing timer restart locally: z_sys_clock_lpm_enter() arms a
POWMAN alarm for the requested timeout and z_sys_clock_lpm_exit()
reports the elapsed time from the POWMAN timer, both added to
rp2350_powman.c. Selecting CONFIG_SYSTEM_TIMER_RESET_BY_LPM makes the
cortex_m_systick driver reprogram SysTick from scratch on exit, so no
SoC-specific restart hook is needed.

Clock restoration is delegated to clock_control_rpi_pico_reconfigure(),
factored out of the rpi_pico clock_control driver's init function rather
than reimplementing a fixed XOSC/PLL_SYS/clk_ref/sys/peri sequence in
power.c: this restores every devicetree-declared clock at the board's
actual configured rates, not just a hardcoded subset, and keeps a single
source of truth between cold boot and S2RAM resume.

Signed-off-by: Gabriel Germano <gabriel.lucasgermano@gmail.com>
2026-09-16 09:23:39 +02:00
Khai Cao
4205736490 drivers: i2c: Add DMAC support to SCI B I2C driver for RA MCU
Add DMAC support to SCI B I2C driver for RA MCU:

- Add CONFIG_I2C_RENESAS_RA_SCI_B_DMAC configuration option

- Add rx-dtc, tx-dtc device tree properties

- Support both DTC/DMAC transfer with shared transfer infrastructure

- Add tx-dtc and rx-dtc properties to device tree binding

- Add DMAC configurations, interrupt and callback declarations

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-16 09:22:24 +02:00
Khai Cao
ee68d2dd21 drivers: spi: Add DMAC support to SCI B SPI driver for RA MCU
- Add CONFIG_SPI_RENESAS_RA_SCI_B_DMAC configuration option
- Add device tree properties for DTC (rx-dtc, tx-dtc)
- Support both DTC/DMAC transfer with shared transfer infrastructure
- Add tx-dtc and rx-dtc properties to device tree binding
- Add DMAC configurations, interrupt and callback declarations

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-16 09:22:24 +02:00
Khai Cao
422aeb50de drivers: spi: Add DMAC support to SPI B driver
- Add CONFIG_SPI_B_DMAC configuration option
- Support both DTC/DMAC transfer with shared transfer infrastructure
- Add DMAC configurations, interrupt and callback declarations

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-16 09:22:24 +02:00
Khai Cao
70c1d79077 drivers: serial: add DMAC support for SCI-B UART async transfers
Add DMA Controller (DMAC) support for asynchronous UART TX/RX on
Renesas RA SCI-B.

Key changes:
- Add UART_RA8_SCI_B_UART_DMAC and UART_RA8_SCI_B_UART_DTC Kconfig
option to gate DTC/DMA support

- Add tx-dtc and rx-dtc DT binding properties for DTC transfer

- Support both DTC/DMAC transfer with shared transfer infrastructure

- Add DMAC transfer configuration, interrupt and callback declarations

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-16 09:22:24 +02:00
Benjamin Cabé
ab1845a8a2 drivers: i2c: broadcom: use inclusive terminology
Update comments, log messages, Kconfig prose, and driver-local
identifiers to use the controller/target terminology ratified by
coding guideline A.2 and already used by the Zephyr I2C API.

Identifiers mirroring the Broadcom datasheet
(e.g. S_CMD_STATUS_MASTER_ABORT, MASTER_WR_STATUS) are kept unchanged.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
2026-09-16 07:42:01 +02:00
Jun Lin
63f8d97d79 drivers: clock_control: npcx: keep FMCLK to eSPI_SIF in sleep
The eSPI virtual UART channel cannot receive host traffic once the fast
clock (FMCLK) to the eSPI_SIF module stops, so the chip drops incoming
data as soon as it enters Sleep or Deep Sleep. Setting the
ESPI_FMCLK_ENSLP field of ENSLP_CTL keeps that clock running in those
states.

Add the fast-clk-to-espi-sleep-support property to describe the series
that implement the field, set it on npcx4, and gate the register write
on the new CLOCK_CONTROL_NPCX_ESPI_FMCLK_IN_SLEEP option, which is only
selectable when the property is present and both ESPI_PERIPHERAL_UART
and PM are enabled.

Assisted-by: Copilot:claude-opus-5
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2026-09-16 07:41:31 +02:00
Syed Muhammad Murtaza
b087609d74 drivers: i2c: dw: fix source file comment names
Match the dw_i2c.c / dw_i2c.h file comments to the actual filenames.

Signed-off-by: Syed Muhammad Murtaza <syedx.muhammad.murtaza@altera.com>
2026-09-16 07:41:13 +02:00
Syed Muhammad Murtaza
0d458c0932 drivers: i2c: dw: log FIFO full and master registration
Log when the Tx FIFO cannot accept a byte, and when the controller
is registered as a master.

Signed-off-by: Syed Muhammad Murtaza <syedx.muhammad.murtaza@altera.com>
2026-09-16 07:41:13 +02:00
Syed Muhammad Murtaza
2c95dba1c1 drivers: i2c: dw: keep app_config only after successful configure
Do not store a new speed configuration until the requested rate is
validated, so a failed configure leaves the previous settings in place.

Signed-off-by: Syed Muhammad Murtaza <syedx.muhammad.murtaza@altera.com>
2026-09-16 07:41:13 +02:00
Syed Muhammad Murtaza
4557a728b2 drivers: i2c: dw: fix target Rx FIFO read handling
Return an error from the non-blocking read helper instead of a
truncated byte, and only pass valid FIFO data to the target callback.

Signed-off-by: Syed Muhammad Murtaza <syedx.muhammad.murtaza@altera.com>
2026-09-16 07:41:13 +02:00
Samuel Slesar
42adf40ccc drivers: input: mcux_kpp: support fixed-clock providers
Allow the MCUX KPP driver to work with clock providers that do not
expose a named clock cell, such as fixed-clock.

Existing users with a named clock cell keep the previous behavior.
Fixed-clock providers use a zero clock subsystem.

Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
2026-09-16 07:40:10 +02:00
Sylvio Alves
ea21eb553f drivers: wifi: esp32: support regulatory domain configuration
Implement the reg_domain management op so the country code can be
read and set through the Wi-Fi management API and the wifi
reg_domain shell command.

Zephyr names the worldwide domain "00" while the Espressif
regulatory table uses "01", so the code is translated in both
directions. The third octet of the country string selects the
operating environment and is set to ' ' to accept a plain alpha-2
code. A forced domain is mapped to disabling 802.11d so the
configured country is not overridden by the surrounding APs.

On get, the 2.4 GHz channels are reported first and the 5 GHz ones
after them, as the other dual-band drivers do. The 5 GHz set comes
from the country channel mask, where an all-zero mask means every
channel the regulatory rules allow. Channel 14 is flagged passive
only and the 5 GHz channels 52 to 144 are flagged as DFS. The list
is clamped to MAX_REG_CHAN_NUM because callers report the filled
count back in num_channels rather than passing the buffer capacity
in it, and a NULL chan_info returns the channel count alone.

Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-09-16 07:39:46 +02:00
Alberto Escolar Piedras
1c26ae0055 drivers serial uart_nrfx_uarte: Set frametimeout config when needed
Even if the driver does not support the frame timeout configuration,
if the HW peripheral does, we need to set it to disabled.
Otherwise the value is just random garbage which corrupts the
whole uart configuration as it will be OR'ed with the rest.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-09-16 07:39:12 +02:00
Tim Pambor
62aab4f3c6 drivers: ethernet: dwc_mac: stm32: add STM32N6 support
The STM32N6 integrates the DesignWare Ethernet MAC QoS IP core in
version 5.20, with MII, RMII and RGMII support and a 64-bit AXI4 master
instead of the 32-bit AHB master of the other series.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 07:38:47 +02:00
Tim Pambor
1730ccc5b6 drivers: ethernet: dwc_mac: xmc: configure the DMA bus mode
The bus mode register was left at its reset value, so the AHB master
issued undefined length bursts and did not align them. Utilize fixed
length bursts with address aligned beats instead.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 07:38:36 +02:00
Tim Pambor
a551157159 drivers: ethernet: dwc_mac: stm32: configure the DMA bus mode
The bus mode register was left at its reset value, so the AHB master
issued undefined length bursts and did not align them. Utilize fixed
length bursts with address aligned beats instead.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 07:38:36 +02:00
Tim Pambor
11cf016daa drivers: ethernet: dwc_mac: esp32: configure the DMA bus mode
The bus mode register was left at its reset value, so the AHB master
issued undefined length bursts and did not align them. Utilize fixed
length bursts with address aligned beats instead.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 07:38:36 +02:00
Tim Pambor
e10fab6eed drivers: ethernet: dwc_mac: 1000: set the programmable burst length
The DMA bus mode register was only ever written for the software reset
and the descriptor size, which left the programmable burst length at
its reset value of one beat, so the DMA moved a single beat per bus
transaction. Set it to 32 beats, which is what the vendor drivers of
every platform this core supports use.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 07:38:36 +02:00
Duc Viet Le
0b0a16d933 drivers: i3c: stm32: remove IBI semaphore from ISR
The controller IBI handler executes in interrupt context but uses
ibi_lock_sem with K_FOREVER. Semaphore takes from an ISR may only use
K_NO_WAIT.

The semaphore is only used by the IBI interrupt handler and does not
serialize against another execution context. Remove it instead of
introducing a non-blocking acquisition failure path.

Signed-off-by: Duc Viet Le <levietduc0712@gmail.com>
2026-09-16 07:33:59 +02:00
Fin Maaß
d285da6f2d drivers: esp_hosted_mcu: use NET_AF_UNSPEC
use the zephyr network API symbols and not the
posix one.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-09-16 07:33:49 +02:00
Benjamin Cabé
bc2e7d0353 drivers: serial: numicro: fix irq_update() signature
The uart_driver_api irq_update member is void (*)(const struct device *),
but numicro_uart_irq_update() still returns int, so building the driver
fails with an incompatible pointer type error. Make it return void,
which changes no behavior: the body is a no-op and uart_irq_update()
discards the value.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5
2026-09-16 07:33:47 +02:00
Jordan Yates
24c5a69e0d sensor: generic_emul: added
Implement a generic emulated sensor that echoes back configured sensor
readings. This simplifies testing of higher level libraries and drivers
that depend upon querying a device exposing the sensor API.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-09-16 07:33:15 +02:00
Måns Ansgariusson
0bde5ccbeb lib: ring_buffer: drop select/depends on RING_BUFFER
The slim ring buffer API is now header-only and always available and the
tree has already migrated from the _claim/_finish API, so the RING_BUFFER
symbol no longer gates any code.
Remove the now-redundant "select RING_BUFFER" and CONFIG_RING_BUFFER=y
entries across drivers, subsystems, samples and tests.

Signed-off-by: Måns Ansgariusson <mansgariusson@gmail.com>
2026-09-16 07:29:22 +02:00
Måns Ansgariusson
f1b5428545 drivers: serial: serial_test: drop CONFIG_RING_BUFFER guards
The ring buffer API is now unconditionally available, so the mock serial
driver no longer needs to compile its written/read_queue buffers and the
poll/queue/peek helpers conditionally.
Remove the #ifdef CONFIG_RING_BUFFER blocks and the -ENOTSUP fallback in
serial_vnd_poll_in().

Signed-off-by: Måns Ansgariusson <mansgariusson@gmail.com>
2026-09-16 07:29:22 +02:00
Gaofeng Zhang
905d5ff3ce driver: wifi: remove duplicate register iface to nm during init
remove duplicate register iface to nm during uap and wap_supplicant
in wifi driver.

Signed-off-by: Gaofeng Zhang <gaofeng.zhang@nxp.com>
2026-09-16 07:28:52 +02:00
Humphrey Chiramba
04be086c63 driver/wifi/esp_mesh: Converted to runtime config
Made some items runtime configurable such as the SSID and PSK
In addition, the channel and mesh id can be configured during runtime
Removed Kconfigs relating to these items

Signed-off-by: Humphrey Chiramba <humphrey@plentify.co.za>
2026-09-16 06:00:26 +02:00
Benjamin Cabé
0c5a0c9e1d drivers: audio: codec_dummy: implement the required operations
start_output, stop_output and apply_properties are mandatory in the
audio codec interface and this driver does not define them, so calling
one of them dereferences a null pointer.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-09-16 05:52:28 +02:00
Zayne Stites
8a88b7868f drivers: i3c: dw: report -EALREADY when detaching an unattached device
i3c_detach_i3c_device() documents -EALREADY for a device that is not
attached, but this driver's detach callback still returned -EINVAL.

Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
Assisted-by: Claude:claude-opus-5
2026-09-16 05:52:11 +02:00
Zayne Stites
3fa63091cf drivers: i3c: rstdaa_all: tolerate -EALREADY when detaching in rstdaa_all
i3c_detach_i3c_device can return -EALREADY if a device is
already detached. Update i3c_bus_rstdaa_all to handle this
return type as a non-error.

Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
Assisted-by: Claude:claude-opus-5
2026-09-16 05:52:11 +02:00
Vivian Pais
ee19103833 drivers: gpio: mspm0: fix syntax error by encasing case in block
Enclose the GPIO_INT_MODE_EDGE case logic within a block to fix a
compilation failure caused by case label being directly followed
by a variable declaration.

Signed-off-by: Vivian Pais <v-pais@ti.com>
2026-09-16 05:51:41 +02:00
Jaeyeong Lee
e10fd3d579 drivers: modem: fix ST87MXX context type
Store the modem context using its actual type so future accesses through
the registration data remain type-correct. Remove the incompatible cast.

Fixes #113551

Assisted-by: Codex:gpt-5
Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
2026-09-16 05:49:39 +02:00
Zayne Stites
1f0ec6bffe drivers: i3c: dw: read the IBI status count from the right field
Fix mixup of QUEUE_STATUS_IBI_BUF_BLR (IBI data buffer level)
with QUEUE_STATUS_IBI_STATUS_CNT (number of queued IBI status entries).
Using BUF_BLR was causing under-reading while data was pending, and
over-reads while it wasn't.

Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
Assisted-by: Claude:claude-opus-5
2026-09-16 05:44:32 +02:00
Zayne Stites
1014bdc684 drivers: i3c: dw: clear target DA-assign status when IBI is disabled
INTR_SLAVE_MASK enabled INTR_IBI_UPDATED_STAT and
INTR_DYN_ADDR_ASSGN_STAT unconditionally, but the INTR_STATUS
write in i3c_dw_irq was guarded by CONFIG_I3C_USE_IBI=y.  This was
causing my target to get stuck re-entering ISR and hang.

Resolving by removing INTR_IBI_UPDATED_STAT from the target
interrupt mask when IBI=n and moving the dynamic address handling
out of the IBI=y guard.

Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
Assisted-by: Claude:claude-opus-5
2026-09-16 05:44:18 +02:00
Benjamin Cabé
c5ed2bc42b drivers: gnss: fix unused-function build error without PM_DEVICE
gnss_nmea_generic_suspend() is only called from
gnss_nmea_generic_pm_action(), which is compiled out unless
CONFIG_PM_DEVICE is set. Building with CONFIG_PM_DEVICE=n leaves it
unused and fails with -Werror=unused-function. Guard its definition
with the same #if CONFIG_PM_DEVICE used for the caller.

Found via a twister CI run building drivers.gnss tests for boards
without device PM enabled. Not built or run on hardware.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-09-16 05:41:19 +02:00
Yuan Bian
e74c50de44 drivers: ethernet: e1000: enable broadcast accept mode
RCTL.BAM (bit 15) is required for the 8254x MAC to accept Ethernet
broadcast frames. Multicast promiscuous mode (RCTL.MPE) does not cover
broadcasts, so ARP, DHCP and other broadcast traffic is dropped in
hardware.

Set RCTL_BAM when programming RCTL at interface bring-up. With this
change, QEMU e1000 in TAP mode can complete ARP/DHCP and pass traffic.

Signed-off-by: Yuan Bian <bianyuan@kylinos.cn>
2026-09-15 14:41:30 +02:00
Han Zhao
964d93f985 wifi: nxp: increase wlcmgr_mon_task stack size when recovery enabled
When CONFIG_NXP_WIFI_RECOVERY is enabled, wlcmgr_mon_task handles
WIFI_RECOVERY_REQ by calling wlan_reset(CLI_RESET_WIFI) directly on
its stack. This performs a full WiFi disable+re-enable sequence whose
cumulative stack consumption (~4200 bytes) exceeds the default 3072
byte limit, causing a stack overflow:

  ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
  Current thread: wlcmgr_mon_task

Increase the default stack size to 5120 bytes when NXP_WIFI_RECOVERY
is selected. Verified with kernel thread stacks: usage 4200/5120
(82%). Keep 3072 bytes for non-recovery builds to avoid wasting RAM.

Signed-off-by: Han Zhao <han.zhao@nxp.com>
2026-09-15 14:40:37 +02:00
Nate Murphy
7368650ab8 drivers: adc: ads1x4s0x: apply INPMUX defaults to correct variable
ads1x4s0x_channel_setup() applied ADS1X4S0X_REGISTER_INPMUX_SET_DEFAULTS
to `gain` instead of `input_mux`, so the INPMUX default was written to
the PGA accumulator (immediately overwritten by PGA_SET_DEFAULTS) rather
than the INPMUX byte. The behavior is unchanged because input_mux has
both MUX nibbles written unconditionally before use, but the code did
not do what it reads as doing. Fix the target variable.

Signed-off-by: Nate Murphy <nmurphy.mine@gmail.com>
2026-09-15 14:39:09 +02:00
Johann Fischer
b324a1000c drivers: udc: fix multiple instance support in UDC driver
The driver's endpoint configuration must be per instance.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-09-15 14:39:01 +02:00
Maochen Wang
58bb0e085d drivers: wifi: nxp: use correct Kconfig symbol for 5 GHz support
The NXP Wi-Fi driver should use the Zephyr Kconfig symbol
CONFIG_NXP_WIFI_5GHz_SUPPORT instead of the internal wifi_nxp
symbol CONFIG_5GHz_SUPPORT which is only available through
an indirect macro alias.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-09-15 14:38:48 +02:00
Maochen Wang
1455d58383 drivers: wifi: nxp: propagate scan type for full-band scans
When a passive scan is requested without an explicit channel
list (full-band scan), the per-channel scan_type assignment
loop is skipped because band_chan[0].channel is zero. This
leaves chan_list[].scan_type at MLAN_SCAN_TYPE_UNCHANGED (0),
so the requested scan type is not propagated to the lower
layer for non-DFS channels.

Fix this by setting chan_list[0].scan_type after the channel
loop when no explicit channels are provided.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-09-15 14:38:48 +02:00
Ibrahim Abdalkader
96f705bdb7 drivers: wifi: esp_hosted: Walk the init event TLVs
The init event is a list of {tag, length, value} triplets, and which tags
the slave sends varies between firmware versions, so reading them at fixed
offsets logs the wrong values.

Look them up by tag, and check the event length against the frame length
before walking.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-09-15 14:37:12 +02:00
Ibrahim Abdalkader
ed60341ff5 drivers: wifi: esp_hosted: Set the WiFi mode at init
The slave boots in WIFI_MODE_NULL and leaves the mode to the host, but
the driver never selected one.

Set the mode to APSTA so that MAC address queries also succeed.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-09-15 14:37:12 +02:00
Anas Nashif
8321f2d743 drivers: serial: renesas_ra: use portable IRQ pending API
Replace direct NVIC pending-state calls with k_irq_set_pending()/
k_irq_is_pending()/k_irq_clear_pending(), dropping the dependency on
cmsis_core.h where nothing else needed it.

The NVIC_EnableIRQ()/NVIC_DisableIRQ() pair on the error interrupt
becomes irq_enable()/irq_disable().

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-09-15 14:34:03 +02:00
Anas Nashif
fe2100ba12 drivers: counter: renesas_ra_agt: use portable IRQ pending API
Replace direct NVIC pending-state calls with k_irq_set_pending()/
k_irq_is_pending()/k_irq_clear_pending(), dropping the dependency on
cmsis_core.h where nothing else needed it.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-09-15 14:34:03 +02:00