Commit graph zephyr/drivers
Author SHA1 Message Date
Sven Ginka
249b13c8cd drivers: spi: add support for soc sy1xx
Before that commit spi was not available for the soc sy1xx.
With this commit a basic usage of spi is possible.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
Co-authored-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-06 13:43:45 -06:00
Andrej Butok
ff8d194fdd soc: nxp: kinetis: fix SOC_SERIES inconsistency
- Fixes Kconfig SOC_SERIES naming for Kinetis SoCs,
  as required by HWMv2.
- Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/69317

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-02-06 08:58:07 -06:00
Vytautas Virvičius
ff1b1f7ba8 drivers: gnss: Add optional reset support to u-blox M8
This change adds optional reset via GPIO support to u-blox M8 driver.
This is useful if host is reset separately from the u-blox M8 GNSS
receiver.

Signed-off-by: Vytautas Virvičius <vytautas@virvicius.dev>
2026-02-06 08:56:54 -06:00
David Jewsbury
0f90354a27 drivers: nrf_auxpll: Fix frequency calculation
The out_div dts setting differs to the register setting
causing the frequency calcuation to be incorrect.
This was originally intended to be fixed in NRFX but
this requires further investigation on how to approach
translation of literal values to enums in NRFX. This PR
adds a helper function for the conversion for now and
changes the devicetree bindings to align with the literal
value.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-02-06 08:55:47 -06:00
Jérôme Pouiller
5a3b4f91c7 drivers: wifi: siwx91x: Use sl_wifi_callback_function_v2 API
Let's get rid of deprecated sl_wifi_set_callback. The new
sl_wifi_set_callback_v2 changes the callback prototypes, but they kept the
semantic.

We also take this opportunity to slightly clean up the prototupes of the
callbacks.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
70bec9b18c drivers: wifi: siwx91x: Fix deprecated sl_wifi_performance_profile API
sl_wifi_performance_profile_t is deprecated. The migration to
sl_wifi_performance_profile_v2_t is pretty easy, so there is not reason to
delay it (in fact, the two versions only differ in binary compatibility,
the API is still compatible).

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
f4d863763c drivers: wifi: siwx91x: Fix deprecated sl_wifi_get_wireless_info() API
sl_wifi_get_wireless_info() has been renamed sl_wifi_get_interface_info().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
d0ccc26781 drivers: wifi: siwx91x: Fix sl_si91x_* names
Replace deprecated sl_si91x_* by sl_wifi_system_*.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
35516b4bdc drivers: wifi: siwx91x: Fix sli_*_ap_configuration() name
sli_save_ap_configuration() and sli_get_saved_ap_configuration() have been
renamed respectively in sli_wifi_save_ap_configuration() and
sli_wifi_get_saved_ap_configuration().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
b091b04ada drivers: wifi: siwx91x: Fix sli_get_opermode() name
sli_get_opermode() has been renamed in sli_wifi_get_opermode().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
c4b74b68b8 drivers: wifi: siwx91x: Fix sli_si91x_set_region_ap_request_t name
sli_si91x_set_region_ap_request_t has been renamed in
sli_wifi_set_region_ap_request_t.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
bceed839f9 drivers: wifi: siwx91x: Fix SLI_DEFAULT_MONITOR_INTERVAL name
SLI_DEFAULT_MONITOR_INTERVAL is no longer provided by wiseconnect.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Jérôme Pouiller
6a98c2457f drivers: wifi: siwx91x: Fix gcc warning
gcc complained:

.../siwx91x_wifi.c: In function 'siwx91x_status':
.../siwx91x_wifi.c:68:9: warning: 'strncpy' output may be truncated
                         copying 33 bytes from a string of length 33
                         [-Wstringop-truncation]
   68 |  strncpy(status->ssid, wlan_info.ssid, sizeof(wlan_info.ssid) - 1);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-06 08:54:54 -06:00
Christophe Guibout
57f7e53c46 drivers: clock_stm32_ll_mp2: add fdcan clock
Add FDCAN clocks rate reading to the STM32MP2 clock driver.

