Commit graph zephyr/drivers
Author SHA1 Message Date
Guillaume Gautier
938fe74aae drivers: spi: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
SPI driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Guillaume Gautier
543d070763 drivers: i2s: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
I2S driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Guillaume Gautier
f135f10d6c drivers: counter: stm32: replace ll_func_* by ll_*
Replace ll_func_* by ll_* for LL function redefinitions in the STM32
counter driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-12 20:04:25 +01:00
Sylvio Alves
39de685f64 drivers: gpio: esp32_lp: add pull-up/down and wakeup support
Add GPIO_PULL_UP and GPIO_PULL_DOWN handling in pin_configure
and enable LP_IO wakeup source in pin_interrupt_configure via
rtcio_ll_wakeup_enable(). Both rtcio_ll_intr_enable() and
rtcio_ll_wakeup_enable() are required for LP_IO wakeup to
function, as clk_en must be set for the interrupt status
register to update.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-12 20:04:04 +01:00
Fin Maaß
772aa8da66 adc: ads1x1x: only use configurable inputs when needed
only use configurable inputs when needed for that device.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-12 20:03:53 +01:00
Gaetan Perrot
8c60b7da6b drivers: audio: tlv320dac310x: make codec_configure_filters void
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 20:03:14 +01:00
Gaetan Perrot
99b2ee4f24 drivers: audio: tlv320aic3110: make codec_configure_filters void
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 20:03:14 +01:00
Pieter De Gendt
f91399d2f5 drivers: pwm: Put driver APIs into iterable section
Use the DEVICE_API macro to put the PWM driver APIs into the correct
iterable section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:33:20 +00:00
Pieter De Gendt
ec067db807 drivers: led: pca9533: Put API into iterable section
Use the DEVICE_API macro to put the driver API into the correct API linker
section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:32:59 +00:00
Pieter De Gendt
1692f6d657 drivers: auxdisplay: tm1637: Put API into iterable section
Use the DEVICE_API macro to make sure the device API is in the respective
API linker section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 14:32:40 +00:00
Adam Kondraciuk
8870f73c17 drivers: audio: dmic_nrfx: Add support for HFCLK24M clock
Some devices use a 24 MHz PCLK as the ACLK for the PDM peripheral.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-12 14:32:07 +00:00
Adam Kondraciuk
a8607813b1 drivers: i2s: Add support for HFCLK24M clock
Some devices use a 24 MHz PCLK as the ACLK for the TDM peripheral.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-02-12 14:32:07 +00:00
Farsin Nasar V A
bf76eddd6f drivers: adc: microchip: Update ADC G1 driver for PIC32CX_SG
Update ADC G1 driver implementation to support PIC32CX_SG

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-02-12 14:29:09 +00:00
Michał Stasiak
05e7090ad7 drivers: hwinfo_nrf: align to missing DOG1 reset reason
Its missing on some targets.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-02-12 14:26:44 +00:00
Nikodem Kastelik
3171e65045 drivers: gppi: cleanup some resources before conn alloc
Some of the peripherals might be used in the bootloader
and not cleaned up properly for the next image in the boot chain.
Ensure that affected registers are always cleaned up before use.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2026-02-12 14:26:44 +00:00
Pieter De Gendt
8d66ad3210 drivers: led_strip: Put driver APIs into iterable sections
Update led_strip drivers with DEVICE_API to put the API into the correct
iterable section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-12 09:32:33 +01:00
Giuseppe Iellamo
a90f749899 drivers: can: can_stm32_bxcan: Fix TDTxR config
As the TDTxR registers reset value is undefined they must be fully
initialized when used.

Without full initialization, the TGT bit might be inadvertently set,
causing the 16-bit timestamp to be sent as the last two data bytes
when CONFIG_CAN_RX_TIMESTAMP is enabled.

Fixes: #98768

Signed-off-by: Giuseppe Iellamo <giellamo@gmail.com>
2026-02-12 09:32:22 +01:00
Maochen Wang
87565f7426 drivers: wifi: nxp: fix WPA3 connection failure
For wifi embedded supplicant, use params->sae_password and
params->sae_password_length for SAE/SAE-H2E/SAE-AUTO in nxp_wifi_connect
and nxp_wifi_start_ap, as psk is NUll and psk_length is 0.
This resolves WPA3-SAE auth failures.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-02-12 09:31:18 +01:00
Gaetan Perrot
98fd64a395 drivers: i2c: stm32: rename master terminology to controller
Rename internal variables, helpers and logs from "master" to
"controller" in STM32 I2C drivers.

No functional changes.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 09:31:08 +01:00
Gaetan Perrot
2f68ae8653 drivers: i2c: stm32: rename slave terminology to target
Rename internal variables, helpers and logs from "slave" to "target"
in STM32 I2C drivers.

