Commit graph zephyr/drivers
Author SHA1 Message Date
Felix Wang
e51dc855d4 drivers: sensor: nxp: qdec_mcux: migrate to mux subsystem
Drop the direct MCUX_XBARA HAL coupling in the QDEC driver in
favour of the new generic mux subsystem: the driver now selects
CONFIG_MUX, defines mux states from a "mux-states" devicetree
property and applies them at init time via mux_state_apply(),
which makes it agnostic to the underlying mux hardware.

Update the nxp,mcux-qdec binding to include mux-consumer.yaml,
augment the i.MX RT10xx XBAR nodes with CCM clock phandles plus
the new #mux-control-cells / #mux-state-cells declarations, and
migrate the MIMXRT1050-EVK QDEC overlay to the mux-states syntax.

Add the matching XBAR clock support to the i.MX CCM clock driver
(IMX_CCM_XBAR1_CLK / IMX_CCM_XBAR2_CLK gate/ungate, guarded by
CONFIG_MUX_NXP_XBAR) so the XBAR controllers referenced by those
nodes can be clocked.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
Felix Wang
5c727a83d1 drivers: sensor: nxp: qdc_mcux: migrate to mux subsystem
Drop the direct INPUTMUX_AttachSignal() coupling in the QDC driver
in favour of the new generic mux subsystem: the driver now selects
CONFIG_MUX, defines mux states from a "mux-states" devicetree
property, and applies them at init time via mux_state_apply().
This makes the driver mux-hardware-agnostic.

