Commit graph zephyr/drivers
Author SHA1 Message Date
James Smith
5261e53ea3 drivers: gpio: silabs: Don't fail to init is clock is already enabled
Don't fail to initialize gpio if it was already initialized, for
example by mcuboot. Fixes #94281.

Signed-off-by: James Smith <james@loopj.com>
2025-08-09 03:40:09 -04:00
Henrik Brix Andersen
63c13b7523 drivers: can: add Kconfig option for specifying the sample point margin
Add a Kconfig option for setting the maximum acceptable deviation in sample
point location (permille).

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-08-08 10:48:25 -05:00
Joel Jaldemark
7f7949d849 drivers: modem: add support for getting iccid from laraR6 and saraR5
Add at commands to get iccid from lara R6 and sara R5 modem

Signed-off-by: Joel Jaldemark <joeljaldemark@outlook.com>
2025-08-08 10:46:48 -05:00
Davi Herculano
34bdd17d18 driver: i2s: fix nxp i2s multi-lane config
Fix the case where multiple I2S channels are used at
the same time by using the fifo combine feature.

Signed-off-by: Davi Herculano <herculanodavi@gmail.com>
2025-08-08 10:45:26 -05:00
Yangbo Lu
dd19dcb53b drivers: eth_xmc4xxx: adjust ptp clock rate based on nominal frequency
Adjusted ptp clock rate based on nominal frequency.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-08-08 10:44:44 -05:00
Yangbo Lu
2d82a0dcab drivers: eth_e1000: adjust ptp clock rate based on nominal frequency
Adjusted ptp clock rate based on nominal frequency.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-08-08 10:44:44 -05:00
Yangbo Lu
76b7bcc0b2 drivers: eth_stm32_hal: adjust ptp clock rate based on nominal frequency
Adjusted ptp clock rate based on nominal frequency.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-08-08 10:44:44 -05:00
Felix Wang
02546580be soc: nxp: imxrt: clock update for LPIT instances on RT118X
1. Configure clock source for lpit3 for imxrt118x devices
2. Support lpit in clock driver

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-08-08 10:44:24 -05:00
Felix Wang
a717fac593 drivers: Counter: LPIT Support on Zephyr
1.Add dts bindings nxp,lpit-channel.yaml and nxp,lpit.yaml
2.Provide counter driver based on lpit driver from NXP mcux-sdk-ng

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-08-08 10:44:24 -05:00
sudarsan N
acad9532c5 drivers: sensor: voltage_divider: fix unchecked pm_device_runtime_get()
Fix Coverity CID 529858 (CWE-252): Previously, the return value of
pm_device_runtime_get() was not checked during PM resume, which could
lead to missed error conditions.

This patch ensures proper error handling by checking and propagating
the return status of the call.

Fixes: #92608

Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
2025-08-08 10:43:26 -05:00
Michał Stasiak
c4af18dc65 drivers: spi: nrfx: release constlat mode on suspend
Release instead of requesting constant latency mode
on SPI suspend.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-08-08 11:53:53 +03:00
Lucien Zhao
8f94c91c5b drivers: watchdog: wdt_nxp_ewm.c: add clk_sel feature for ewm IP
emw clk designed on RT1180 can be chosen by CLKCTRL register,
add code to get sel from dts and configure it in driver.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-08-08 11:53:18 +03:00
Dawid Niedzwiecki
7ee39d1754 drivers: flash: add extended operations to Andes XIP driver
Add the extended operations to the Andes XIP flash driver.

The extended operations supports:
 - reading status registers of the flash chip
 - changing status registers of the flash chip
 - software lock of the status registers
 - modifying SPI read command used in memory-mapped mode

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2025-08-08 11:53:07 +03:00
Sunil Abraham
fe830c5c16 drivers: uart: microchip: add minimal support for sercom uart g1 IPs
Add uart driver with minimal features.
Implement polling receive and transmit functionality.

Signed-off-by: Sunil Abraham <sunil.abraham@microchip.com>
2025-08-08 11:52:35 +03:00
Mohamed Azhar
715adcc999 drivers: pinctrl: microchip: add pinctrl driver for Port G1 IP
Add pinctrl driver for Microchip Port G1 Peripheral IPs

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2025-08-08 11:52:35 +03:00
Sunil Abraham
4acc520c65 drivers: clock_control: microchip: clock support for SAM D5x/E5x
Add clock control driver with minimal functionality.
Implement basic on, off, get_status and get_rate API.

