Commit graph zephyr/drivers
Author SHA1 Message Date
Martin Hoff
83a052f190 driver: dma: dma_silabs_siwx91x_gpdma: Add pm support
This commit introduce power management in gpdma driver.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-23 17:57:14 +02:00
Qingsong Gou
039389187f drivers: clock_control: fix sf32lb clock_control typo
fix a sf3232lb_clock_is_ready_dt typo

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-10-23 17:53:25 +02:00
Chris Friedt
da60309b10 drivers: smbus: stm32: implement smbus_stm32_pcall() with pec
Implement smbus_stm32_pcall() with packet error correction.

For more information, please see chapter 6.5.6 of the SMBus specification.
https://smbus.org/specs/SMBus_3_1_20180319.pdf

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-23 17:51:09 +02:00
Chris Friedt
ee135a8a3c drivers: smbus: stm32: implement smbus_stm32_block_pcall() with pec
Add SMBus Block Write-Block Read Process Call API for STM32.

This implementation also supports PEC mode (packet error checking) and is
dependent on PEC support already being supported in-tree.

Signed-off-by: James Growden <jgrowden@tenstorrent.com>
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-23 17:51:09 +02:00
Fabin V Martin
0bd56429d3 drivers: flash: microchip: add flash g1 driver
Add flash driver for Microchip NVMCTRL g1

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Tony Han
ac1c5bb1af drivers: ethernet: sam_gmac: update for support sama7g54
Use proper settings of clock, data bus width for sama7g54.
Update queue number checking and the macro definition in header file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-23 10:39:50 +02:00
Tony Han
0c1f48ebc2 drivers: ethernet: sam_gmac: add GMAC Reference Clock support
Add property for selecting the source for GMAC Reference Clock to dts
bindings yaml file.
Choose the source for the GMAC Reference Clock by GMAC_UR register.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-23 10:39:50 +02:00
Tony Han
6a9a01a7d3 drivers: mdio: sam: update clocks for supporting sama7g54
Do not config the clocks as they are already done in soc.c.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-23 10:39:50 +02:00
Tony Han
b33f7bd06b drivers: ethernet: sam_gmac: use sys_cache_data_foo() for coherence
Replace cache coherence functions:
 - SCB_InvalidateDCache_by_Addr() to sys_cache_data_invd_range()
 - SCB_CleanDCache_by_Addr() to sys_cache_data_flush_range()

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-23 10:39:50 +02:00
Antonino Scarpaci
54ca22a626 drivers: video: Himax HM01B0 camera sensor driver
Add Himax HM01B0 camera sensor driver.
It depends on I2C and it is required to configure the camera.

Signed-off-by: Antonino Scarpaci <antonino.scarpaci@gmail.com>
2025-10-23 10:39:41 +02:00
Siratul Islam
cc0178489b drivers: auxdisplay: Add TM1637 7-segment display driver
Add a new auxdisplay driver for TM1637 7-segment LED displays.

The driver supports:
- 4-digit 7-segment display output
- Decimal point positioning
- Brightness control (0-7 levels)
- Display on/off control
- All digits (0-9)
- Basic cursor positioning

The driver implements the standard AUXDISPLAY API

Signed-off-by: Siratul Islam <sirat4757@gmail.com>
2025-10-23 10:39:18 +02:00
Khoa Tran
9548457715 drivers: i2s: Remove redundant condition check causing transfer error
When enabling the DTC (Data Transfer Controller) for the I2S SSIE driver
on Renesas RA8x2 boards, a redundant condition check prevented the
interrupt service routines from entering  during data transfer. This
caused the transfer to fail when DTC was active.

This commit removes the unnecessary condition check, allowing the DTC to
operate correctly with I2S SSIE transfers on RA8x2 devices.

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-10-23 08:01:21 +02:00
Khoa Tran
1ad2bc04b3 drivers: spi: Correct condition for continuing data transfer
When performing polling-based data transfer without enabling interrupts,
the current implementation stops transferring as soon as either the TX or
RX buffer becomes NULL. This causes the transfer to stop prematurely,
even if the other direction still has data to send or receive.

This commit fixes the condition so that data transfer continues
as long as one direction (TX or RX) still has data remaining.

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-10-23 08:01:21 +02:00
Hieu Nguyen
1f4979975d drivers: dma: Add DMA support for Renesas RZ/V2L, A3UL, T2M, N2L
Add DMA driver support for Renesas RZ/V2L, A3UL, T2M, N2L

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-23 08:00:49 +02:00
Andreas Klinger
c93788a0ea drivers: sensor: remove redundancies in veml6031 and veml6046
- create common header file veml60xx-common.h for sensors VEML6031 and
  VEML6046.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
