Commit graph

25,525 commits

Author SHA1 Message Date
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
Jordan Yates
802f4a3fbf gnss: gnss_emul: halt callbacks when not ACTIVE
Ensure that callbacks do not continue to fire after `ACTION_SUSPEND`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 15:57:08 +03:00
Jordan Yates
9bc84b9359 gnss: gnss_emul: init with pm_device_driver_init
Remove the custom initialisation logic that attempts to duplicate
`pm_device_driver_init`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 15:57:08 +03:00
Jordan Yates
711c8ce9e1 gnss: gnss_emul: manual data update mode
Add an option for the GNSS fix state reported by the emulated GNSS modem
to be manually configured by test code, instead of being hardcoded to
always achieve a fix of hardcoded parameters after 5 seconds.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 15:57:08 +03:00
Alberto Escolar Piedras
dd06e7ec72 drivers timer nrf_rtc: Fix dependency
8498c39e13 seems to have introduce
an incorrect dependency which prevents the RTC timer from
been built if any of the RTC's are enabled.
It should only depend on the rtc1.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-10-22 15:56:04 +03:00
Fabio Baltieri
b0b5c083fb input: use single evaluation clamp
Use single evaluation clamp for few input drivers. No reason not to,
make some sense for the input_kbd_matrix call since one of the arguments
is a function.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-10-22 15:54:25 +03:00
Benjamin Cabé
2f91d64997 drivers: sensor: pni: rm3100: drop unused inline function
settings_changed() is not used, causing warnings when building with
clang. Drop it

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-22 15:54:12 +03:00
Benjamin Cabé
8e7599af34 drivers: sensor: adxl345: fix uninitialized variable warning
Fix -Wsometimes-uninitialized warning by initializing data_opt directly
from fifo_wmark_cfg->opt. At this point in the code flow, fifo_wmark_cfg
is guaranteed to be non-NULL because we can only reach this code after
fifo_full_irq is true, which requires fifo_wmark_cfg to be non-NULL.

Added an assertion to document this invariant.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-22 15:54:12 +03:00
Felix Wang
c11cf177c7 drivers: timer: Use prescale_glitch_filter for prescale setting
In eb785ef, "prescaler" has been deprecated and
"prescale_glitch_filter" is used for prescale setting.

This patch removes "prescaler" parameter and use
"prescale_glitch_filter" to simplify code and fix build
error caused by "precsaler" parameter.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-10-22 09:04:33 +02:00
Jordan Yates
cc257ddd75 modem: cellular: configurable initialisation priority
Make the initialisation priority of cellular modems configurable, and
move it earlier in the sequence by default to provide room for devices
to be initialised later.

The updated default value is set to one earlier than
`GNSS_INIT_PRIORITY`, as LTE modems often embed a GNSS modem, whose
driver may depend on the baseline modem driver (GNSS user pipes, etc).

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-22 09:03:42 +02:00
Aksel Skauge Mellbye
440755bd9e soc: silabs: Move Kconfig symbols for HAL selection to HAL
The Kconfig symbols for selecting HAL content should be part
of the HAL module integration, not defined by the SoC. Split the
symbols between the Series 0/1 Gecko HAL and Series 2 SiSDK HAL
when moving them.

For now, the Series 0/1 HAL symbols retain their name, while new
names consistent with the symbols already defined in the module
integration layer are used for the Series 2 HAL.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
d9e9f24cdf soc: silabs: Move Kconfig symbol for SE to HAL
Move the Kconfig symbol for the SE HAL to hal_silabs.
Select the symbol in the entropy driver rather than unconditionally
at the SoC level.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
cf1fbbcf83 soc: silabs: Move Kconfig symbol for clock/device init to HAL
Kconfig symbols for selecting HAL content should be part of the
HAL module integration, not defined in the SoC tree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
2b54dfa8aa soc: silabs: Select PM implementation per family directly
The indirection through a backend symbol for PM implementation
isn't necessary. Define symbol for PM HAL in HAL Kconfig, and
leverage it at SoC level.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
4602300a27 soc: silabs: Move Kconfig symbol for sleeptimer to HAL
Kconfig symbols for selecting HAL content should be part of the
HAL module integration, not defined in the SoC tree. Define the
sleeptimer symbol for WiSeConnect and SiSDK since both use it.

In the future, WiSeConnect should include the SiSDK configuration
and reuse it instead of redefining everything itself. This is a
larger scale refactor that this commit doesn't start tackling.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Mario Paja
222416f71c drivers: i2s: stm32 sai add support for stm32f4xx series
STM32F4xx series shares several DMA configurations with
the other platforms. These changes aim to enable platform
specific DMA configuration and align them to other platforms.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-22 08:57:45 +02:00
Tom Chang
4ab41ed47b drivers: ps2: npcx: update registers for NPCKn variant
This commit updates register definition for NPCKn variant to match the
datasheet.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-22 08:57:04 +02:00
Khoa Nguyen
1daa161960 drivers: misc: ethos_u: Add support NPU on Renesas devices
Add support NPU driver on Renesas devices

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-22 08:56:25 +02:00
Venkatesh Odela
44b6327fb8 drivers: ethernet: phy: ti_dp83867: Fix warnings
Wrapp the 'done:' label with #if DT_ANY_INST_HAS_PROP_STATUS_OKAY
to avoid unused label warnings when reset_gpios is not defined.

Move declaration of 'val' under the corresponding #if block to limit
its scope and prevent “unused variable” warnings.

Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
2025-10-22 08:56:01 +02:00
Tien Nguyen
5341c88365 driver: flash: Add a macro to define the 32KB block size in spi_nor.h
Add a macro to define the 32KB block size in spi_nor.h

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Tien Nguyen
8359c4dbd9 driver: flash: initial support for Renesas RZ/A3UL, T2M, N2L
This driver is based on the XSPI driver for Renesas RZ/T2M and N2L,
and the SPIBSC driver for Renesas RZ/A3UL from the HAL.

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Camille BAUD
b3d88c751a drivers: clock_control: Update clock control to support new peripherals
Guarantees De-gating the peripherals.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-22 08:55:21 +02:00
Camille BAUD
5eb694e68a drivers: dma: Introduce BFLB DMA driver
Introduce BFLB's DMA.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-22 08:55:21 +02:00
Luis Ubieda
b48e649040 icm4268x: Various driver Improvements for streaming mode
This patch makes the following improvements:
- Helper APIs for simplifying RTIO transfers.
- Simplify RTIO Streaming implementation to reduce processing time.
- Add streaming mode atomic state, in order to track overruning the
callback events generation.
- Add device pointer address to logging on error-occurrences, as it is
useful when the app has multiple instances of the driver (e.g: NXP's
VMU RT1170 has two).

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-10-22 08:52:29 +02:00
Luis Ubieda
f71c0c8898 icm4268x: Do not enable GPIO Interrupts on trigger_init
Wait until the trigger or streaming mode is configured. Otherwise,
rebooting in-between runs may cause multiple callbacks invoked when
the trigger may have not been enabled yet.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-10-22 08:52:29 +02:00
Luis Ubieda
75ace90a2c icm4268x: Remove padding from Decoder struct
This induces extra-cycles in the encoding path while streaming, which
make it difficult to achieve high-bandidth performance. The use-case
being dealt with involves cranking the IMU at 8000 ODR in batches of
1.25 ms (10 samples at 800 Hz).

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-10-22 08:52:29 +02:00