Signed-off-by: Sunil Abraham <sunil.abraham@microchip.com>
2025-08-08 11:52:35 +03:00
Khoa Nguyen
836e55f724 drivers: ethernet: Update the variable type for R_ETHER_CallbackSet
- Update the variable type for R_ETHER_CallbackSet in
eth_renesas_ra.c
- Update HAL callback event handler to be compatible with FSP 6.0.0

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
f9918ad203 drivers: mdio: Update the change from migrating FSP 6.0.0
Midify to use ``p_phy_lsi_cfg_list`` in ``ether_phy_cfg.p_extend``
instead of using ``phy_lsi_type`` and ``phy_lsi_address``
in ``ether_phy_cfg``. Update for mdio_renesas_ra

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
8b768cec4a drivers: flash: Update modification of macro define for RA OSPI
Update modification of macro define for Renesas RA OSPI

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
168ca66c77 drivers: mipi_dsi: Update the modification of FSP migration
Update modification of FSP 6.0.0 for dsi_renesas_ra

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
3aa72e4e9e drivers: Update p_context for all Renesas drivers
The p_context no longer has the const type, so all
Renesas-supported drivers need to be updated accordingly.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Robert Robinson
fa7e02d290 drivers: clock_control: nordic: Enable calibration from LFRC peripheral
For some nordic devices the LFRC peripheral is used to calibrate
the LFCLK clock instead of NRFX_CLOCK peripheral. This commit
adds support for the changes already made in nrfx drivers.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2025-08-07 20:56:19 -04:00
Bastien Beauchamp
9dbbe3b0da drivers: dac: implement the silabs_vdac compatible driver
This implements the DAC driver for silabs VDAC peripherals
using the silabs,vdac compatible binding.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Nikodem Kastelik
8285cc02f6 drivers: spi: nrfx_spis: fix buffer freeing on error
Bounce buffers should be freed rather than user buffers.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-07 20:55:32 -04:00
Nikodem Kastelik
304e19f958 drivers: spi: nrfx_spim: use dmm
Some nRF SoCs (i.e. nRF54H20) can peform DMA transfers
only from specific memory regions - `dmm` facilitates that.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-07 20:55:32 -04:00
Van Petrosyan
17b57957b1 drivers: modem_cellular: make APN configurable at run-time
* Implement the new cellular_set_apn() driver hook.
  The API validates the string, stores it in the driver’s
  private data and raises an internal event so the state
  machine can resume.

* Insert MODEM_CELLULAR_STATE_WAIT_FOR_APN between DLCI2 open
  and the APN-script step.
  – If CONFIG_MODEM_CELLULAR_APN is defined and non-empty the
    driver skips WAIT_FOR_APN (behaves exactly as before).
  – Otherwise the driver parks in WAIT_FOR_APN until the
    application calls cellular_set_apn().

* Add event-callback support (CELLULAR_EVENT_MODEM_INFO_CHANGED)
  so an app can subscribe to IMSI availability and kick its own
  APN selection logic.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-08-07 20:55:14 -04:00
Guilherme Costa
da5eef665a drivers: modem: deprecate MODEM_QUECTEL_BG9X
The modem_cellular implementation should suffice to handle the base
usage of generic BG9x family devices, so deprecate the quectel-bg9x.c
implementation.

Signed-off-by: Guilherme Costa <guilhermecosta@stratioautomotive.com>
2025-08-07 20:54:45 -04:00
Guilherme Costa
5bd812de46 drivers: modem: Add support for Quectel BG96
Added support for compatible 'quectel,bg96' in modem_cellular.c

Renamed BG95-specific variables to BG9x, since the initialization
for BG95 and BG9x is similar.

Signed-off-by: Guilherme Costa <guilhermecosta@stratioautomotive.com>
2025-08-07 20:54:45 -04:00
Emilio Benavente
93185f3655 dts: arm: nxp: Added flexio pwm to dts
Updated the nxp_mcxw7x dts to include a
flexio_pwm node.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:54:15 -04:00
Emilio Benavente
8467f557f9 drviers: pwm: Update flexio pwm update duty cycle
Updated the nxp flexio pwm driver to account
for when the duty cycle is 100% or 0%.
We switch off the counter of the flexio and
manually set the GPIO High or Low. Otherwise
Flexio Peripheral with default to a 50% duty
cycle behavior.
Factored out timerOutput variable.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:54:15 -04:00
Łukasz Stępnicki
a5c0ba853b drivers: clock control: ironside dvfs hsfll
Extended clock control driver to support new DVFS service
from IronSide secure domain. Added new compatible nrf-iron-hsfll-local
which can be used to enable new DVFS service support in local
domain.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2025-08-07 08:58:54 -04:00
S Mohamed Fiaz
bbd9631db6 drivers: gpio: silabs: gpio driver for EFR series 2 devices
Added the gpio driver for EFR series 2 devices.