2025-10-22 18:14:02 -04:00
Andreas Klinger
1e80842749 drivers: sensor: add Vishay veml6046 RGBIR color sensor
- add driver for Vishay VEML6046 RGBIR color sensor
- add new compatible "vishay,veml6046"
- support fetch and get sensor subsystem operations
- triggered mode and interrupts are not yet supported

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
2025-10-22 18:14:02 -04:00
Stoyan Bogdanov
eadd4d57b7 drivers: counter: cc23x0: Add power management to LGPT
Add PM support for LGPT0, LGPT1, LGPT2 and LGPT3 to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-22 18:13:44 -04:00
Stoyan Bogdanov
2b646bf702 drivers: counter: cc23x0: Add power management to RTC
Add PM support for RTC to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-22 18:13:32 -04:00
Zacck Osiemo
9a48b1a35d tests: spi: include correct overlay for sc18is606
Apply correct device tree overlay is applied for SC18IS606

Signed-off-by: Zacck Osiemo <coderv63@gmail.com>
2025-10-22 18:13:18 -04:00
Zacck Osiemo
eb676f8711 drivers: spi: Introduce SC18IS606 SPI bridge driver
Added the driver implementation and Kconfig choices

Signed-off-by: Zacck Osiemo <coderv63@gmail.com>
2025-10-22 18:13:18 -04:00
S Mohamed Fiaz
bae6364995 driver: spi: silabs_siwx91x_gspi: Add pm device support for gspi driver
This commit enables the pm device driver support
for the spi_silabs_siwx91x_gspi driver.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-10-22 18:13:04 -04:00
Luis Ubieda
7e317201cc bmi08x: Add support for Read-decode and Streaming Mode
One-shot reads through Read-Decode API matches functionality
from Fetch-Get API, but asynchronously.

Streaming mode supporting FIFO Watermark Interrupts. Works for both
Gyro and Accel drivers.

These changes are covered under the build-all test for sensor async
api.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-10-22 18:09:24 -04:00
Fabrice DJIATSA
3eedfcc21c drivers: clock_control: stm32: enable clocks for SRAM1 and SRAM2
enables the AHB2 peripheral clocks for SRAM1 and SRAM2
on STM32H7RSX series using LL_AHB2_GRP1_EnableClock.

These clocks are required to access the corresponding SRAM regions
during runtime.

Fixes potential access faults when using SRAM1 and SRAM2.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-22 18:09:14 -04:00
Stoyan Bogdanov
d7bf8c0644 drivers: i2c: cc23x0: Add power management
Add PM support to cc23x0 I2C.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-22 18:08:26 -04:00
Stoyan Bogdanov
afd2962dfc drivers: pwm: cc23x0: Add power management
Add PM support for PWM (LGPT0, LGPT1, LGPT2 and LGPT3) to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-22 18:07:42 -04:00
Aksel Skauge Mellbye
c00f8c66c7 drivers: counter: gecko_stimer: Use chosen node
Use the `silabs,sleeptimer` chosen node instead of a devicetree
compatible to select the devicetree node for the counter.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 18:07:07 -04:00
Aksel Skauge Mellbye
a13c810f3a drivers: timer: silabs_sleeptimer: Use chosen node
Use the `silabs,sleeptimer` chosen node instead of a devicetree
compatible to select the devicetree node for the RTC.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 18:07:07 -04:00
Hugues Fruchet
0d2f910d3d drivers: video: stm32_venc: fix coding style
Fix coding style issues in venc video driver.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-22 18:06:55 -04:00
Hugues Fruchet
a186c72165 drivers: video: stm32_venc: log an error in case of hardware timeout
Log an error in case of hardware timeout.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-22 18:06:55 -04:00
Hugues Fruchet
8ad4282f4c drivers: video: stm32_venc: fix return value
Avoid mixing encoder library return code and driver return value to
fix wrong value returned by enqueue() in nominal case.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-22 18:06:55 -04:00
Tahsin Mutlugun
b1c497ce02 drivers: fuel_gauge: ltc2959: Fix build warnings from declarations
C standards prior to C23 do not allow variable declarations immediately
after labels. Wrap such declarations in blocks to eliminate build
warnings.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-22 18:03:30 -04:00
S Mohamed Fiaz
b5061da0e2 driver: dma: dma_silabs_siwx91x: Add pm policy state support for dma driver
This commit enables the pm policy state lock support
for the dma_silabs_siwx91x driver.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-10-22 17:42:22 +02:00
Nathan Winslow
22710b7a14 drivers: fuelgauge: Added properties to prop_type.
Adds properties to fuel gauge api to support ADI LTC2959.

Signed-off-by: Nathan Winslow <natelostintimeandspace@gmail.com>
2025-10-22 18:35:37 +03:00
Daniel Kampert
cc3c0d04cf drivers: sensor: Add driver for MAX32664C
- Add DTS for MAX32664C
- Add driver for MAX32664C
- Add example for MAX32664C Heart rate measurement with Bluetooth
- Add private attributes and channels for health measurement

