Commit graph

25,525 commits

Author SHA1 Message Date
Chaitanya Gaikwad
ee3daf89f6 drivers: wifi: Infineon whd-expansion 1.2.1
Updated CMakeLists.txt to use bins directly with whd-expansion.
Updated Kconfig.airoc to include CYW55513UBG_SM.
Updated west.yml to latest hal_infineon revision.

Signed-off-by: Chaitanya Gaikwad <ChaitanyaSandeep.Gaikwad@infineon.com>
2025-10-17 21:03:03 -04:00
Robert Perkel
1d5ffe5cc5 drivers: sensor: microchip: mtch9010 Added mtch9010 support
Added support for MTCH9010 and applied edits from reviewers.

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2025-10-17 21:02:44 -04:00
Fabian Barraez
6b8fcaeecf drivers: sensor: add support for ALS31300 3D Hall Effect Sensor
Add driver for Allegro Microsystems ALS31300 3-axis linear Hall Effect
sensor. The driver supports:
- I2C communication interface
- X, Y, Z magnetic field measurements
- Device temperature readings

Signed-off-by: Fabian Barraez <fabianbarraez@gmail.com>
2025-10-17 22:02:28 +03:00
Charles Dias
5bad29fa38 drivers: mipi_dsi: Add STM32U5 support to DSI driver
These changes enhance the driver's compatibility with the STM32U5 series,
enabling its use in applications requiring MIPI.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-17 22:02:16 +03:00
Charles Dias
9c34b18cff dts: bindings: mipi-dsi: extend STM32 MIPI DSI support
These additions enhance the flexibility of the MIPI DSI host configuration
for STM32U5 series, enabling finer control over the DSI PLL and PHY
settings.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-17 22:02:16 +03:00
Alain Volmat
320425847e video: stm32: addition of the STM32 JPEG HW Codec support
Initial version of the support for the STM32 JPEG HW codec,
currently supporting only NV12 to JPEG without DMA support
and using SW based conversion from NV12 to MCU required
for the JPEG codec.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-17 22:01:44 +03:00
Shreehari HK
371a27c849 drivers: sensor: tdk: icm42x70: update temperature data processing
Update the temperature data processing to
handle different data sizes based on FIFO configuration.
The temperature sensor data size and conversion
formula vary depending on the FIFO mode:
1. FIFO disabled: Uses 20-bit data format
2. FIFO enabled (standard resolution): 16-bit data
3. FIFO enabled (high resolution): 20-bit data

The implementation now:
- Uses the 'fifo_highres_enabled' flag
  to determine the correct data size
- Applies the appropriate conversion formula
  based on the resolution mode
- Handles all three possible FIFO configurations
- Ensures accurate temperature readings in all modes

Signed-off-by: Shreehari HK <shreehari.hk@alifsemi.com>
2025-10-17 22:01:32 +03:00
Mathieu Choplain
ef15c3d9ba drivers: clock_control: stm32: define STM32_HSE_CLOCK based only on DT
Ensure the CONFIG_CLOCK_STM32_HSE_CLOCK symbol cannot be overridden by
making it depend on the Device Tree node "clk_hse" being enabled. The
symbol's value is also directly sourced from that node instead of being
user-configurable.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-10-17 22:01:22 +03:00
Thomas Decker
0cd6f90da6 drivers: ethernet: stm32: Add support for SOC H7RS-Family
Add SOC_SERIES_STM32H7RSX to applicable Kconfig parameters and enable
use of .eth_stm32_desc and .eth_stm32_buf linker sections for ethernet
dma.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Jilay Pandya
fa4d1c2104 drivers: stepper: Kconfig: fix bleeding Kconfigs
currently Kconfigs in stepper area are not uniformly organized
some folders have config while the others follow menuconfig

Also without having activated drivers explicitly following
Kconfigs appear in autoconf.h

CONFIG_STEPPER_ADI_TMC 1
CONFIG_STEPPER_ADI_TMC50XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ADI_TMC51XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ALLEGRO 1