Signed-off-by: Christophe Guibout <christophe.guibout@st.com>
2026-02-06 08:54:22 -06:00
Ayush Singh
27ee07a66c drivers: serial: ns16550: Enable interrupts only if defined
It is possible that some uart devices ns16550 do not support interrupts.
As an example, using main domain uarts from mcu domain m4f core in AM62
processors does not support uarts.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-06 08:53:07 -06:00
Muhammad Waleed Badar
0bb2943334 drivers: uart: add pinctrl support for bcm2711 aux uart
Add pinctrl support to the bcm2711 aux UART driver to allow
uart pin configuration via the pinctrl driver.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-02-06 08:52:07 -06:00
Muhammad Waleed Badar
00eaa50369 drivers: pinctrl: add bcm2711 pinctrl driver
The BCM2711 GPIO controller provides 58 GPIO pins (0-57) that can be
configured for various functions including GPIO input/output and
alternate functions for peripherals like SPI, I2C, UART, PWM, etc.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-02-06 08:52:07 -06:00
Erdem Simsek
1b8d1bb5cb drivers: mbox: nrf_vevif_task_rx: Fix indexing in rx_set_enabled
Fixes VEVIF task receiver driver to work correctly on both nRF7120 and
nRF54h20 by correcting the mapping between Task IDs and Interrupts.

Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
2026-02-06 08:51:13 -06:00
Guillaume Gautier
d5629df7a8 drivers: i2s: stm32 sai: fix f4 clock source
For STM32F4, the SAI HAL writes into the RCC DCKCFGR register to set the
clock source. To ensure that is conforms with what is declared in the
device tree, the ClockSource field in the Init structure needs to be
correctly configured before calling HAL_SAI_InitProtocol.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-06 14:00:57 +01:00
Tim Pambor
1b4555b575 drivers: flash: shell: print partitions from all partition tables
If a device has multiple flashes, likely it has multiple partition tables.
This change updates the `flash partitions` command to print all partitions
for all partition tables, instead of just one partition table.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-02-06 13:57:08 +01:00
Benjamin Cabé
ad15a55121 drivers: i2c: adopt SHELL_HELP in I2C shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules and save flash.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-06 13:56:22 +01:00
Adrian Bonislawski
9cf26300c9 drivers: counter: ACE: enable 64-bit ticks by default
Select COUNTER_64BITS_TICKS for ACE counters to enable this
functionality by default.
This restores the default state which was disabled by recent commits.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2026-02-06 11:21:30 +01:00
Adrian Bonislawski
b446b10d23 drivers: counter: ace_v1x_rtc: fix unused function warning
Wrap counter_ace_v1x_rtc_get_value in #ifdef
to avoid an unused function warning when
64-bit ticks are disabled.

Fixes 7fc848153c

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2026-02-06 11:21:30 +01:00
Stephan Linz
bd5e2cdb5e drivers: rtc: rpi_pico: avoid corrupted data in tm_wday
'tm_wday' (and potentially all other time and date values in the
TM structure) may retrieve corrupted data during readout from the
hardware via the Pico SDK when the call to rtc_get_datetime() comes
back with error.

If the referenced data structure 'datetime_t dt' is only partially
filled or not filled at all via the Pico SDK due to invalid RTC data
in the hardware, random data will be copied from the stack to the
TM structure without further verification.

Now the Pico RTC driver follows the general idiom: If the answer is
unknow, the caller-provided TM structure must not be updated.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-02-06 11:13:44 +01:00
Stephan Linz
b8030f3b2f drivers: w1: test: vnd,w1: fix parameter handling in W1_VND_INIT()
The W1_VND_INIT() has defined the one parameter 'n', but the variable
name 'inst' was used inside the stringifications.

In addition, clang-format was invoked to meet the CI conformance
rule ClangFormat.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-02-06 11:12:43 +01:00
Felix Wang
1dd18e8763 drivers: pwm: add support for FlexPWM channel X output
1.Extend the NXP MCUX PWM driver to support three channels (A, B, and X)
instead of two.
2.Add special handling for channel X  polarity control via the OCTRL
register, as it uses VAL0 for pulse width instead of the VAL2/VAL3 pair
used by channels A and B.
3.Restore VAL0 when configuring channels A/B to preserve channel X pulse
4.Adjust LDOK timeout to one PWM period
5.Get clock frequency in init function

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-02-06 11:12:09 +01:00
Siratul Islam
fd189392a6 drivers: biometrics: add GT5X fingerprint sensor driver
Add driver for ADH Technology GT5X series optical fingerprint
sensors. Supports GT-511C1R, GT-511C3, GT-521F32, and GT-521F52
variants.

