Commit graph zephyr/drivers
Author SHA1 Message Date
Pete Johanson
d3dbe45ccb drivers: spi: Fix for SPI register access on MAX32
Add the additional required busy wait needed when accesseng SPI registers
during setup of a new SPI transaction.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-10 09:35:21 +01:00
Nhut Nguyen
5eb9d75dcc drivers: gpio: renesas: Add support for RZ/T2H, N2H
Update GPIO driver to support Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
ddef67d4ae drivers: serial: renesas: Add support for RZ/T2H, N2H
Update serial driver to support Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
e7093b66e0 drivers: intc: renesas: Add support for RZ/T2H, N2H
Add interrupt controller driver support for Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Tony Han
d747277488 drivers: crypto: aes: add driver for Microchip AES
Add driver for Microchip Advanced Encryption Standard (AES), update
Kconfig and make files.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Yves Wang
29d0519feb drivers: mipi_dbi: nxp_flexio_lcdif: support EDMA on MCXE31
Use EDMA instead of DMA0 when CONFIG_SOC_SERIES_MCXE31X is set.
This matches the MCXE31 HAL instance for EDMA_SetModulo().

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Yves Wang
91e6751ca2 drivers: clock_control: nxp_mc_cgm: provide FlexIO clock rate
Return core clock for MCUX_FLEXIO_CLK in get_rate.
This lets nxp_flexio_get_rate() configure FlexIO LCDIF.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Muhammed Asif
484fc98868 drivers: microchip: interrrupt controller: Adds support for pic32cxsg
- Updates the eic g1 driver to support pic32cx sg boards

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-03-09 15:06:26 -05:00
Yuzhuo Liu
3c46baa1a2 drivers: serial: add rtl8752h serial driver
Add rtl8752h series in bee serial driver.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-09 15:03:48 -05:00
Yuzhuo Liu
f91ac6596e drivers: gpio: add rtl8752h gpio driver
Add rtl8752h series in bee gpio driver.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-09 15:03:48 -05:00
Yuzhuo Liu
e5c0f9698f drivers: pinctrl: add rtl8752h pinctrl driver
Add rtl8752h series in bee pinctrl driver.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-09 15:03:48 -05:00
Yuzhuo Liu
137b44c250 drivers: clock: add rtl8752h clock driver
Add rtl8752h series in bee clock driver.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-09 15:03:48 -05:00
Fengming Ye
922a057c1b drivers: wifi: nxp: add scheduled scan support
Add scheduled scan apis support for supplicant.
Add kconfig options to set default iteration and scheduled scan
min interval.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2026-03-09 15:02:26 -05:00
Etienne Carriere
a143581d81 drivers: misc: stm32n6_axisram: fix multi axisram config cases
Fix condition to initialize ramcfg device for stm32N6xx AXISRAM
configuration as IF_ENABLED() requires a evaluated value of 1
as positive case.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-09 11:19:44 -05:00
Sebastiaan Merckx
920922db8a drivers: ethernet: nxp_enet: align nxp_eth_mod_init init priority
The initialization priority was hardcoded to 0. However, the initialization
takes a relatively long time (1 to 2 seconds on RW612). With this change,
the initialization priority properly follows CONFIG_ETH_INIT_PRIORITY.

Signed-off-by: Sebastiaan Merckx <sebastiaan.merckx@verhaert.com>
2026-03-09 11:16:59 -05:00
Tamas Jozsi
7ec3d18e29 boards: shields: add shield/driver for the Arduino Modulino Latch Relay
Adds support for the Modulino Latch Relay I2C/QWIIC board.
Adds an example which turns a connected relay on/off periodically.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2026-03-09 14:12:03 +01:00
Sara Touqan
47606d23c3 drivers: mspi: stm32: Simplify XSPI/OSPI dev_config() flow
this commit removes mspi_stm32_xspi_config_mem() and
mspi_stm32_ospi_config_mem() from their respective
*_dev_config() implementations.