refactor Kconfig.tmc51xx to tmc51xx folder
refactor adi_tmc bus related Kconfigs in adi_tmc/bus

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-10-17 22:00:39 +03:00
Aksel Skauge Mellbye
27a7cd5cc9 drivers: retained_mem: Add driver for Silicon Labs BURAM
Add retained memory driver for BURAM on Silicon Labs Series 2
devices. This is a 128-byte register-based backup memory available
in all power states.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-17 22:00:18 +03:00
Julien Panis
052ded1682 drivers: spi: cc23x0: Add power management
Add PM support to cc23x0 SPI module. This implies listing states which
cause power loss and enabling device runtime PM for the DMA in the DT.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2025-10-17 17:04:18 +03:00
Luna Pes
caae24e20e drivers: eeprom: fm25xxx: add support for infineon fm25xxx FRAM
This driver adds support for the Infineon FM25XXX series of chips.
Has been tested on Infineon FM25CL64B-G.

Signed-off-by: Luna Pes <zephyr@orangemurker.com>
2025-10-17 17:03:53 +03:00
Sylvio Alves
4eeb8fa95e mdio: esp32: fix gpio0 clock output
When GPIO0 is set as RMII clock, configure its
mux to clockout properly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-17 17:03:41 +03:00
Anthony Williams
3d5417e654 sensor: icm45686: Move watermark threshold mode to DT config
Move the watermark threshold trigger mode to a configurable dt boolean.

When using the default configuration of watermark threshold
interrupt greater than or equals, extra interrupts are serviced
to icm45686_event_handler().

When `fifo-watermark-equals;` is added to the sensor DT overlay,
the new behavior is only one interrupt is generated per watermark
threshold crossing. Until the host drains the fifo, no extra interrupts
will be generated.

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-10-17 17:03:27 +03:00
Daniel Kampert
7a4c4a6f9b sensors: apds9306: Fix I2C write/read pointer issue
- Fix i2c_write_read_dt read buffer pointer
- Initialize val2 in apds9306_attr_get with 0

Closes #97623

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-10-17 17:02:24 +03:00
Martin Koehler
1667602b76 drivers: sensor: ti,ina226: Fixed calibration value
Issue:
- The calibration value had the correct elements but false operations
- This leads to wrong values or even saturation

Changes:
- Added explenation of formula
- Moved constant from MACRO into formula to get rid of the
  confusing 10000000ULL constant
- Added rounding for better results

Signed-off-by: Martin Koehler <koehler@metratec.com>
2025-10-17 11:18:38 +02:00
Martin Hoff
ccd505ffdc drivers: bluetooth: hci: siwx91x: create dependency with nwp
The bluetooth hci on silabs siwx91x depends on the nwp
(network coprocessor). This patch allows to check for the correct
initialization of the nwp before using bt hci on siwx91x.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-17 11:17:30 +02:00
Martin Hoff
ba1d267c62 soc: silabs: siwx91x: transform nwp soc files into a driver
The goal of this patch is to switch from the nwp.c and nwp.h soc files
to the new nwp driver. During this transition, we also renamed
CONFIG_WISECONNECT_NETWORK_STACK to CONFIG_SILABS_SIWX91X_NWP which are
a better naming to let the user knows that the network coprocessor files
will be added to the compilation.

The switch from a soc file to a driver device introduce a notion of nwp
device that allows us to check for good initialization and ressources
allocation.

Before this patch, it is not possible to know if the nwp have booted
successfully or not. We can now check if the device driver is ready
or not before trying to do operation related to the nwp.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-17 11:17:30 +02:00
Arunmani Alagarsamy
bdb64d1bbf drivers: wifi: siwx91x: fix client idle timeout in AP mode
The firmware interprets the client idle timeout in units of 32 beacon
intervals, not in milliseconds. This mismatch caused the applied timeout
to be higher than the configured value.

Fix the driver to use the correct unit.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-10-17 11:17:01 +02:00
Valerio Setti
1bc2db575f modules: mbedtls: add new helper Kconfig symbol PSA_CRYPTO
The goal of new Kconfig PSA_CRYPTO_PROVIDER is to automatically enable
any of the PSA Crypto API provider available for the platform without
having the user to manually pick the proper one. This provider can be
either TF-M, if that's enabled in the build, or Mbed TLS otherwise.

