Commit graph zephyr/drivers
Author SHA1 Message Date
Muhammad Waleed Badar
676524b8eb drivers: i2c: ti: use I2C_BUS_RECOVERY kconfig
Default I2C_OMAP_BUS_RECOVERY to y when
I2C_BUS_RECOVERY is enabled.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-04-16 11:40:50 -05:00
Muhammad Waleed Badar
1b3118e6c0 drivers: i2c: stm32: use I2C_BUS_RECOVERY kconfig
Default I2C_STM32_BUS_RECOVERY to y when
I2C_BUS_RECOVERY is enabled.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-04-16 11:40:50 -05:00
Muhammad Waleed Badar
6e486a651c drivers: i2c: ambiq: use I2C_BUS_RECOVERY kconfig
Default I2C_AMBIQ_BUS_RECOVERY to y when
I2C_BUS_RECOVERY is enabled.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-04-16 11:40:50 -05:00
Muhammad Waleed Badar
f7b348a6de drivers: i2c: add global bus recovery Kconfig
Introduce a new Kconfig option `I2C_BUS_RECOVERY` to provide
a common switch for enabling I2C bus recovery support.

This ensures consistent behavior across drivers and simplifies
configuration for platforms requiring i2c bus recovery.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-04-16 11:40:50 -05:00
Alberto Escolar Piedras
d2898d3bd5 drivers: entropy: cracen: Remove unnecessary kconfig dependency
Remove unnecessary kconfig dependency and change help message to not
try to list exhaustively the supported platforms.
We can instead just depend on the DT node being present and enabled,
otherwise we will need to keep adding platforms here over time, both
in the depends line and in the help message.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-04-16 11:40:14 -05:00
Adib Taraben
39e3d29774 drivers: eth_nxp_enet_qos: support PTP timestamping
Added PTP timestamping support.

Signed-off-by: Adib Taraben <theadib@gmail.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-04-16 11:39:45 -05:00
Yangbo Lu
56bfdab49b drivers: eth_nxp_enet_qos: drop wrong hw capability
Dropped ENET_MAC_PACKET_FILTER_PM_MASK in hw capabilities,
which was added by mistake.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-04-16 11:39:45 -05:00
Adib Taraben
7e06ea552f drivers: eth_nxp_enet_qos: use buffer2 DMA feature
Implemented the use of buffer2 DMA descriptor feature.

Signed-off-by: Adib Taraben <theadib@gmail.com>
2026-04-16 11:39:45 -05:00
Adib Taraben
ddd73c6190 drivers: ptp_clock: add NXP ENET QOS PTP clock driver
Added NXP ENET QOS PTP clock driver.

Signed-off-by: Adib Taraben <theadib@gmail.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-04-16 11:39:45 -05:00
Yangbo Lu
d51d32bd2e drivers: clock_control_mcux_syscon: support ENET QOS PTP clock
Supported ENET QOS PTP clock.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-04-16 11:39:45 -05:00
Yuzhuo Liu
07ea4c7f5e drivers: counter: rtc: add Realtek Bee series support
Add counter RTC driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.

This driver supports:
- Basic counter operations
- Alarm configuration and callbacks

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-04-16 11:38:00 -05:00
Seppo Takalo
8d45e18d23 drivers: modem: cellular: Don't keep DLC2 open when not reading
When modem driver starts up, it should only open DLC channels
that it is reading.
Otherwise the remote end might send URC messages into these channels,
causing Chat module to read outdated buffered messages when it
switches reading from DLC1 to DLC2.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-04-16 14:44:17 +02:00
David Chalco
5a0e55d6b6 input: analog_axis: fix silent range overflows
When int16_t *_min and *_max are > INT16_MAX apart, subsequent
int16_t *_range silently overflows, leading to unexpected axis
samples. Promote *_range to int32_t to fix.

Signed-off-by: David Chalco <david@chalco.io>
2026-04-16 14:43:49 +02:00
Hao Luo
22ce1ec853 drivers: i2c: add pm_device_get/put in i2c_ambiq_ios
Adds pm_device_get/put in i2c_ambiq_ios to support
pm_device_runtime.

Signed-off-by: Hao Luo <hluo@ambiq.com>
2026-04-16 10:19:51 +02:00
Hao Luo
ba68d24f27 drivers: i2c: add byte mode support for ambiq i2c target
Adds byte mode for i2c_ambiq_ios.

Signed-off-by: Hao Luo <hluo@ambiq.com>
2026-04-16 10:19:51 +02:00
Hao Luo
ae3fef6d27 drivers: i2c: add i2c target support for ambiq soc
Adds bingding for ambiq ios which can used as spi device
or i2c target, and creates ios i2c driver.

Signed-off-by: Hao Luo <hluo@ambiq.com>
2026-04-16 10:19:51 +02:00
Jordan Yates
97f9a50f55 wifi: nrf_wifi: don't increase stacks for NRF70_SCAN_ONLY
Don't increase the networking subsystem stack sizes if `NRF70_SCAN_ONLY`
is enabled.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-04-16 10:18:37 +02:00
Hake Huang
8c036b2ae8 drivers: sdhc: remove unused fsl_cache.h include from imx_usdhc
imx_usdhc.c does not use any symbols from fsl_cache.h, and
fsl_usdhc.h does not require it transitively.