Features:
- 3-stage enrollment with retry support
- 1:1 verification and 1:N identification
- LED control
- Model-agnostic design via device tree configuration

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Siratul Islam
7e43f2e70d drivers: biometrics: add shell commands for testing
Add shell interface for biometrics driver subsystem providing
commands for:
- info: display device capabilities
- attr_get/attr_set: read/write device attributes
- enroll: full enrollment flow and individual steps
- template_list/delete/delete_all: template management
- match: verify or identify operations
- led: LED control

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Siratul Islam
59843f7776 drivers: biometrics: add emulated driver for testing
Add emulated biometrics driver for testing shell commands
and application logic. Implements full API:
- Configurable attributes
- Template storage with simulated enrollment workflow
- Match operations with configurable success simulation
- LED state tracking

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Siratul Islam
7af87b5957 drivers: biometrics: add ZFM-x0 fingerprint sensor driver
Add driver for ZFM-x0 series optical fingerprint sensors supporting
ZFM-X0, R30x, JM-101, DY-50, FPM10A, and compatible modules.

Features:
- Multi-sample enrollment flow (2 samples)
- 1:1 verification and 1:N identification matching
- LED control
- Configurable security level and timeout

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Siratul Islam
3991cf37c3 drivers: biometrics: introduce biometrics subsystem
Introduces a new drivers subsystem for biometric sensors.
The API supports enrollment, matching, and template storage.

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-06 11:10:54 +01:00
Hau Ho
d6ce5eabcb drivers: flash: Add support for flash driver on RX140 SoC
Add support for flash driver on RX140 SoC

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-02-06 11:09:14 +01:00
Hau Ho
7769a09ab5 drivers: pinctrl: Support pinctrl driver for RX140 SoC
Modify driver code to adapt with RX140 SoC

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-02-06 11:09:14 +01:00
Hau Ho
36be3745de drivers: serial: Support serial driver for RX140 SoC
Modify driver code to adapt with RX140 SoC

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-02-06 11:09:14 +01:00
Pavel Kohout
7e84c87ed1 drivers: wifi: eswifi: return error for unsupported TLS options
The eswifi socket offload driver's setsockopt() handler returns success (0)
for TLS_HOSTNAME and TLS_PEER_VERIFY options without implementing them.
This causes applications to believe TLS hostname and peer certificate
verification is enabled when it may not be, potentially enabling
man-in-the-middle attacks.

The Inventek eS-WiFi module's default P9 setting (0=None) means no
certificate verification occurs unless explicitly configured out-of-band.

Return -ENOTSUP instead, making the limitation explicit so applications
can detect and handle unsupported TLS options appropriately.

Signed-off-by: Pavel Kohout <pavel.kohout@aisle.com>
2026-02-05 16:56:38 +01:00
Martin Martincek
798d02e4ba drivers: adc: mcux_lpadc: Invalid Adc 12-bit resolution measurement
When adc resolution is set to 12bit (lpadc provides 12bit or 16bit)
and the FSL_FEATURE_LPADC_HAS_B_SIDE_CHANNELS is not enabled,
the function mcux_lpadc_isr saves the measured value to variable result
but this value is not used after that,
(unless the FSL_FEATURE_LPADC_HAS_B_SIDE_CHANNELS is enabled).
This change fixed the issue.
Tested on FRDM-MCXA266 with adc_dt zephyr sample.

Signed-off-by: Martin Martincek <martin.martincek@nxp.com>
2026-02-05 16:55:45 +01:00
Shreehari HK
595b267fd3 drivers: i2c: i2c_dw: add spike suppression support
Add support for configuring SCL and SDA spike suppression based on
the I2C controller input clock.

The DesignWare I2C spike suppression registers are programmed using
values expressed in ic_clk cycles, in line with the I2C-bus
specification.

Signed-off-by: Shreehari HK <shreehari.hk@alifsemi.com>
2026-02-05 16:54:06 +01:00
Mathieu Choplain
8b8321d184 drivers: usb: udc: stm32: split PHY configuration to dedicated drivers
Move all PHY configuration code to dedicated drivers called using a custom
API (we can't instantiate proper devices because some of these "PHYs" are
really used to initialize an interface to a device NOT owned by the SoC,
such as when an ULPI PHY is in use).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-05 16:53:38 +01:00
Mathieu Choplain
9073d572dc drivers: usb: udc: stm32: move macros to common code & refactor
Refactor utility macros in the STM32 UDC driver, and move some of them to
the STM32 common USB header as they can be useful in other places.

While at it, add new helper macro USB_STM32_NODE_PHY_IS_EMBEDDED_FS.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-05 16:53:38 +01:00
Zafer SEN
e6f64330fb drivers: sensor: lps2xdf: add PM device support and power-domain init
Add full power‑management support to the LPS2XDF sensor family
(LPS22DF, LPS28DFW, ILPS22QS). This integrates the drivers with the
Zephyr PM subsystem and allows deferred initialization through
power domains.