PSA_CRYPTO_PROVIDER simplifies also modules/subsystem Kconfigs removing
blocks as:
	select MBEDTLS if !BUILD_WITH_TFM
	select MBEDTLS_PSA_CRYPTO_C if !BUILD_WITH_TFM

Kconfig PSA_CRYPTO_PROVIDER_CUSTOM is also added to allow the end user
to add a custom implementation of PSA Crypto API instead of TF-M or
Mbed TLS ones.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-17 11:16:25 +02:00
Valerio Setti
7b7b4fcde2 drivers: bluetooth: hci: do not select MBEDTLS_ENTROPY_C in BT_SILABS_EFR32
The driver only uses psa_generate_random() so ENTROPY_C is not required.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-17 11:16:25 +02:00
Valerio Setti
76037cec36 drivers: bluetooth: esp32: remove selection of MBEDTLS_PSA_CRYPTO_C
The driver code only relies on legacy Mbed TLS crypto, not on PSA API, so
enabling MBEDTLS_PSA_CRYPTO_C is not needed here.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-17 11:16:25 +02:00
Qiang Zhao
56098d60b4 drivers: dsa_nxp_imx_netc: add Qbv capability
add Qbv capability for dsa_nxp_imx_netc

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-10-16 22:34:41 -04:00
Qiang Zhao
d507bf9a37 drivers: dsa_nxp_imx_netc: add DSA Qbv support
Add DSA Qbv support, add set_config/get_config to set and get
Qbv configuration. support enable/disable, set/get times,
set/get list length and set/get gate control list.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-10-16 22:34:41 -04:00
Stoyan Bogdanov
bc9fce18f2 drivers: serial: cc23x0: Replace incorrect macros
Replace CONFIG_PM with CONFIG_PM_DEVICE to include pm_lock
in cc23x0 UART driver in struct uart_cc23x0_data

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
b82e7418c5 drivers: counter: cc23x0: Add dependency for RTC
In case RTC is used for system timer, it should not be used
as counter device. Dependency restricts counter driver to work
only with SYSTIM.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
6bb5378fbe drivers: timer: cc23x0: Add option to select between RTC and SYSTIM
Add choice menu where could be selected between RTC or SYSTIM for
system timer.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
ca6b18d808 drivers: timer: Add RTC timer driver for cc23x0
Add support for RTC as timer for cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Marcelo Roberto Jimenez
7777a39b63 drivers: net: Make slip use the interface name declared on Kconfig
Make the slip initialization code actually use the interface name set on
Kconfig.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2025-10-16 22:30:28 -04:00
Marcelo Roberto Jimenez
fca3d161ed drivers: net: Fix the slip initialization of the MAC address
This patch fixes a slip_get_mac() call in the wrong place, which was
causing the MAC address set in Kconfig not to be used.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2025-10-16 22:30:28 -04:00
James Bennion-Pedley
99b0c25d01 soc: wch: Add CH32V307 Support
Fixes PLL Issues with PR#95814.
Based on the work of Thomas Boje <info@andocs.biz>

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2025-10-16 15:06:01 -04:00
James Bennion-Pedley
344241718a drivers: clock_control: Load correct PLL Multipliers based on look up table
Replaces inline PLL calculation with a LUT (to be based on WCH package)

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2025-10-16 15:06:01 -04:00
Zhaoxiang Jin
b6c66b7858 west: update hal_nxp to mcux sdk 25.09.00
1. update hal_nxp to mcux sdk 25.09.00
2. Updated imxrt7xx part numbers to align with SDK.
3. Fixed typo in member of dsi_transfer_t structure. The sendDscCmd
and dscCmd shall be sendDcsCmd and dcsCmd.
4. Remove the call to the function 'CLOCK_OSC_GateOscRc400M'. This
function has been removed from the SDK.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-16 15:05:20 -04:00
Holt Sun
d4c6cdfd4f drivers: counter: mcux_snvs: update driver codes.
1. Add SRTC helper macros.
2. Implement start/stop APIs.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-10-16 15:04:18 -04:00
Zacck Osiemo
6d60beffb9 drivers: video: mcux_sdma: Reconfigure the source when getting format
Reconfigure the sensor format with the only supported format of the
sdma when getting format