we could remove these configurations by enabling mxicy,mx25u
compatible in STM32 board overlays. This compatible activates
the flash_quirks_mxicy_mx25u entry defined in
flash_mspi_nor_quirks.h
This quirks structure implements the required flash-specific
configuration, so XSPI/OSPI driver configuration flow could be
simplified.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
2026-03-09 14:10:07 +01:00
Tim Pambor
e7c454caf8 drivers: dma: stm32u5: remove unused function
Remove a unused function that causes a warning when building.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-09 11:09:36 +01:00
Aksel Skauge Mellbye
a30340fcf6 drivers: bluetooth: hci: silabs: Migrate to RAIL 3.0 API
Use RAIL 3.0 API to configure sleep in EFR32 HCI driver.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Carlo Caione
18ead6a5ee drivers: lora: sx126x: add Kconfig for conditional sleep mode
Add CONFIG_LORA_SX126X_NATIVE_SLEEP (default y) to allow disabling
sleep mode power management. When disabled, the radio stays in
standby for faster response times at the cost of higher idle current.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
be682b5257 drivers: lora: sx126x: add sleep mode power management
Place the SX126x radio into sleep mode whenever it is not actively
transmitting or receiving.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
5966427a22 drivers: lora: sx126x: fix async RX callback error handling
Two fixes for the async RX path:

1. Only invoke the user callback for valid packets.

2. Re-check rx_cb != NULL before restarting RX. The user's callback may
   call lora_recv_async(dev, NULL) to stop reception.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
e5c9889d57 drivers: lora: sx126x: fix SPI transfer for correct read/write behavior
Fix three issues in the spi_transfer() helper:

1. pass NULL instead of the data pointer so the SPI driver sends dummy
   bytes during reads rather than the caller's buffer contents (usually
   rubbish)

2. unify TX and RX buf_set count. The old logic used different counts for
   TX and RX, which caused a length mismatch when data_len > 0 on reads.

3. pass NULL for the rx buf_set on write operations. The chip's MISO output
   during command writes is undefined, so a full-duplex transceive is only
   needed for reads.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Zhaoxiang Jin
d6168d4d3e drivers: adc: add shell commands for ADC emulator
Add shell commands for the ADC emulator driver (zephyr,adc-emul) to
allow runtime configuration of emulated ADC values during testing and
development.

The new shell commands support:
- Setting constant raw ADC codes for a channel
- Setting constant input voltage in millivolts for a channel

Commands are dynamically populated with available ADC emulator devices
from the devicetree. This enables interactive testing of ADC-dependent
code without requiring physical hardware or signal generators.

Example usage:
  adc_emul <device> raw <channel> <value>
  adc_emul <device> mv <channel> <millivolts>

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-09 11:05:50 +01:00
Zhaoxiang Jin
8f1dfd5fb3 drivers: adc: emul: allow differential mode with warning
Change the ADC emulator driver to accept differential mode configuration
instead of rejecting it with -ENOTSUP. When differential mode is requested,
the driver now logs a warning that samples are provided as raw codes and
continues operation.

This allows testing of ADC configurations that use differential mode
without requiring the emulator to implement full differential conversion
logic. The raw code values can still be set via shell commands or API
calls for testing purposes.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-09 11:05:50 +01:00
Scott Shawcroft
a9f43dc0f6 drivers: Make AT24 emulator ACK zero length write
Zero length writes can be used for scanning addresses.
Confirmed with a real device.

Signed-off-by: Scott Shawcroft <scott@adafruit.com>
2026-03-08 22:01:21 -04:00
Alex Kar
6c3491a807 drivers: i2c: sam_twihs: Lock bus when transfering data
Added bus locking for sam_twihs in the same manner as #46111.

Signed-off-by: Alex Kar <github@alexkar598.dev>
2026-03-08 16:36:28 +01:00
Brett Peterson
182c0f8dd2 drivers: audio: dmic: Adding new dmic driver for PSE84
Adds a DMIC driver for the PSE84 devices based on the PDL PDM-PCM
driver.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Brett Peterson
8a9b6fde49 drivers: dma: infineon driver descriptor config
Adding a way to configure x-loop increments greater than 1.
Fixing an issue where DMA descriptors that were allocated from a shared
pool were never freed.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Maximilian Zimmermann
c573dfdb65 drivers: firmware: add new fwcfg driver for QEMU
This PR adds a new driver for the QEMU Firmware Configuration Device.
It implements the device for both X86 and MMIO architectures (e.g. ARM).
It also supports the DMA interface for write support.