Closes: #93473

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-10-22 18:35:14 +03:00
Lucien Zhao
80c32929a1 driver: pinctrl: adapt for mcxe31x series
- add binding files: nxp,mcxe31x-siul2-pinctrl.yaml
- Enable PINCTRL_NXP_SIUL2 when nxp,mcxe31x-siul2-pinctrl is ok

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-10-22 18:35:01 +03:00
Lucien Zhao
48245312bf drivers: interrupt_controller: adapt for mcxe31x series
- adapt for mcxe31x series
- due to some bit defined in header files
  add some conditional macro to separate

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-10-22 18:35:01 +03:00
Lucien Zhao
3179b6be53 drivers: clock_control: add nxp_mc_cgm clock driver
- add clock_init function to initialize clock sources according
  devicetree settings
- finish basic clock api function

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-10-22 18:35:01 +03:00
Zhaoxiang Jin
eeea3bddee drivers: audio: Add NXP MICFIL driver
Add NXP MICFIL driver base DMIC device driver model.
MICFIL reference manual:https://www.nxp.com/products/MCX-N23X#documentation
chapter 58.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-22 18:34:20 +03:00
Zhaoxiang Jin
eaa07d0e0f drivers: mcux_syscon: enable MICFIL clock control
Enable MICFIL clock control for NXP MCUX SoCs.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-22 18:34:20 +03:00
Arthur Gay
43738e6927 drivers: disk: sdmmc_stm32: Add API to retrieve SD card CSD register
Introduce a new API function in the sdmmc_stm32 driver that allows
applications to access the Card Specific Data (CSD) register of the
SD/MMC card. This functionality, already available in the SPI-based SD
and MMC subsystems, was previously missing from the STM32 SDMMC driver.

This enhancement enables use cases such as verifying the correct SD card
during manufacturing, ensuring that OEMs use the specified SD card, and
preventing mismatches.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-22 18:33:18 +03:00
Martin Hoff
45179f895c drivers: serial: silabs: Fix uart tx abort at high baudrate
At high baudrate when using async api of the uart, the abort
function in not giving the right informations since we're stopping
the dma after getting the status of it. It makes the uart_async_api test
failed on high baudrate.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-22 15:03:23 +02:00
Martin Hoff
6ef3ea4080 drivers: serial: silabs: Correction of dma/peripheral isr exec order
This patch correct a bug where the uart/eusart tx callback might be
triggered before the dma complete callback at high baudrate when using
async transfer.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-22 15:03:23 +02:00
Dave Rensberger
bd01638716 drivers: wifi: infineon: add .iface_status method
The .iface_status method of the wifi_mgmt_ops API needs to be added
so that the "wifi status" command on the network shell will work.

Signed-off-by: Dave Rensberger <davidr@beechwoods.com>
2025-10-22 16:00:27 +03:00
Sylvio Alves
c80424818e drivers: udc_dwc2: increase stack size for ESP32-S3
Increase default UDC DWS stack size for ESP32-S3 in order
to guarantee quirks are executed without issues.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-22 15:59:59 +03:00
Sylvio Alves
afdfe74de6 drivers: udc_dwc2: add Espressif pre-enable and shutdown hooks
Ensure the USB clock is enabled before initializing the
controller by invoking the pre_enable hook. This avoids
initialization failures when the HAL has not yet configured
the clock.

Adds shutdown hook to allow interrupt and clock deinit.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-22 15:59:59 +03:00
Quang Le
d5f143b406 drivers: spi: Initial support for RZN2L, T2M
Add SPI driver support for Renesas RZN2L, T2M

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 15:59:39 +03:00
Mathieu Choplain
f95b84b501 drivers: usb: udc: stm32: add support for USB on STM32WBA6x
Add support for USB on STM32WBA6x series, along with a tiny rework of how
the st,stm32u5-otghs-phy is handled to make the code more generic by
actually consuming DT information.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-22 15:59:27 +03:00
Quy Tran
a570b0564f drivers: serial: Support PM device for serial driver
Support PM for serial driver of Renesas RX

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-10-22 15:59:01 +03:00
Jordan Yates
70b0e17d60 gnss: gnss_emul: decouple realtime and gnss time
Allow the emulator to be set to an arbitrary UTC time, instead of being
locked to reporting the current system uptime as UTC.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 15:57:08 +03:00
Jordan Yates
7c3beaf6e4 gnss: gnss_emul: allow direct config queries
Provide an escape hatch from the GNSS API requirement that a device
be active to run the configuration `get` functions. This is useful in
the context of an emulator device to query how other software modules
have configured the GNSS.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 15:57:08 +03:00