Signed-off-by: Zacck Osiemo <coderv63@gmail.com>
2025-10-16 12:17:29 -04:00
Charles Dias
3a26535818 drivers: display: add HX8379C driver files
Add driver files for Himax HX8379C panel.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-16 12:17:12 -04:00
Felix Wang
eb785ef63b drivers: Counter: Fix LPTMR prescaler setting not work issue
In current code, if timer-mode-sel is 0(Timer Counter Mode),
bypass_prescaler_glitch will be 1, that makes prescaler setting
be bypassed. But this setting is very useful, especially for
long timing count.

In this patch, we update prescale-glitch-filter default value to 0,
to indicate prescaler and glitch filter are disabled, which comply
the existing devices DTS setting (prescaler = 1).
And if user sets prescale-glitch-filter properity other than 0,
we should set bypass_prescaler_glitch to false to make prescaler work,
and the clock frequence should be calculated with prescaler setting.

Update prescaler field in dt-bindings to tell developer should use
prescale-glitch-filter instead.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-10-16 12:16:59 -04:00
Alessandro Manganaro
077e5a3584 drivers: ieee802154: STM32WBA cube fw 1.7.0 updates
Changes required to update STM32WBA ieee802154 driver
according STM32WBA Cube FW 1.7.0 version.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-10-16 12:16:31 -04:00
Alessandro Manganaro
25e91c8df2 drivers: bluetooth: hci: STM32WBA cube fw 1.7.0 updates
Changes required to update STM32WBA bluetooth HCI driver
according STM32WBA Cube FW 1.7.0 version.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-10-16 12:16:31 -04:00
Zafer SEN
a103ef0406 drivers: modem: HL78XX Modem Driver
Adding HL78XX Modem Driver Implementation Using Modem Chat Framework

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2025-10-16 17:17:24 +03:00
Declan Snyder
728eff4756 drivers: dma_mcux_edma: Support EDMAv3 without dmamux
Support EDMAv3 platform that do not have dmamux or always on capability.
Therefore, memory to memory transfer is limited in this environment.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-10-16 17:17:12 +03:00
Declan Snyder
d8dbd3fade drivers: mcux_edma: refactor configure func more
Split this function up even more

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-16 17:17:12 +03:00
Francois Ramu
2fba115143 drivers: clock control: stm32 common clock enables clk48
This commit enables the clk48 clock mux if STM32_CK48_ENABLED
is set by the device tree.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-10-16 17:16:31 +03:00
Quang Le
0611b01ca3 drivers: watchdog: Initial support for RZ/A3UL, N2L, T2M
Add Watchdog driver support for Renesas RZ/A3UL, N2L, T2M

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-16 17:16:19 +03:00
Sylvio Alves
8d209b0926 timer: espressif: keep alarm disable support only for mcuboot
There is no need to disable systimer in application level
as the restart procedure automatically handles it.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-16 17:15:41 +03:00
Jun Lin
28434f8003 drivers: uart: npcx: support additional capabilities
This commit adds the following functionality support:
1. More baudrate setting.
2. 7 bit data moded.
3. Tx (CR_SOUT) and Rx (CR_SIN) signal invert.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-10-16 17:15:30 +03:00
Tom Burdick
6b350da5ec dma: Drop syscalls
DMA syscalls as they were implemented were unsafe. Accepting a void* was
never acceptable as many things could not be verified about it.
Accepting a channel identifier meant that a user mode thread could
start/stop any DMA channel which in theory could be owned by any other
driver. This shouldn't be possible.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2025-10-16 17:14:59 +03:00
Pete Johanson
759eeb6fcd drivers: spi: Ensure MAX32 config is applied fully
Add a miniscule delay to ensure the MAX32 SPI config is applied and active
before returning and initiating any transactions.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-10-16 17:13:55 +03:00
Etienne Carriere
3884641585 drivers: mipi_dsi: stm32: don't mix HAL return value and errno
Correct mipi_dsi_stm32_host_init() and mipi_dsi_stm32_attach()
to return a valid errno instead of mixing HAL return values and
errno return values.

Clarify HAL return value is of type HAL_StatusTypeDef and not an
int in mipi_dsi_stm32_transfer().

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-16 17:13:28 +03:00