Signed-off-by: Maximilian Zimmermann <gitmz@posteo.de>
2026-03-08 16:35:53 +01:00
Kurt Eckhardt
26ae95ecb9 drivers: video: hm01b0 - add missing pieces
Adding some of the missing pieces to the HM01b0 video class.

changed the VIDEO define to match all of the other video drivers
that I have tried:
That is CONFIG_VIDEO_HIMAX_HM01B0 to CONFIG_VIDEO_HM01B0

Added a few more format sizes: 324x324 to 324x244 164x122
match the spec.

Added BAYER format for the color camera (VIDEO_PIX_FMT_SBGGR8)
Only for Full, and QVGA, as cameras with BAYER filter do
not support the binning mode.

Added 4 data bit support, using new format: VIDEO_PIX_FMT_Y4

Support for hflip/vflip controls.

Added the frmival set/get/enum functions, to allow us better
control of how many frames are generated per second.

Used the reset register enumeration similar to other implementions,
such as Arduino library, Teensy Library, and OpenME

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2026-03-08 16:35:20 +01:00
Joakim Andersson
9ec3b06186 drivers: console: Do not add newline when flushing buffer
Do not add a newline when flushing the buffer to the host terminal.
The caller may not want these newlines to be added, and the host
terminal can handle line wrapping on its own.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2026-03-06 21:39:17 +01:00
Joakim Andersson
2b16db9abd drivers: console: Add buffer size configuration for posix console stdout
Add buffer size configuration for posix console stdout buffer.
This allows to increase the buffer size for the posix console, which is
needed to avoid message flushed in the middle of ansi escape sequences.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2026-03-06 21:39:17 +01:00
Gabriele Zampieri
90029d359f drivers: modem: cellular: fix CSQ_RSSI_TO_DB macro
The macro was incorrectly using the rssi variable as input instead of
its v parameter. This only worked because a variable called rsii was
defined in the calling context.

Signed-off-by: Gabriele Zampieri <gabriele.zampieri@arsenaling.com>
2026-03-06 21:36:54 +01:00
Emil Lindqvist
ba5148006b rtc: stm32: allow disabling of pending alarm
Currently there's no way of disabling an RTC alarm if it's set; only if
it's active. This commit disables the alarm, regardless of the status.

Signed-off-by: Emil Lindqvist <emil@lindq.gr>
2026-03-06 15:14:04 +01:00
Holt Sun
4d7440110b drivers: rtc: rtc_counter: allow alarms before set_time
rtc_counter rejected rtc_alarm_set_time() before rtc_set_time() because the
epoch offset was not yet established. This breaks rtc_api on boards using
the zephyr,rtc-counter wrapper.

Fix by tracking whether the epoch is valid and deferring counter alarm
programming until rtc_set_time() establishes the epoch (then reschedule).