Introduce a power_on() callback in lps2xdf_chip_api and track the
current ODR in lps2xdf_data for suspend/resume handling. Implement
a PM control callback that:

- powers on the chip on PM_DEVICE_ACTION_TURN_ON
- enters power‑down mode by setting ODR=0 on SUSPEND
- restores the previous ODR on RESUME
- performs no action on TURN_OFF

Convert initialization to use pm_device_driver_init() and update
the instantiation macros to use PM_DEVICE_DT_INST_DEFINE.

Update each chip driver (lps22df, lps28dfw, ilps22qs) to provide a
.power_on implementation and store the initial ODR in the driver
data.

This enables proper power‑domain control and low‑power operation for
all LPS2XDF‑based pressure sensors.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-05 16:52:32 +01:00
Zafer SEN
3797301ca3 drivers: sensor: lis2dw12: add power management support
Add power management (PM) support to the LIS2DW12
accelerometer driver, enabling integration with Zephyr's
PM subsystem and power domains.

Changes:

-Implement lis2dw12_pm_control() callback to handle PM actions:
   PM_DEVICE_ACTION_TURN_ON: Performs full chip initialization
   PM_DEVICE_ACTION_SUSPEND: Puts device into power-down mode (ODR off)
   PM_DEVICE_ACTION_RESUME: Restores previous output data rate
   PM_DEVICE_ACTION_TURN_OFF: Supported (no-op)
- Refactor driver initialization:
  Extract hardware init sequence into lis2dw12_power_up()
  Add lis2dw12_bus_check() for bus readiness verification
  Use pm_device_driver_init() for PM lifecycle management
  Add PM_DEVICE_DT_INST_DEFINE to device instantiation macro

This enables the LIS2DW12 to be controlled via power domains,
allowing deferred initialization until the device is explicitly turned on,
and proper suspend/resume for power savings.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-02-05 16:51:53 +01:00
Krzysztof Chruściński
53efd4818c drivers: serial: nrfx_uarte: Fix compilation with deprecated option
Recent changes (6e65fbe585) deprecated Kconfig configuration for
TIMER that is used for bytes counting. In one place code was not
cleared correctly which results in compilation failure when
deprecated symbol is used.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-05 13:03:08 +00:00
Miika Karanki
e43d4b488c drivers: dma: stm32u5: check stream busyness in dma_suspend
Add additional business check to waiting SUSPF to be set so
that the loop cannot be executed forever when the dma stream
is idle.

When the stream is not busy, then there is nothing to suspend.
However, if suspend was attempted for an idle stream, then the
changed loop waited forever SUSPF to be set. This could have
happened at least when serial api tx_abort() is called with
stm32u5 and tx dma transfer becoming ready about the same time
the tx_abort() API is called.

Fixes #103042

Signed-off-by: Miika Karanki <miika.karanki@vaisala.com>
2026-02-05 13:00:42 +00:00
Mahesh Mahadevan
4d6f0855b1 drivers: nxp_i2s: Add double buffer to TX path
Add double buffering to the TX path

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2026-02-05 12:59:08 +00:00
Mahesh Mahadevan
6fe085fd7c drivers: i2s: Refactor NXP MCUX Flexcomm driver
1. Rename the queue structure from i2s_txq_entry to
   i2s_mcux_q_entry
2. Renamed NUM_RX_DMA_BLOCKS to NUM_DMA_BLOCKS
3. Changed config_dma_blocks function to take
   struct i2s_mcux_q_entry * as an argument.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2026-02-05 12:59:08 +00:00
Liam Ogletree
0ff28c779c drivers: haptics: Refactor error macros for IRQ acknowledgement
Clean up error macros to be more descriptive, and fix the IRQ number
for VDDB from 1 -> 10.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-02-05 10:27:30 +00:00
Liam Ogletree
e7ed36db84 drivers: haptics: Add IRQ acknowledgement for haptics errors
Currently, the driver does not acknowledge error interrupts from
the device, resulting in the IRQ being continuously set in certain
cases. Add writes to acknowledge these interrupts.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-02-05 10:27:30 +00:00
Yves Wang
9a1726f07f drivers: display: sdl: add display orientation support
Add support for display orientation to the SDL display driver by
implementing the set_orientation API.
It will rotate around the center point.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-02-05 10:22:12 +00:00
Benjamin Cabé
a7ed510ec9 drivers: usb: use proper essential type in boolean variables assignments
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-05 10:20:22 +00:00
Benjamin Cabé
1274be64ad drivers: serial: use proper essential type in boolean variables assignments
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-05 10:20:22 +00:00