No functional changes.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-12 09:31:08 +01:00
Julien Racki
8c6670cbd0 drivers: ethernet: stm32: Set MDIO clock range after MAC reset
Call HAL_ETH_SetMDIOClockRange to set back the MDIO clock range
as it is set to 0 during the software reset.

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-02-12 09:30:53 +01:00
Camille BAUD
5580fde2d6 clock_control: bflb: Improve PLL power consumption and reliability
Increases performance, reduces clock cross-domain errors,
Shaves up to 20mA off the power consumption somehow.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-02-12 09:30:40 +01:00
Khoa Nguyen
d3337f7722 drivers: i2c: Add support target mode for Renesas RA IIC driver
Add support target mode for Renesas RA IIC driver

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-02-12 09:29:31 +01:00
Khoa Nguyen
0487dfc53c dts: bindings: i2c: Add max-bitrate-supported for renesas,ra-iic
- Add `max-bitrate-supported` property to indicate the maximum
bitrate that the channel can support.
- Update `max-bitrate-supported` property value for all Renesas RA
devices
- Update driver i2c_renesas_ra_iic.c to check `clock-frequency`
property and bitrate runtime configure is correct

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-02-12 09:29:31 +01:00
Khoa Nguyen
2c9d6b1406 dts: arm: renesas: ra: Add I2C node's clock source for RA devices
Add I2C node's clock source for Renesas RA devices

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-02-12 09:29:31 +01:00
Khoa Nguyen
56b9b02dd3 drivers: i2c: Update format for Renesas RA iic driver
Update format for Renesas RA iic driver

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-02-12 09:29:31 +01:00
Harpreet Saini
67b1a12827 drivers: spi: fix halfduplex for stm32
Fix Infinite Loop Hang in Half-Duplex Master RX Mode

signed-off-by: Harpreet Saini <sainiharpreet29@yahoo.com>
2026-02-11 17:51:35 -06:00
Lin Yu-Cheng
8b2ea2e32b drivers: spi: use frequency to calculate the waiting time
Use the frequency and the data length to
adjust the waiting time of every transmission.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2026-02-11 17:49:07 -06:00
Jason Yu
872c5e34dd drivers: interrupt: gint: Add GINT driver
The GINT peripheral provides grouped GPIO interrupt
functionality, allowing multiple pins to be combined
into a single interrupt source.
Support the peripheral in interrupt controller

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-02-11 17:46:28 -06:00
Tim Pambor
2bef40ef78 drivers: serial: uart_shell: avoid utilization of C23 extension
Fix warnings reported by clang about the use of a C23 extension about
usage of a label at the end of a compound statement.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-02-11 15:04:40 -06:00
McAtee Maxwell
1eb7ce0a1d drivers: fix clock path bug in infineon clock drivers
- fix automatic set to path 0 in infineon clock driver

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-02-11 15:04:14 -06:00
Rob Barnes
da79ce7c80 drivers: serial: stm32: fix C23 extension usage in uart_stm32_dma_rx_flush
Moving the declaration of half_pos out of the switch case to avoid
C23 extensions that cause build failures in some environments.

BUG=None
TEST=None

Signed-off-by: Rob Barnes <robbarnes@google.com>
2026-02-11 15:03:49 -06:00
Jason Kridner
2bd1b64207 drivers: i2c: gpio_i2c_switch: pm nop deprecated
The function device_pm_control_nop has been deprecated and replacing it
with NULL is required for compilation.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
2026-02-11 16:34:01 +01:00
Ha Duong Quang
adb19db6c1 drivers: dma: mcux_edma: fix IRQ mask width calculation
Correct GET_EDMA_CHANNEL_SHARED_IRQ_MASK_WIDTH to handle cases
where DMA channel count is ≤ 32. The previous implementation used
integer division by 32, returning 0 for counts < 32, which caused
issues in dma_mcux_edma_multi_channels_irq_handler().

New logic:
- Return 1 for ≤ 32 channels (one uint32_t mask)
- Return dma_channels / 32 for > 32 channels

Ensures proper mask width calculation for all supported channel

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-02-11 16:33:50 +01:00
Baptiste Coffin
67316cc394 drivers: ieee802154: mcxw: fix Enhanced ACK IE parsing
The mcxw driver was parsing Thread Vendor-Specific ACK Probing IE
with hardcoded token positions, assuming LQI at offset 6, Link
Margin at offset 7, and RSSI at offset 8. This failed when tokens
were in a different order or when fewer than 3 metrics were present.

Parse the IE length field and iterate through all tokens, matching
them by value (0x01=RSSI, 0x02=Link Margin, 0x03=LQI) instead of
position. This supports 1-2 metrics in any order as per Thread 1.2.

Signed-off-by: Baptiste Coffin <baptiste.coffin_1@nxp.com>
2026-02-11 16:33:36 +01:00
Ramakrishna Chintha
c6635a8421 drivers: espi: Update Microchip MEC172x eSPI VW cfg properties
Remove self-assignment in the initializer, Remove setting up all
other bits insted of clearing.