Update the nxp,mcux-qdc binding to use mux-consumer.yaml, expose
the inputmux0 node on the MCXNx4x family DTSI, and migrate the
FRDM-MCXN947 / MCXN5xx-EVK QDC overlays to the new mux-states
syntax.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
Felix Wang
ba455ba7b1 drivers: mux: add NXP MCUX XBAR mux driver
Add a mux controller driver for the NXP MCUX XBAR (Crossbar
Switch) peripheral, supporting both 16-bit and 32-bit SEL register
layouts via DEVICE_MMIO. Update the nxp,mcux-xbar binding to also
declare the mux-controller interface (#mux-control-cells and
documenting the legacy xbar-maps property for as-yet-unmigrated
consumers (e.g. qdec_mcux).

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
Felix Wang
e4499e868a drivers: mux: add NXP TRGMUX mux driver
Add a mux controller driver for the NXP TRGMUX peripheral, used to
multiplex trigger signals between on-chip peripherals. The
controller exposes two address cells (trgmux instance / output id)
and supports register-level lock so that an applied routing can be
frozen for the lifetime of the system.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
Felix Wang
c1c1e30af7 drivers: mux: add NXP INPUTMUX mux driver
Add a mux controller driver for the NXP INPUTMUX peripheral.
Wraps the HAL INPUTMUX_AttachSignal() routine to route a
peripheral input signal onto a destination channel through the
unified mux_state_apply() API.

Co-Authored-By: Declan Snyder <declan.snyder@nxp.com>
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
Declan Snyder
9e71d7649f drivers: mux: introduce mux controller subsystem
Introduce a new generic multiplexer (MUX) controller subsystem
modeled on the Linux mux framework. Provides a unified API for
software- and hardware-level signal routers via mux_control_set()
and mux_state_apply(), with userspace syscall handlers and common
devicetree bindings (mux-controller / mux-consumer) for downstream
consumers.

Co-Authored-By: Felix Wang <fei.wang_3@nxp.com>
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2026-08-03 15:00:55 -04:00
Elie Carrot
d863ec49cb drivers: uart: add WCH CH5xx UART driver support
Add UART driver support for the CH5xx.
This enables the hello_world and the drivers/uart/echo_bot samples.

Signed-off-by: Elie Carrot <elie.carrot@smile.fr>
2026-08-03 15:00:06 -04:00
Elie Carrot
0c8714fb67 drivers: gpio: add WCH CH5xx GPIO driver support
Add GPIO driver support for the CH5xx series with the required bindings.
This enables the blinky sample to run by default, and the basic/button
sample when a device tree overlay is provided.

Signed-off-by: Elie Carrot <elie.carrot@smile.fr>
2026-08-03 15:00:06 -04:00
Elie Carrot
baecfddded drivers: pinctrl: add WCH CH570 pin controller driver
Add a pin controller driver for the WCH CH570 SoC.
Implements `pinctrl_configure_pins` to enable GPIO initialization and
alternate function configuration.

Update hal_wch revision in west.yml and hal_ch32fun.h to sync with
changes merged in zephyrproject-rtos/hal_wch#6

Signed-off-by: Elie Carrot <elie.carrot@smile.fr>
2026-08-03 15:00:06 -04:00
Elie Carrot
d789ccc18b drivers: timer: add missing Kconfig dependency
Add SOC_SERIES_QINGKE_V3C to the timer driver's Kconfig dependencies

Signed-off-by: Elie Carrot <elie.carrot@smile.fr>
2026-08-03 15:00:06 -04:00
Sylvio Alves
b5d7a1a7a0 drivers: sensor: pcnt_esp32: add multi-unit support
Rework the esp32 pcnt driver to expose every counting unit of a
single device. The read-and-decode api threads the unit index
through sensor_chan_spec.chan_idx so sensor_read returns an
encoded buffer that the driver's decoder unpacks per unit. The
legacy sensor_channel_get path is kept on unit 0 for backward
compatibility.

The new sensor_chan_pcnt_esp32_unit(n) helper (in a public
header) packs the unit index into the legacy sensor_channel
field so sensor_attr_set and sensor_trigger_set can target a
specific unit. A new sensor_attr_pcnt_esp32_reset attribute
clears the hardware counter.

Dt binding gains counts-per-revolution (enables degrees output
on sensor_chan_rotation), high-limit and low-limit watchpoints
(counter auto-resets on reach and raises the trigger), and
zero-cross-event. Filter is documented in apb cycles with the
correct 1023 clamp.

Threshold trigger demultiplexes per unit in the isr and fixes
the old behaviour that silently re-allocated the isr on every
trigger_set. Interrupt alloc moves to init.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-08-03 14:59:53 -04:00
Michał Jurek
64b0d2b6c4 drivers: nordic: Extend anomaly coverage for nRF71 series
Add support for nRF71 series anomaly by using solution
made for nRF54L.

Signed-off-by: Michał Jurek <michal.jurek@nordicsemi.no>
2026-08-03 08:50:57 -04:00
Fin Maaß
020dc30b01 drivers: wifi: esp32: use NET_MGMT_REGISTER_EVENT_HANDLER
use NET_MGMT_REGISTER_EVENT_HANDLER to
register the wifi_event_handler.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-08-03 08:50:25 -04:00
Alberto Escolar Piedras
fc93bc2fb0 drivers: regulator: fake: Add get_voltage custom fake
regulator_common_init() calls the .get_voltage() API.
So instead of not doing anything in the fake (not updating the voltage)
and therefore having regulator_common_init() continue with a random
value, let's update it to a relatively sensible constant (1V).

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-08-03 08:50:17 -04:00
Jeff Sun
794960511c driver: fuel_gauge: hy4245: add state of health support
Add support for getting the State of Health (SOH) property from the
hy4245 fuel gauge driver.

Signed-off-by: Jeff Sun <jsun@testo.net.cn>
2026-08-03 08:49:37 -04:00
Tim Lin
3a8e71b1b9 drivers/smbus: shell: Add a Process Call command
Add a Process Call command for validating driver functionality and
debugging SMBus devices. The command accepts a command code and write
word data, then read the word data response returned by the target device.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-08-03 08:49:08 -04:00
Tim Lin
4ab2724443 drivers/smbus: it51xxx: Implement SMBus driver for it51xxx series
The driver supports up to nine SMBus controllers and implements the
standard SMBus protocols, except for Block Process Call.

It also supports an optional FIFO mode that uses the controller's
dedicated 32-byte FIFOs to reduce the interval between transferred
bytes and improve clock stretching during SMBus transactions.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-08-03 08:49:08 -04:00
Fin Maaß
b8605f30fe drivers: ethernet: dwc_mac: qos: refactor physical location functions
refactor physical location functions.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-08-03 08:47:12 -04:00
Linus Rüttimann
80f713f37f drivers: wifi: esp32: restore STA state on synchronous connect errors
esp32_wifi_connect() sets data->state = ESP32_STA_CONNECTING before
validating the security parameters and before the synchronous calls
into the ESP Wi-Fi library. Every synchronous error return after that
point leaves the state at CONNECTING: the entry gate then rejects all
subsequent connect attempts with -EALREADY, and since no connection
was ever initiated, no Wi-Fi event will arrive to reset the state.
One failed connect (unsupported security mode, enterprise
configuration failure, esp_wifi_set_config() or esp_wifi_connect()
error) permanently wedges the interface until reboot.

Restore ESP32_STA_STARTED on all synchronous error paths so the
driver is ready for the next attempt.

Observed in the field on ESP32-C6: a provisioning request carrying an
SAE security mode on a build without CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE
returned -EINVAL once and the interface could never reconnect again
without a power cycle. Fix carried as a downstream patch on v4.3.1 and
v4.4.1 and validated on hardware there.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Linus Rüttimann <linus@noxblanc.com>
2026-08-03 08:47:03 -04:00
JaeHwan Jin
eadc2d9581 drivers: adc: add TI ADS7828/ADS7830 ADC driver
Add support for the Texas Instruments ADS7828 12-bit and ADS7830
8-bit 8-channel I2C ADCs. The two parts share one command byte and
channel permutation and differ only in resolution, so one source file
covers both. ADS7828-Q1 reuses the ADS7828 compatible.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-08-03 08:46:07 -04:00
Benjamin Cabé
6483cce27d drivers: led: lp586x: Fix channel index bounds check
channel holds the last zero-based channel index an LED occupies,
so a value equal to max_channels is already one past the last
valid channel. Reject it, matching the count-based check in
write_channels.

Assisted-by: Claude:fable-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-08-03 08:45:58 -04:00
Hui Bai
f0fbcf9554 wifi: nxp: Enable Kconfig REG ACCESS by default
Enable CONFIG_NXP_WIFI_REG_ACCESS by default in Kconfig.nxp

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2026-08-03 08:44:44 -04:00
Alberto Escolar Piedras
3c98ec5055 drivers/hwinfo/hwinfo_rpi_pico: Correct macro name
In the update to hal_rpi_pico,
POWMAN_CHIP_RESET_HAD_WATCHDOG_RESET_PSM macros name were corrected
from POWMAN_CHIP_RESET_HAD_WATCHDOG_RESET_RSM.

Update this driver accordingly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-08-02 11:44:36 -04:00
Daniel DeGrasse
ac750d00fa drivers: disk: drop redundant cmake if guard
if() guard in disk CMakeLists file was redundant since the file will
only be included by the parent CMakeLists if CONFIG_DISK_DRIVERS is
already set. Drop it.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@analog.com>
2026-08-02 11:44:17 -04:00
Benjamin Cabé
61d23e2490 drivers: sdhc: ambiq: Release resources on async transfer timeout
The async completion timeout returned while still holding the
access mutex and the PM runtime reference, wedging the controller
for every subsequent request. Unlock and drop the reference before
returning.

Assisted-by: Claude:fable-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-08-02 11:43:37 -04:00
Benjamin Cabé
5934608a23 drivers: adc: ambiq: Validate buffer size with the real channel count
The buffer check ran before active_channels was computed, so it
validated against zero required bytes and always passed, letting
undersized buffers through. Compute the channel count first.

Assisted-by: Claude:fable-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-08-02 11:43:18 -04:00
Nicolas Pitre
21c38193ee drivers: timer: cortex_m_systick: derive min timeout from cycle rate
MIN_DELAY is the floor of the SysTick LOAD register: the closest-in
timeout the driver will program. It must exceed the longest the SysTick
interrupt can stay masked, otherwise the 24-bit counter can wrap more than
once between elapsed() reads and lose a LOAD's worth of cycles. That is a
wall-clock property, but the default was a fixed cycle count:

	MAX(1024, CYC_PER_TICK/16)

A fixed cycle count is a different wall-clock time on every clock. On a
32 kHz SysTick the 1024-cycle floor is ~31 ms (31 ticks), so the driver
could never schedule a timeout shorter than 31 ticks and every such board
had to override zephyr,min-timeout-cycles by hand.

Compute it instead as a fixed wall-clock budget scaled to the actual
frequency (min_delay = SYSTICK_MIN_DELAY_US * HW_CYCLES_PER_SEC), resolved
at init and refreshed on a runtime frequency change, so it also works when
the frequency is only known at runtime. At ~10 us this matches the old
1024 cycles near 100 MHz and scales sensibly elsewhere. The tick rate is
not involved; if the budget exceeds a tick on some clock, sub-tick timeouts
are simply unavailable there. A dts override still takes precedence.

Floor the result at two cycles: LOAD is programmed as (cycles - 1) and a
LOAD of zero stops the counter, so the smallest usable reload is two cycles
(LOAD 1). On a slow clock such as a 32 kHz SysTick the 10 us budget rounds
below that, so the hardware floor is what applies and the board still needs
no override.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-08-02 11:43:02 -04:00
Hongquan Li
11e1c506ef drivers: sdhc: ambiq: convert Zephyr response type enum to HAL bitmask
Convert cmd->response_type from a Zephyr enum sd_rsp_type value to the
Ambiq HAL's MMC_RSP_* bitmask via a new helper
ambiq_sdio_resp_type_to_hal(). The helper returns false on an
unrecognized response type and the caller propagates -EINVAL to fail
fast at the API boundary.

Remove the redundant CMD-index based ui32RespType overrides, keeping
only the bCheckBusyCmd handling for CMD6 and CMD38, which is a real
HAL-specific semantic not covered by the response type enum.

Also change the helper parameter type from enum sd_rsp_type to
uint32_t to match cmd->response_type, and add an explicit (int) cast
in the LOG_ERR format call.

Fixes zephyrproject-rtos#112220

Signed-off-by: Hongquan Li <hongquan.li@processmission.com>
2026-08-02 11:42:40 -04:00
Neil Chen
927d458eaa drivers: timer: mcux_os_timer: reduce MIN_DELAY default to 50
The default MCUX_OS_TIMER_MIN_DELAY of 1000 cycles is too large
relative to CYC_PER_TICK (100) on platforms clocked at 1 MHz with
SYS_CLOCK_TICKS_PER_SEC=10000. Because MIN_DELAY exceeds CYC_PER_TICK
by 10x, nearly every sys_clock_set_timeout() call adds an extra tick,
inflating short delays and causing the kernel timer_behavior test
(timer_ramp) to fail for low delay values.

Reduce the default to 50 cycles (50 us at 1 MHz), which provides
sufficient hardware setup margin for the match register without
interfering with normal tick scheduling.

Verified on frdm_mcxa344 and frdm_mcxa156 hardware:
- tests/kernel/timer/timer_behavior: all cases pass

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-07-31 20:02:54 -04:00
Elie Carrot
7846553719 drivers: sensor: hc-sr04: handle runtime clock frequency
Avoid static initialization of the hc-sr04 driver to support boards with
a runtime clock frequency.

Signed-off-by: Elie Carrot <elie.carrot@smile.fr>
2026-07-31 20:02:23 -04:00
Kevin Chan
cef1683fbc drivers: wifi: infineon: add CYW55513_MOD_PSE84_SOM
add CYW55513_MOD_PSE84_SOM module

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-07-31 20:01:51 -04:00
Perry Naseck
a9a76ea2e6 serial: mcux_lpuart: Fix UART noise error marked as parity error
This commit fixes a small bug where a noise error is misclassified as
a parity error.

Signed-off-by: Perry Naseck <pnaseck@media.mit.edu>
2026-07-31 20:00:53 -04:00
John Batch
27273d0ffc drivers: i2c: infineon: implement per-bus i2c timeout
Implements the new per-bus timeout mechanism for the I2C bus that was
introduced in PR #107827.

Assisted-by: Github Copilot:Claude Opus 5
Signed-off-by: John Batch <john.batch@infineon.com>
2026-07-31 20:00:27 -04:00
Al Semjonovs
8cdf246f78 drivers: otp: rts5817: depend on SYSCON instead of selecting
`select SYSCON` in `OTP_RTS5817` creates a circular Kconfig dependency
loop (`SYSCON -> OTP -> ... -> DCACHE -> SYSCON`) that breaks kconfig.py
in downstream builds.

Change `select SYSCON` to `depends on SYSCON` to break the loop.

Signed-off-by: Al Semjonovs <asemjonovs@google.com>
2026-07-31 14:59:22 -04:00
Pisit Sawangvonganan
698b2a3a13 drivers: uart: align async timeout units documentation
Align the public UART async API with its microsecond-based implementation.
Update the wide-data (u16 variant) TX and RX API documentation to
specify microseconds and SYS_FOREVER_US.

Replace millisecond-named forever sentinels in the serial test driver and
asynchronous UART callers, while retaining existing microsecond timeout
values in drivers, tests, and samples.

Assisted-by: Copilot:GPT-5.6 Terra
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-07-31 14:59:13 -04:00
Ibrahim Abdalkader
30594b97c5 drivers: wifi: st67w611m1: add Wi-Fi auto-connect Kconfig
Add `CONFIG_ST67W611M1_WIFI_AUTO_CONNECT` to control persistent
auto-connect setting `AT+CWAUTOCONN`.
During init the driver reads `AT+CWAUTOCONN?` and only issues
`AT+CWAUTOCONN=<0|1>` when the module's current value differs,
so the module's flash is not rewritten on every boot.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-07-31 14:58:53 -04:00
Ibrahim Abdalkader
822944dfeb drivers: wifi: st67w611m1: set station mode during init
The init sequence never put the coprocessor into station mode, so on a
freshly flashed module the first AT+CWJAP is rejected with ERROR and
wifi connect always fails.

Issue AT+CWMODE=1,1 during initialization. This matches ST's ST67W6X
SDK, which sets station mode in W61_WiFi_Station_Start(), called early in
W6X_WiFi_Init() (before auto-connect, country code and DTIM setup). The
auto-connect field is left at the firmware default (1) so mode changes
rely on the saved flash configuration.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-07-31 14:58:53 -04:00
Zhiyuan Tang
7d4e0a1319 drivers: crypto: add Realtek Bee crypto support
Add AES and SHA-256 crypto drivers for Realtek Bee SoCs. The AES
supports 128-bit and 256-bit keys with ECB, CBC, CFB, OFB, and CTR
modes.

The SHA-256 driver supports one-shot hash operations. Add devicetree
bindings and disabled nodes for RTL8752H and RTL87x2G, so boards can
enable the accelerators explicitly.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-07-31 13:23:49 -04:00
Alberto Escolar Piedras
7e0c1b09f4 drivers: serial: native_tty: Add missing dependency
This driver needs the nsi_errno conversion component.
Let's make sure we build it by selecting it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-31 13:22:16 -04:00
Alberto Escolar Piedras
4adfe6584d drivers: led: linux-leds: Add missing dependency
This driver needs the nsi_errno conversion component.
Let's make sure we build it by selecting it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-31 13:22:16 -04:00
Alberto Escolar Piedras
7a10769ed2 drivers: i2s: native_sim: Add missing dependency
This driver needs the nsi_errno conversion component.
Let's make sure we build it by selecting it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-31 13:22:16 -04:00
Alberto Escolar Piedras
5f7028957d drivers: audio: native_sim DMIC: Add missing dependency
This driver needs the nsi_errno conversion component.
Let's make sure we build it by selecting it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-31 13:22:16 -04:00
Vilhelm Engström
6d6202afb8 drivers: hwinfo: stm32: Do not read reserved memory
According to Table 6 in the reference manual, the system memory ranging
from 0x1ff00000 to 0x1ff1ffff on STM32H7 SoCs may be accessed only by
the Cortex-M7. Notably, this range includes the 96 bit UID located at
0x1ff1e800. Attempting to access this address from the Cortex-M4 results
in a HardFault.

Simply omit the z_impl_hwinfo_get_device_id function entirely on the
Cortex-M4 and rely on the weak default symbol to return an error.

Signed-off-by: Vilhelm Engström <vilhelm.engstrom@tuta.io>
2026-07-31 13:21:15 -04:00
Bayrem Gharsellaoui
9b82224e09 drivers: sensor: linux_temp: split host file access
To avoid assuming that ZVFS_O_RDONLY matches O_RDONLY, compile the
Linux file access code directly with the host libc.

This also removes the need for the nsi_host file operation wrappers and
makes the host-side code easier to read.

Signed-off-by: Bayrem Gharsellaoui <bayrem.gharsellaoui@gmail.com>
2026-07-31 13:20:35 -04:00
Bayrem Gharsellaoui
427385c066 drivers: sensor: add a native Linux temperature driver
Add a native_sim driver to read a Linux host temperature using the
Zephyr sensor API.

Signed-off-by: Bayrem Gharsellaoui <bayrem.gharsellaoui@gmail.com>
2026-07-31 13:20:35 -04:00
Sylvio Alves
aaa9856201 drivers: bluetooth: esp32: raise bt rx stack for settings
The BLE receive thread runs the connect-time settings store
(CCC, keys, GATT database hash), which on Espressif SoCs goes
through the flash driver and PSA crypto and overflows the 1200
byte host default. Raise BT_RX_STACK_SIZE to 2048 when
BT_SETTINGS is enabled.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-31 13:20:24 -04:00
Tim Pambor
c2880a98c2 drivers: dwc_mac: qos: Support checksum offloading
Support TX/RX checksum offloading for the DWC Ethernet QoS
driver.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-07-31 13:19:36 -04:00
Tim Pambor
899b8e12a7 drivers: dwc_mac: qos: Enable store-and-forward mode
Use store-and-forward mode instead of cut-through mode to
allow for offloading of checksum calculation to the hardware.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-07-31 13:19:36 -04:00
Tim Pambor
6973302bbe drivers: dwc_mac: qos: Explicitly setup queue 0
Cores with multiple queues need to have queue 0 setup explicitly,
otherwise no queue will be available for RX/TX. As only a single
queue is used in this driver, setup queue 0 and assign the whole
fifo to it.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-07-31 13:19:36 -04:00
Tim Pambor
81de98d792 drivers: dwc_mac: qos: Set TX burst length to 32
Increase transmit burst length to 32 to improve performance.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-07-31 13:19:36 -04:00