Remove the unused include to avoid build failures on targets where
the cache HAL header is not available, such as MCXN947 CPU1 virtual
board builds.

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-04-16 10:12:21 +02:00
Josuah Demangeon
57f0805bd5 drivers: usb: udc: dwc2: split vendor quirks per-vendor
Use one file per vendor quirk. No modification to any content,
only the same code being moved to separate files.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2026-04-16 10:12:03 +02:00
Johannes Berndorfer
2764de5c7d drivers: ethernet: esp32: Fix bug in DMA buffer read copy logic.
Fixed a logic bug in the ESP32 Ethernet DMA RX datapath.

See #107201.

Signed-off-by: Johannes Berndorfer <johannes@berndorfer.com>
2026-04-15 17:17:45 -04:00
Seppo Takalo
8ccc3c1ffd drivers: modem: cellular: Add small delay after PPP DEAD
When PPP is terminated, add small delay before attempting
to run AT commands to restart the PPP.

Assume same delay is OK as switching from CMUX to plain AT
mode.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-04-15 17:17:07 -04:00
Fin Maaß
e7a707e7a4 drivers: watchdog: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
7a2ee871df drivers: spi: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
6d89a4b2b3 drivers: uart: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
bf9d688deb drivers: pwm: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
0fdb6a2a1f drivers: i2s: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
206db569d2 drivers: i2c: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Fin Maaß
494f99b25c drivers: ethernet: litex: use mem_addr_t
use mem_addr_t for register addresses.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-15 17:15:46 -04:00
Carlo Caione
36f3bebfb7 drivers: serial: mbox: convert NXP drivers to device MMIO API
Convert three NXP drivers from raw DT_REG_ADDR() register access
to the Zephyr device MMIO API (DEVICE_MMIO_ROM / DEVICE_MMIO_RAM /
DEVICE_MMIO_MAP):

With the MMIO API, the drivers create their own mapping at init time via
DEVICE_MMIO_MAP() thus the corresponding mmu_regions entries are removed
from the five NXP SoC files that carried them.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-04-15 17:15:37 -04:00
Krzysztof Chruściński
67f1cee897 drivers: serial: nrfx_uarte: Add support for variable frame size
nRF54x devices supports 4-9 bit frame size. Extend UART driver to
support data sizes supported by the Zephyr UART API (5-9 bits).

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-04-15 17:15:26 -04:00
Mohit Talwar
3b4821f1ba drivers: regulator: fixed,gpio: apply startup_delay when enabled at boot
When a regulator is configured with regulator-boot-on, commit e572a6f
changed regulator_fixed and regulator_gpio to configure the GPIO pin as
GPIO_OUTPUT_ACTIVE during init, then pass is_enabled=true to
regulator_common_init(). This causes startup_delay_us to be silently
skipped since the delay only exists in the else-if branch which is
never reached when is_enabled=true.

Add the startup delay directly in regulator_fixed_init() and
regulator_gpio_init() before calling regulator_common_init(), so the
delay is applied only in the drivers where the GPIO state is known to
have just been actively set, not in the common path where the regulator
may already have been enabled by hardware or a bootloader.

Assisted-by: Claude:claude-sonnet-4-6

Fixes #102508

Signed-off-by: Mohit Talwar <talwarmohit2005@gmail.com>
2026-04-15 17:15:06 -04:00
Armando Visconti
d0eca7bb2c drivers: sensor: shell: fix cmd_sensor_attr_get_handler()
Some of the sensore channels (e.g. SENSOR_CHAN_GRAVITY_VECTOR and/or
SENSOR_CHAN_GBIAS_XYZ) are returning three axis values. The current
code was passing a single value and was actually crashing.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-04-15 05:54:45 -04:00
Armando Visconti
80fc72b9d8 drivers: sensor: shell: fix sensor_attribute_name array
Add SENSOR_ATTR_CHIP_ID entry (last one) in sensor_attribute_name
declaration/initialization. This is fixing a sensor_shell crash.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-04-15 05:54:45 -04:00
Muhammad Waleed Badar
d131c6dd54 drivers: i2c: use helper APIs in i2c_dump_msgs_rw for msg flags
Replace direct flag checks in i2c_dump_msgs_rw() with helper
functions to improve readability and consistency.

Use i2c_is_read_op() instead of checking I2C_MSG_READ directly.
Introduce i2c_is_reset_op() to handle restart conditions and
use i2c_is_stop_op() for stop detection. Also change the loop
index type from unsigned int to uint8_t.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-04-15 05:51:41 -04:00
Jacob Wienecke
d0e6e01fe6 input: ft5336: add monitor mode PM support
Add CONFIG_INPUT_FT5336_PM_MODE_MONITOR to select monitor mode
(0x01) for PM suspend. Monitor mode reduces the scan rate and
auto-wakes on touch detection, allowing touch events to resume
without a hardware reset. When disabled, hibernate mode is used
which requires reset-gpios to be defined.