Signed-off-by: Ramakrishna Chintha <ramakrishna.chintha@intel.com>
2026-02-11 13:56:48 +01:00
Tim Pambor
176a880666 drivers: flash: simulator: support multiple instances
Rework flash simulator to use per-instance configuration,
replacing single global state and enabling support for
multiple independent simulator instances.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-02-11 10:39:29 +01:00
Immo Birnbaum
c9671cf934 drivers: ethernet: xlnx_gem: unify spelling
Whenever a buffer descriptor or one of its properties is
referenced, either in macros, struct declarations or variable
declarations, use the spelling 'rx_bd'/'RX_BD'/'tx_bd'/'TX_BD'
instead of 'rxbd'/'RXBD'/'txbd'/'TXBD'.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2026-02-11 09:21:47 +01:00
Immo Birnbaum
c206ff165f drivers: ethernet: xlnx_gem: fix DMA operation on ZynqMP
Add fixes for ZynqMP-based targets:

- Consider the retrofitted 64-bit RX/TX buffer descriptor ring
  base address registers which didn't exist on the Zynq-7000 yet.
- Properly tie off the unused set of RX/TX BD ring base address
  registers as described in the ZynqMP TRM (UG1085 v2.4, chap. 34:
  'GEM Ethernet', 'Programming Model', 'Initialize the controller',
  p. 1064): indicate that there's no data to be transmitted via the
  unused TX BD ring, and that no data can be placed via the unused
  RX BD ring.
- Change the DMA layout: instead of having both the BD rings and
  the packet buffers in non-cached memory or the Zynq's OCM, place
  the BD rings in uncached memory but place the actual RX/TX packet
  buffers in cached memory instead.
- Add the required cache maintenance operations for this layout.
- Select the required facilities for nocache memory and cache
  maintenance support in the driver's Kconfig file.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2026-02-11 09:21:47 +01:00
Pieter De Gendt
674a6a1bc8 drivers: watchdog: rts5817: Put API into iterable section
Use DEVICE_API macro to put the driver API into the correct iterable
section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-11 07:59:49 +01:00
Pieter De Gendt
40cbbd5793 drivers: dma: Put driver APIs into iterable sections
Make sure all DMA drivers are located in their linker sections.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-02-11 07:59:34 +01:00
Holt Sun
0d507c58f1 drivers: timer: mcux_os_timer: fix drift in tickless mode.
In tickless mode, advance last_count in whole tick increments rather
than setting it to the raw timer value. This prevents sub-tick ISR
latency from accumulating in last_count, which would otherwise manifest
as long-term timer drift.

The fix inverts the conditional logic so that:
- Tickless mode: last_count += elapsed_ticks * CYC_PER_TICK
- Tickful mode: last_count = now (unchanged behavior)

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-02-11 07:59:00 +01:00
Andre Stefanov
76476d8a9f drivers: stepper: tmc51xx: add EN GPIO support
Add optional support for controlling a hardware enable pin via devicetree.

When an enable GPIO is provided, the driver configures it as an output and
toggles it in stepper enable/disable so boards can energize and de-energize
the driver stage reliably.

If no enable GPIO is present, behavior is unchanged.

Signed-off-by: Andre Stefanov <mail@andrestefanov.de>
2026-02-11 07:58:07 +01:00
Moritz Gericke
bd9ee2d22c drivers: intc: intc_gpio_stm32: Assert against invalid exti lines
Unchecked indexing into intc_gpio_data.cb could lead to overflow in
the following functions:

- stm32_gpio_intc_set_irq_callback
- stm32_gpio_intc_remove_irq_callback

Fixes zephyrproject-rtos/zephyr#103573

Signed-off-by: Moritz Gericke <xmoexdev@gmail.com>
2026-02-11 07:57:52 +01:00
Henrik Brix Andersen
d7bc3e126c dts: bindings: can: nxp: flexcan: allow overriding max filters
Add property for overriding the maximum number of hardware message buffers
used for RX filters on a per-instance basis.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-02-11 07:56:26 +01:00
Henrik Brix Andersen
1b9e927ea6 drivers: can: mcux: flexcan: allow configuring max filters from 0 to 128
The maximum number of RX filters is limited by the number of message
buffers, which cannot exceed 128. Add a range to the Kconfig option
imposing this.

Remove artificial build-time check on CONFIG_CAN_MCUX_FLEXCAN_MAX_FILTERS
being larger than zero, as transmit-only configuration is otherwise fully
supported.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-02-11 07:56:26 +01:00
Henrik Brix Andersen
2cd56213e2 drivers: can: mcux: flexcan: no need to zero-initialize static variables
Remove unnecessary zero-initialization of static variables.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-02-11 07:56:26 +01:00
Axel Le Bourhis
9ba4525d05 drivers: bluetooth: hci_nxp: fix clang-format defects
Run clang-format on hci_nxp.c to fix formatting issues in the file.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-02-11 07:56:13 +01:00
Axel Le Bourhis
aea630b9e5 drivers: bluetooth: hci_nxp: move calibration data to zephyr
This commit moves NXP Bluetooth HCI calibration data handling from the
HAL to Zephyr hci_nxp driver.
Added Kconfig choice to select antenna diversity.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-02-11 07:56:13 +01:00
Hoang Nguyen
3cd33b791f drivers: i2c: Update driver to support RZ/V2H, RZ/V2N
Update I2C driver to support Renesas RZ/V2H, RZ/V2N

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-02-11 07:55:35 +01:00