Also fix alarm pending semantics so an alarm is marked pending when it
fires regardless of whether a callback is installed, and treat -ETIME
from counter_set_channel_alarm() (with EXPIRE_WHEN_LATE) as an immediate
expiry by setting pending.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-06 15:13:33 +01:00
Fin Maaß
580a4d3c36 drivers: ethernet: sam_gmac: reuse cfg and data struct
reuse cfg and data struct in the ptp driver part.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 15:13:00 +01:00
Fin Maaß
10b98bf7b9 drivers: ethernet: xmc4xxx: reuse cfg and data struct
reuse cfg and data struct in the ptp driver part.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 15:13:00 +01:00
Jan Behrens
6c58a0bb30 drivers: stepper: Move existing drivers to new event handling
Replaces the event handling of drivers using gpio_stepper_common with
the new event handling logic.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-03-06 11:36:36 +00:00
Jan Behrens
eeef2153fd drivers: stepper: Adds new stepper controller event handling
The new event handling is based on the one from gpio_stepper_common but
is designed to be useable by different types of stepper motion
controllers.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-03-06 11:36:36 +00:00
Jan Behrens
6880dd8ee0 drivers: stepper: gpio_stepper_common: Fixes callback execution
Fixes callbacks not being executed if ISR_SAFE_EVENTS is disabled and
and the trigger_callback function is executed in an ISR context.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-03-06 11:36:36 +00:00
Alberto Escolar Piedras
fc2b1b2f3e drivers: uaol: Do not enable by default UAOL
Do not enable this driver class by default.
Whoever needs it should select it instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-06 11:33:35 +00:00
Fin Maaß
def8ae0708 drivers: ethernet: Remove NULL checks for iface initialization
WIth the rework of the vlan handeling, the iface init
will only be executed once per instance, so we don't need
that check anymore.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 10:07:27 +01:00
Hong Nguyen
a661b3c595 drivers: gnss: globaltop_pa6h: Introduce new driver
Basic support for GlobalTop PA6H GNSS module.

API added: set_fix_rate, get_fix_rate, set_enabled_systems,
and get_enabled_systems.

Signed-off-by: Hong Nguyen <hong.nguyen.k54@gmail.com>
2026-03-06 10:06:34 +01:00
Tim Pambor
a5edb9aa2c flash: spi_nand: support reset operation
Add support for reset extended operation to clear all volatile register
settings. Notably, ECC enable and block protection registers are not
reset by a soft reset.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-06 10:00:03 +01:00
Merin George
8c2ad47c5a boards: infineon: kit_pse84_eval: enable ble support
This update configures the board to support the CYW55513 connectivity
module by enabling the required Kconfig symbols and defining the
HCI UART interface in the Devicetree

Changes:
- dts: Enable the Infineon HCI UART node with hardware flow control.
- pinctrl:  Configured UART pins (TX, RX) and hardware flow control
  pins (RTS, CTS) specifically for the Bluetooth HCI interface
- defconfig: Adjusted CONFIG_MAIN_STACK_SIZE to provide sufficient
  headroom for the Bluetooth HCI driver and event processing.
- kconfig: make AIROC_WIFI6 selection conditional on WIFI to fix
  dependency warnings in BLE-only builds.

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Merin George
832b5f65c7 drivers: bluetooth: update Infineon HCI UART transport for CYW55513
Introduces common Kconfig configurations for the CYW55513 connectivity
module, supporting both Murata 2FY and discrete implementations.

Additionally, updates the HCI driver to include a new vendor-specific
command required for updating the SCO route to PCM

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Merin George
563ec38fc6 drivers: serial: infineon: updated hardware flow control support
Update the Infineon PDL UART driver to support Zephyr's standard
UART hardware flow control configuration.

Flow control is now derived from uart_config.flow_control allowing
applications to enable RTS/CTS using the generic UART API and
devicetree settings

configure the RTS rx fifo trigger level when flow control is enabled

Signed-off-by: Merin George <merin.george@infineon.com>
2026-03-06 09:57:43 +01:00
Mathieu Choplain
13f9f503e6 drivers: sensor: stm32_vref: obtain calibration data using NVMEM
Update bindings to consume a NVMEM cell instead of raw addresses, and
update the driver to support obtaining calibration data using the NVMEM
subsystem. For backwards compatibility and reduced footprint, the old
mechanism (direct MMIO read) is retained; a Kconfig option is introduced
to allow selecting which mechanism is used.

The sensor binding and SoC DTSI is updated accordingly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00
Mathieu Choplain
d5bd2cd573 drivers: sensor: stm32_temp: obtain calibration data using NVMEM
Update bindings to consume a NVMEM cell instead of raw addresses, and
update the driver to support obtaining calibration data using the NVMEM
subsystem. For backwards compatibility and reduced footprint, the old
mechanism (direct MMIO read) is retained; a Kconfig option is introduced
to allow selecting which mechanism is used.

The sensor binding and SoC DTSI is updated accordingly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00