The SILABS_SISDK_GPIO symbol is added to enable
support for the new GPIO driver.
The SOC_GECKO_GPIO symbol is retained for now to
maintain compatibility with existing drivers and
will be removed in a subsequent commit.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-08-07 08:58:14 -04:00
Camille BAUD
ce9e9f0a9d drivers: display: Add greyscale to SSD1322
This adds greyscale to SSD1322

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-07 13:16:06 +02:00
Camille BAUD
8608f09bf0 drivers: display: Various fixes and additions to ssd1322
Fixes possible init issue with unlock
Add many missing configuration settings

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-07 13:16:06 +02:00
Krzysztof Chruściński
0d813fb1db drivers: gpio: nrfx: Add support for GPIOTE0 on cpurad
Add support for special GPIOTE0 instance on nrf54h20/cpurad.
This instance requires special handling because:
- there is no support for PORT event (level interrupts)
- TE channels are fixed to the pin

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-07 13:15:45 +02:00
Lucas Tamborrino
02340eec77 drivers: mbox: espressif: add esp32c6 support
Add support for esp32c6 HP and LP Core

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2025-08-07 13:15:36 +02:00
Lucas Tamborrino
6968e1252e drivers: intc: esp32: don't build for ESP32C6 LP Core
Espressif's interrupt controller drive should not build for
ESP32C6 LP Core since it's behavior is different.
Add proper condition for that.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2025-08-07 13:15:36 +02:00
Kapil Bhatt
9fad784fb9 drivers: nrf_wifi: Add check for minimum RX buffer size
Add check for the RX data buffer size. It should be atleast 400 bytes,
anthing less than that scan fails.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-08-07 13:14:28 +02:00
Pieter De Gendt
b6a7815d04 drivers: rtc: Sort CMake and Kconfig entries
Tidy the list of RTC implementations by sorting them alphabetically.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-08-07 13:14:21 +02:00
Ofir Shemesh
169b47ce38 misc: flexram: allow RAM type node to be disabled in DT
Use DT_NODE_HAS_COMPAT_STATUS to skip disabled child nodes. This
avoids build errors when setting a RAM type to 0 banks.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
2025-08-06 21:36:57 -04:00
Daniel DeGrasse
6e3a8da8dc drivers: mspi: mspi_dw: support configuration of TXD_DRIVE_EDGE setting
TXD_DRIVE_EDGE setting will typically be set to BAUDR/4 for DDR mode,
but this may not cover all cases. Add a configurable multiplier and
divisor to apply to the BAUDR value so the value's relation to BAUDR can
be customized.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-08-06 21:36:09 -04:00
Tim Lin
f4e466eb60 drivers/espi: ite: Make ITE's eSPI driver to support PVT2 and PVT3
Make ITE's eSPI driver to support PVT2 and PVT3, but it is not
enabled by default.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-08-06 21:35:24 -04:00
Tim Lin
fff5d4c46e drivers/espi: Add support for ESPI_PERIPHERAL_HOST_IO_PVT2 & PVT3
Add support the host I/O over eSPI peripheral channel for private
channel2 and channel3.

The default port number of ESPI_PERIPHERAL_HOST_IO_PVT2_PORT_NUM and
ESPI_PERIPHERAL_HOST_IO_PVT3_PORT_NUM are 0x68 and 0x70.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-08-06 21:35:24 -04:00
James Smith
70b3e7a178 drivers: entropy: add support for EFR32MG22 SoCs
Use CRYPTO_ACC_GECKO_TRNG for entropy on all xG22 SoCs.

Signed-off-by: James Smith <james@loopj.com>
2025-08-06 21:34:11 -04:00
Arunmani Alagarsamy
a9dd0c932d drivers: wifi: siwx91x: Support max TX power configuration via Device Tree
Add support for configuring the maximum TX power for STA and AP modes using
a Device Tree property (`max-tx-power`). If unspecified, the default value
is set to 31 dBm.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-08-06 12:03:39 -04:00
Tahsin Mutlugun
a5ea4c2dc0 drivers: counter: max32_wut: Add missing include
Include adi_max32_clock.h to resolve undeclared ADI_MAX32_PRPH_CLK_SRC_*
errors.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-08-06 12:03:12 -04:00
Tomasz Moń
66b938f93a drivers: udc_dwc2: Add nRF54LM20A vendor quirks
Initial implementation of nRF54L quirks necessary for nRF54LM20A.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-06 12:01:34 -04:00
Johann Fischer
efaaad0a09 usb: mark new stack as unstable and set it as the default
Document that the legacy stack is now deprecated.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-06 11:57:39 -04:00
Johann Fischer
4af7549d72 usb: deprecate legacy USB device support
Deprecate legacy USB device support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-06 11:57:39 -04:00
Muzaffar Ahmed
ce6ef6ac95 drivers: wifi: siwx91x: Add support for link mode query
Mapped the link mode (wireless mode) from wireless info to the wifi
status API.

Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
2025-08-06 16:20:14 +02:00