Reconfigure interrupt GPIO on PM resume for SoCs that lose
peripheral state in deep sleep.

Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
2026-04-15 05:49:46 -04:00
Tim Lin
c29906ccaf drivers/espi: it8xxx2: Make automatic boot done vwire configurable
Guard TARGET_BOOT_STS and TARGET_BOOT_DONE vwire signaling with
CONFIG_ESPI_AUTOMATIC_BOOT_DONE_ACKNOWLEDGE.

This allows boot status acknowledgment timing to be configurable
based on different eSPI boot flows.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-04-15 05:49:34 -04:00
Mohamed Azhar
294da648ff drivers: spi: microchip: bugfixes in SPI g1 driver
Fixed CTRLA register write bugs in spi g1 driver
Updated the transfer function for handling dma mode

Fixes #106580

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2026-04-15 05:48:55 -04:00
Andrzej Głąbek
4777244fbb drivers: spi_nor: Add support for supply-gpios and t-reset-recovery
Add support for the base DT property "supply-gpios" and related
"t-reset-recovery", as in the flash_mspi_nor driver.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-04-15 05:44:07 -04:00
Rex Chen
dc91be72e7 drivers: wifi: nxp: Fix CSI data overflow issue
Set the CSI data length accordfing to chips PHY usage in wifi driver
internal to fix the issue.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2026-04-15 05:43:02 -04:00
Yuzhuo Liu
d7c5fb5290 drivers: gpio: bee: return -ENOTSUP for simultaneous input/output
Realtek Bee series GPIO does not support configuring a pin as both
input and output simultaneously. Return -ENOTSUP to skip related
test cases.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-04-15 05:42:52 -04:00
Ren Chen
5f455612de drivers: gpio: it51xxx: add port_get_direction support
Add support for retrieving the direction of selected GPIO
pins. The it51xxx SoC does not support a combined
input-output mode, so return -ENOTSUP when such that mode
is requested.

Tested with:
- tests/drivers/gpio/gpio_hogs
- tests/drivers/gpio/gpio_get_direction

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-04-15 05:40:40 -04:00
Marcin Niestroj
0a7793fe09 drivers: modem_cellular: add "Ready" signal handling
This is the same as "APP RDY", but for other modems, such as nRF-SLM.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2026-04-15 05:38:40 -04:00
David Jewsbury
5087fd6acc drivers: mspi: mspi_dw: Update tmod register definition
Removed hard-coded QSPI transfer mode definitions and replaced them
with MSPI-specific constants which is part of the new MDK.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-04-15 05:38:17 -04:00
David Jewsbury
24aadb10ae drivers: mspi: mspi_dw: Update driver for NRF_QSPI_V2 peripheral rename
nRF7120's QSPI peripheral has been renamed to MSPI.
To align with this change, the driver has been updated to
use MSPI semantics instead of QSPI.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-04-15 05:38:17 -04:00
David Jewsbury
d82d544b67 dts: nrf7120: Rename QSPI peripheral to MSPI
QSPI peripheral is now called MSPI in the MDK. To align
with this change, peripheral has been renamed in the
devicetree to MSPI.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-04-15 05:38:17 -04:00
Jip Anema
a0cac43d94 drivers: eeprom: emu: increase CBS and add support for flash erase value
The emulator would not work when the write block size of the flash is
greater than 255 and have an erase value other than 0xff. This commit
fixes those problems by retrieving the flash erase value from the
flash device and by changing the flash_cbs variable type to support
larger write block sizes. Also fixed some typos

Signed-off-by: Jip Anema <janema@highvolteng.com>
2026-04-15 05:38:08 -04:00
Tim Lin
77be4b2126 drivers/rtc: ite: Add RTC driver for ITE IT8XXX2 series
The driver provides basic RTC functionality including time read and
write, alarm configuration(alarm1 and alarm2), and daylight saving
time (DST) support.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-04-14 22:38:09 -04:00
Ren Chen
5085c2333c drivers: intc: it51xxx: add either edge hw support for wuc
Add hardware support for either-edge triggering in it51xxx
wake-up controller.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-04-14 22:38:03 -04:00
Ryan McClelland
ba7c069401 drivers: i3c: dw: implement ibi_crr_response
Implement ibi_crr_response for the DW driver by setting/clearing the
MR_REJECT bit (bit 14) in the target's DAT entry. The DW IP
automatically NACKs MR requests from targets with this bit set and
issues a directed DISEC CCC.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-04-14 22:36:39 -04:00
Ryan McClelland
2956bf3781 drivers: i3c: dw: allocate and attach unknown PIDs during DAA
When an unknown PID is discovered during ENTDAA, allocate a device
descriptor from the mem slab via i3c_device_desc_alloc(), populate it
with the PID, dynamic address, BCR, and DCR, assign controller
private data, and attach it to the bus device list. This matches the
Cadence I3C driver behavior and ensures dynamically discovered
devices are tracked.

Also set controller_priv for known PIDs in the same path, which was
previously missing.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-04-14 22:36:39 -04:00