Commit graph zephyr/drivers
Author SHA1 Message Date
Elmo Lan
0636fea481 drivers: peci_espi: Fix address error and incomplete header definition
The driver was incorrectly using 'oob_addr' instead of 'addr' as the
PECI index during transactions. Update the assignment to use the correct
target address.

Additionally, add the missing definitions in the header file to complete
the PECI over eSPI implementation.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2026-07-31 13:19:27 -04:00
John Batch
4589c06ec0 drivers: i2c: infineon_pdl: add timeout for i2c transfers
The I2C master transfer waited on the transfer semaphore with K_FOREVER,
so a target that never completed a transfer would block the calling
thread indefinitely with no recovery mechanism.

Wait on the transfer semaphore using I2C_TRANSFER_TIMEOUT. On a timeout,
abort the asynchronous operation and reset the shared state with the SCB
interrupt masked so a late completion cannot corrupt the teardown, then
return -ETIMEDOUT.

Assisted-by: Github Copilot:claude-opus-4.8
Signed-off-by: John Batch <john.batch@infineon.com>
2026-07-31 13:19:19 -04:00
John Batch
c73231ea5a drivers: i2c: infineon_pdl: fix stale data on write-read NACK
A write-read transfer to a target that NACKs its address sometimes
returns stale data on alternating attempts.  This is caused by the read
phase being chained from the interrupt handler whenever the master goes
idle.  After a write is aborted by an address NACK, the read is still
being issued, which causes an extra completion to be signalled.  The
following transfer then erroneously acts on this, causing the driver to
report a successful transfer erroneously.

Chain the read phase from the event handler on write completion so it is
only issued after the write phase is successful.  Clear the async
transfer state on the error path so the interrupt handler doesn't start
a spurious read after a failed write.

Assisted-by: Github Copilot:claude-opus-4.8
Signed-off-by: John Batch <john.batch@infineon.com>
2026-07-31 13:19:12 -04:00
Muhammad Waleed Badar
90764cd7cb drivers: pm_cpu_ops: add ARM64 spin-table boot protocol support
Add a new pm_cpu_ops backend implementing the ARM64 spin-table
boot protocol for bringing up secondary CPUs, as an alternative
to PSCI on platforms that don't support it.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-07-31 13:19:01 -04:00
Benjamin Cabé
9a2ca7f22f drivers: regulator: npm10xx: Fix LDO active discharge configuration
The LDO branch of configure_active_discharge() wrote the reg
variable, which is always UINT8_MAX for LDOs, into the pull-down
field, enabling the pull-down even when active discharge was
explicitly disabled. Use the requested active_discharge value like
the BUCK and load switch branches do.

Assisted-by: Claude:fable-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-07-31 13:05:42 -04:00
Benjamin Cabé
e40b454f39 drivers: regulator: da1469x: Fix swapped V30 VBUS/VBAT mode bits
The renesas,regulator-v30-vbus property was multiplied by the VBAT
mode bit and renesas,regulator-v30-vbat by the VBUS mode bit, so
each property enabled the opposite supply source. Swap the mode
constants so each property programs its own bit.

Assisted-by: Claude:fable-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-07-31 13:05:33 -04:00
Marcus Voß
c8e3417804 drivers: display: ssd16xx: add support for SSD1683
The Solomon Systech SSD1683 is a Gen2 SSD16xx EPD controller (functionally
equivalent to the SSD1619A, 400 sources x 300 gates). It uses the same
command set as the already-supported SSD1680/SSD1681, and loads its refresh
waveforms from OTP, so support is a new devicetree binding plus a quirks
entry with the correct maximum resolution.

Used by e.g. the WeAct Studio 4.2" and GoodDisplay GDEY042T81 400x300
mono panels.

Signed-off-by: Marcus Voß <meav33@gmail.com>
2026-07-31 13:04:31 -04:00
Armando Visconti
13a4ab5b94 drivers/sensor: lsm6dsv16x: add SHUB handling in FIFO
Stream Sensor HUB data in FIFO and decode them properly.
Currently two channels are handled:

	- SENSOR_CHAN_MAGN_XYZ
	- SENSOR_CHAN_PRESS

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-07-31 13:04:24 -04:00
Armando Visconti
4d15a1672b drivers: sensors: st: fix shub for FIFO usage
Set the read number of operation to 0 at the end of
lsm6dsv16x_shub_read_target_reg(), just to avoid issues
when reading data from FIFO.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-07-31 13:04:24 -04:00
Mika Braunschweig
1552a5218f drivers: spi: omap_mcspi: correct CS handling
Some SPI devices need the CS pin to be deasserted between multiple
transceive calls (e.g. the Microchip LAN8651). The MCSPI driver didn't do
this until now and kept the CS pin asserted for hardware controlled CS
pins, except if the channel changed.

This has been changed and additionally during init the GPIO pins are now
also being initialized.

Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
2026-07-31 13:01:56 -04:00
Etienne Carriere
1b820301d4 drivers: i2c: nrfx_twim: Flush pending operation on PM failure
Fix an issue reported by Copilot during review of another I2C RTIO
driver PM integration [1] that showed pm_device_runtime_get() failure
in i2c_rtio_submit handler could leave queued messages that will
never be proceeded and would stall the I2C RTIO transfer for the related
I2C bus.

Address that by flushing queued messages upon pm_device_runtime_get()
failure in iodev_submit handler.

Link: https://github.com/zephyrproject-rtos/zephyr/pull/110623#discussion_r3362750827 [1]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Etienne Carriere
b32eb868ad drivers: i2c: Factorize RTIO loop to process sync/start async
Factorize the loop sequence for processing synchronous I2C operations
until an async operation is started or there are no more queued
operations.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Etienne Carriere
e1c08c4cd6 drivers: i2c: nrfx_twim: Fix unbalanced PM in RTIO
Correct an issue in NFRX TWIM I2C RTIO driver that made the bus PM
resources not released once all synchronous operations are proceeded
(by i2c_nrfx_twim_rtio_start_next_async()) and no asynchronous operation
followed in the RTIO queue.

For sake of simplicity, fix that by syncing with other I2C RTIO drivers
implementation, moving calls to  i2c_rtio_complete() into an the
synchronous message processing loop and adding the missing call to
pm_device_runtime_put() from that loop.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Etienne Carriere
de6021b42e drivers: i2c: nrfx_twi: Fix message start after synchronous operations
I2C RTIO operation that are synchronous (failure to start a message
transfer, bus configuration/recovery and unsupported or invalid RTIO I2C
operations) do call i2c_rtio_complete() but do not start next message
processing if the latter return true. Fix that and clarify the meaning
of i2c_nrfx_twi_rtio_start() return value.

For this purpose, move the call to i2c_rtio_complete() out of
i2c_nrfx_twi_rtio_msg_start() and i2c_nrfx_twi_rtio_start() functions
(the caller takes care of) and make i2c_nrfx_twi_rtio_msg_start() to
return a status error code.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Etienne Carriere
867af5871b drivers: i2c: mcux: Ensure RTIO sequence is processed in sync operation
I2C RTIO operation that are synchronous (failure to start a message
transfer, bus configuration and unsupported or invalid RTIO I2C
operations) do call i2c_rtio_complete() but do not start next message
processing if the latter return true. Fix that and clarify the meaning
of mcux_lpi2c_start() return value. For this purpose, change
mcux_lpi2c_msg_start() not call i2c_rtio_complete() and to return an
errno code.

While at it, remove forward declaration of mcux_lpi2c_complete() this
is not needed and remove a '\n' character from error log message.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Etienne Carriere
3af66c5e45 drivers: i2c: max32: Ensure RTIO sequence is processed in sync operation
I2C RTIO operation that are synchronous (failure to start a message
transfer, bus configuration and unsupported or invalid RTIO I2C
operations) do call i2c_rtio_complete() but do not start next message
processing if the latter return true. Fix that and clarify the meaning
of max32_start() return value.

While at line, remove a nearby unexpected empty line.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-31 13:01:26 -04:00
Fabio Baltieri
de0cf1103d drivers: dp: make the off state flag configurable
Some gpio controller do not support GPIO_DISCONNECTED, or at least when
the dt flag also includes pullup/pulldowns. Add an option to allow using
GPIO_INPUT instead, that'll always work.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-07-31 13:01:18 -04:00
Sylvio Alves
25f062f8a5 soc: espressif: add hidden appcpu target kconfig symbol
Add SOC_ESP32_APPCPU_TARGET, a hidden symbol set whenever the
build targets the APPCPU image of a dual-core SoC. Replace all
places that checked SOC_ESP32_APPCPU and SOC_ESP32S3_APPCPU
together with the new symbol.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-30 17:40:08 -04:00
Alberto Escolar Piedras
2dc21689bd drivers: rtc: rtc_emul: Avoid libc dependency
There is no need to limit this functionality to when we build the
embedded code with the host libC.
It is better to just move the host dependent code into its own
file that is built in the runner context.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-30 17:38:52 -04:00
Lucien Zhao
c60af783fe drivers: i2s: mcux_sai: fix deconfigure, restart and bclk source
Deconfigure: i2s_configure() with frame_clk_freq == 0 is defined by the
API as a request to deconfigure the stream, but the driver rejected it
with -EINVAL. Release the queued buffers and move the stream to
NOT_READY. The state check is now made on the stream being configured
instead of on both directions at once, so one direction can be
configured while the other one is running, and config_get() returns
NULL for an unconfigured stream as the API requires.

Restart: reset the FIFO pointers via the FR bit before enabling DMA
requests, so words left over from a previous run are not replayed.

Bit clock source: the SAI_Get*Config helpers overwrite bclkSource with
the master clock divider, leaving SoCs without an internal divider or
MCLK routing with no bit clock at all. Add an nxp,bclk-source binding
property (TCR2/RCR2 MSEL value) applied after those calls; it defaults
to the master clock divider so existing users are unaffected.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-07-30 17:37:07 -04:00
Lucien Zhao
9c33c888fa drivers: clock_control: nxp_mc_cgm: add SAI clock entries
Add SAI gate and rate table entries, guarded by CONFIG_I2S_MCUX_SAI
and FSL_FEATURE_SOC_I2S_COUNT like the other per-IP entries, so the
I2S (SAI) driver can gate the peripheral clock and query its rate
through the standard clock_control API.

Verified with tests/drivers/i2s/i2s_speed on frdm_mcxe31b: the SAI
module clock gates on and reports the AIPS_SLOW rate used for the
bit clock dividers.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-07-30 17:37:07 -04:00
Francis Roi Manabat
74b58bc66f drivers: sensor: max30009: add sensor decoder
Add a sensor decoder for the MAX30009 streaming path, decoding the I and
Q BioZ channels from the FIFO sample sets pushed by the RTIO submit
path.

The decoder is compiled in with the streaming path via
CONFIG_MAX30009_STREAM.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-07-30 17:36:12 -04:00
Francis Roi Manabat
1cdbc7e48c drivers: sensor: max30009: add RTIO streaming
Add RTIO streaming of the I and Q BioZ channels. The submit path reads
the FIFO on a watermark/data-ready interrupt and pushes sample sets into
the RTIO buffer; one-shot (non-streaming) reads are rejected.

Streaming is compiled in via CONFIG_MAX30009_STREAM.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-07-30 17:36:12 -04:00
Francis Roi Manabat
db8773b075 drivers: sensor: max30009: add trigger support
Add own-thread and global-thread trigger support for the MAX30009.
Handlers are provided for the FIFO watermark, data-ready and DC
lead-off / range status events, dispatched from the interrupt GPIO.

The trigger source is compiled in via CONFIG_MAX30009_TRIGGER.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-07-30 17:36:12 -04:00
Francis Roi Manabat
a655b3c24b drivers: sensor: add MAX30009 Bio-Impedance AFE driver
Add a driver for the Analog Devices MAX30009 bioimpedance analog
front-end. The device is supported over both SPI and I2C.

This base commit provides the core acquisition-path driver:

- Full BioZ acquisition-path configuration from devicetree (clock/PLL,
  drive, receive channel, digital filters, thresholds, mux, DC leads and
  lead bias), with a dt-bindings header of MAX30009_DT_* constants for
  the enumerated properties.
- Runtime attribute access (attr_set / attr_get) for the meaningful BioZ
  parameters via a descriptor table, cycling the PLL where the datasheet
  requires the acquisition path to be quiesced.
- Power management (suspend / resume) following the datasheet's
  bandgap / PLL / channel enable sequence.

Trigger and RTIO streaming support are added in follow-up commits; the
full Kconfig describing those options is included here so the driver's
configuration surface is complete.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-07-30 17:36:12 -04:00
Nils Harder
b1061f09b0 drivers: sensor: hc_sr04: Replace hardcoded echo-timeout
The echo-timeout defines the maximum range of the ultrasonic sensor and
was hardcoded to 10ms (~1.5m).
This commit creates a dts property for the timeout,
so users can configure the maximum range per sensor instance.
The default setting of the property is 10ms for compatibility.

Signed-off-by: Nils Harder <harder@metratec.com>
2026-07-30 17:36:00 -04:00
Anas Nashif
b919e796d9 drivers: timer: cortex_m_systick: export raw VAL from elapsed()
The val_out snapshot exported by elapsed() was written after the
wrap-realignment step, so callers received last_load instead of 0
whenever sample C happened to read VAL == 0.

sys_clock_set_timeout() feeds that snapshot into the drift
compensation as val1 and compares it against a later raw read of
SysTick->VAL as val2. Mixing a realigned operand with a raw one makes
val1 - val2 evaluate to a whole counter period that never elapsed, so
cycle_count jumps forward by up to one full timer period on every
reprogram that lands on a zero VAL sample.

The realignment of 0 to last_load is an internal convention of
elapsed(): it exists only so the wrap-detection below can assume
COUNTFLAG and wrapping occur on the same cycle. It has no meaning for
a caller that measures a window against its own raw register read.
Move the export to immediately after the three register reads so
val_out carries the raw sample, which is what the code did before
elapsed() grew the out-parameter. The out-parameter still removes the
gap between the window elapsed() accounts for and the window the
drift compensation measures.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-07-30 12:50:11 -05:00
Julien Vermillard
26dc8cc7ac drivers: modem: add Fibocom LE250 support
Add support for the Fibocom LE250 cellular modem.

Assisted-by: Codex:gpt-5.6-sol-high
Signed-off-by: Julien Vermillard <julien@clunkymachines.com>
2026-07-30 07:49:31 -05:00
Linus Rüttimann
f293e6d29a drivers: clock_control: esp32: fix ESP32-C6 boot hang after SW reset
On ESP32-C6, esp32_cpu_clock_configure() switches the analog I2C
master to the sel_160m = 0 clock source before enabling the BBPLL.
That source is routed through modem_lpcon state which
esp_system_reset_modules_on_exit() resets on shutdown and which the
ROM's soft-boot path does not restore (the ROM's full power-on path
does). After any software reset — including the reboot MCUboot-based
applications perform to install a firmware update — the BBPLL
calibration in rtc_clk_bbpll_configure() then spins forever on
regi2c_ctrl_ll_bbpll_calibration_is_done() reading a clockless
register: the chip hangs pre-console until power is cycled, while the
USB device stays enumerated. Power-on boots are unaffected, which
makes the hang easy to miss in bring-up testing.

Select the PLL-derived I2C master clock instead, exactly like the IDF
second-stage bootloader (bootloader_esp32c6.c,
bootloader_hardware_init()): on the C6 the BBPLL is alive on every
boot path, since the ROM requires it for USB-Serial-JTAG and
esp_restart() deliberately keeps it running.

Root-caused with early-boot breadcrumbs on ESP32-C6 hardware
(MCUboot + application, Zephyr v4.4.1 and current main code paths):
before the fix every 'kernel reboot cold' and every OTA install
reboot hung in the MCUboot image right after bootloader flash init;
with the fix, consecutive software resets and a full OTA install
cycle boot cleanly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Linus Rüttimann <linus@noxblanc.com>
2026-07-30 07:49:19 -05:00
Mario Paja
a3c66b9ee0 drivers: audio: wm8904 add input pga configuration
Add a devicetree property to configure the WM8904 input PGA
source channel.

The selected channel is used when configuring the analog input path.
For the 32-pin QFN package, only input channels 1 and 2 are valid
because the IN3L/IN3R pins are not exposed. The driver currently
supports single-ended input mode only

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2026-07-30 07:47:47 -05:00
Sudharsan Bakthavatchalam
e77c787c34 drivers: counter: fix rpi pico PIT timer glitch on top value update
Fixes #113852

Updating the top value on the RPi Pico timer was causing a hardware
glitch that resulted in unusual PWM behavior and frequency spikes.
This patch removes the pwm_init() call and instead uses
pwm_set_wrap() to directly update the hardware slice on the fly.

Signed-off-by: Sudharsan Bakthavatchalam <appubaktha@gmail.com>
2026-07-30 07:47:32 -05:00
Cristian Bulacu
78ec4981f4 drivers: ieee802154: Guard MCXW driver under CONFIG_NET_L2_OPENTHREAD
The MCXW IEEE 802.15.4 driver is now compiled only when CONFIG_NET_L2
is enabled. This allows a vendor-specific radio.c implementation to be
used without requiring networking stack support.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-07-30 07:46:38 -05:00
Etienne Carriere
aa3187f793 drivers: Include include/zephyr/sys/clock.h
Header file include/zephyr/sys_clock.h is deprecated and will be removed
someday. Update the whole file tree to include zephyr/sys/clock.h
straight instead of zephyr/sys_clock.h.

This change was made running the sed shell command below:
$ sed -i 's/zephyr\/sys_clock\.h/zephyr\/sys\/clock\.h/' \
      `grep -rsl "zephyr/sys_clock\.h" drivers/`

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-30 07:45:05 -05:00
Etienne Carriere
51073660ea drivers: watchdog: Include include/zephyr/sys/clock.h
Header file include/zephyr/sys_clock.h is deprecated and will be removed
someday. Update the whole file tree to include zephyr/sys/clock.h
straight instead of zephyr/sys_clock.h.

This change was made running the sed shell command below:
$ sed -i 's/zephyr\/sys_clock\.h/zephyr\/sys\/clock\.h/' \
      `grep -rsl "zephyr/sys_clock\.h" drivers/watchdog`

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-30 07:45:05 -05:00
Etienne Carriere
a49b9ed52a drivers: timer: Include include/zephyr/sys/clock.h
Header file include/zephyr/sys_clock.h is deprecated and will be removed
someday. Update the whole file tree to include zephyr/sys/clock.h
straight instead of zephyr/sys_clock.h.

This change was made running the sed shell command below:
$ sed -i 's/zephyr\/sys_clock\.h/zephyr\/sys\/clock\.h/' \
      `grep -rsl "zephyr/sys_clock\.h" drivers/timer`

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-30 07:45:05 -05:00
Scott Worley
95551bb1f9 drivers: clock-control: microchip: xec: Port to MEC174x/5x
We updated the XEC clock control driver to support MEC174x/5x
and move away from hard to maintain CMSIS register structures.
Addition device tree properties were added for tuning the driver's
XTAL configuration sequence. Note: MEC15xx does not have the
clock monitor hardware for checking XTAL health and no way to
fallback if the XTAL fails.
Many MEC15xx/MEC172x legacy Zephyr drivers are using XEC specific
clock control driver PCR sleep and reset APIs. Until all old
drivers are converted to use the same functionality from the MEC SoC
layer we must keep these APIs. We converted them to call the SoC
layer. Once all drivers have been converted we can removed these
custom APIs from the clock control driver.
The domain clock-cells parameter was renamed to clkid matching usage
in the DW I2C driver and many other clock control drivers.
We changed domain to clkid in the only two drivers remaining that
use it, interrupt-controller and crypto.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-07-30 07:43:54 -05:00
Surya Prakash T
4c04c7f73d drivers: timer: cortex_m_systick: thread VAL snapshot from elapsed()
Refactor elapsed() to thread the SysTick->VAL snapshot out via an
optional pointer parameter instead of requiring an independent,
racy re-read or duplicating the wrap-detection logic.

An earlier fix for a VAL re-read race in timeout calculation unrolled
elapsed() inside sys_clock_set_timeout(). That unrolling duplicated
the complex wrap-detection logic across two places in the driver,
creating a maintenance hazard.

Resolve this by refactoring elapsed() to accept a uint32_t *val_out
parameter. When provided, it exports the exact val2 snapshot used
to calculate elapsed cycles. In sys_clock_set_timeout(), calling
elapsed(&val1) safely captures this snapshot to seed the drift
calculation, eliminating the timing gap with perfect precision and
no code duplication.

Signed-off-by: Surya Prakash T <suryat@aerlync.com>
2026-07-30 07:42:49 -05:00
Fin Maaß
5a970c0367 drivers: ethernet: renesas: ra: fix seting pcfg
pcfg no longer exists in the data struct,
so don't set it.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-07-30 11:29:09 +02:00
Duy Nguyen
ffb45155aa drivers: ethernet: Select nocache memory for RMAC
Add select NOCACHE_MEMORY as default when CACHE  and MPU is enabled

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-07-30 09:46:18 +02:00
Duy Nguyen
978f0b7359 drivers: ethernet: Fix RX and TX issue for Renesas RMAC
Add condition check for TX buffer StatusGet fail to notify network layer
to retry
Add HW buffer release on network packet allocate fail

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-07-30 09:46:18 +02:00
Duy Nguyen
ee980e98a0 drivers: ethernet: Enable zerocopy mode and add nocache option
This commit add Zerocopy operation for Renesas RA Ethernet driver
This also add buffer allocation into nocache region when CPU cache
is used to prevent incoherrency

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
2026-07-30 09:40:28 +02:00
Nhat Ta
5dcdaf7050 drivers: ethernet: fix phy link up in fixed-link mode
Remove unnecessary PHY instance and fix PHY link-set callback order

Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
2026-07-30 09:40:28 +02:00
Nhat Ta
57f9a6068f drivers: ethernet: seperate pinctrl block and add clock source
This commit seperates pinctrl blocks for mdio node and ethernet node,
also add clock source for ethernet node.

Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
2026-07-30 09:40:28 +02:00
Fin Maaß
c735818afe net: ethernet: move net_lldp_set_lldpdu
move net_lldp_set_lldpdu into the
common ethernet_init.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-07-29 16:54:30 -07:00
Etienne Carriere
cf648967dd drivers: *: espressif: use diamond include for non-local headers
Use #include <> instead of #include "" to include a header file which path
is not relative to the directory path of the file emitting the #include
directive.

This change was made running scripts/check_quoted_includes.py script
proposed in https://github.com/zephyrproject-rtos/zephyr/pull/112135
with Linux shell commands like the one below and manually selecting the
applicable changes: only those located in drivers/ since soc/, boards/,
samples/ and tests/ content related to Espressif is addressed in
pull request https://github.com/zephyrproject-rtos/zephyr/pull/112190.

$ ./scripts/check_quoted_includes.py -w \
    `./scripts/get_maintainer.py list "Espressif Platforms"`

Also update drivers/clock_control/clock_control_esp32_priv.h that was
not listed by './scripts/get_maintainer.py list "Espressif Platforms"'.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-07-29 10:52:52 -07:00
Jason Yu
24f440e874 drivers: watchdog: mcux_rtwdog: Add WDT_OPT_PAUSE_IN_SLEEP support
The RTWDOG driver previously rejected WDT_OPT_PAUSE_IN_SLEEP with
-ENOTSUP, even though the hardware supports stopping the counter
in low-power modes via workMode.enableWait and workMode.enableStop.

Map WDT_OPT_PAUSE_IN_SLEEP to both enableWait and enableStop fields.

Assisted-by: Claude:opus-4.6
Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-07-29 10:50:39 -07:00
Joel Guittet
fefd004727 drivers: crypto: stm32_hash: add support for STM32H5 series
Add support for STM32H5 series to the stm32_hash driver.
Support is added through the STM32 HASH HAL v2 to remain generic.

Signed-off-by: Joel Guittet <jguittet@witekio.com>
2026-07-29 10:50:23 -07:00
Alberto Escolar Piedras
db9a2889db drivers: led: linux_leds: Split file opening to avoid libC assumptions
To avoid the assumption that ZVFS_O_RDONLY/ZVFS_O_WRONLY match
O_RDONLY/O_WRONLY, let's just have this code be compiled with the host
libC always.
The code is also a bit more readable without all the nsi_host prefixes.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-29 08:19:37 -07:00
Kapil Bhatt
3c34c40af8 drivers: wifi: nrf_wifi: Use API names platform agnostic
Presently the Offloaded raw TX API names are tied to the nRF70 platform.
So make the API names platform agnostic.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-07-29 08:18:32 -07:00
Andrej Butok
3bdaa7b979 hwinfo: nxp: lpc55s: add LPC PMC reset-cause driver
Adds a hwinfo driver for the NXP LPC55xx Power Management
Controller (PMC).
Instantiates the pmc node on the LPC55S0x/S1x/S2x/S3x/S6x SoCs.
The driver implements hwinfo_get_reset_cause(),
hwinfo_clear_reset_cause() and hwinfo_get_supported_reset_cause().

Tested on LPCXpresso55S06/16/28/36/69

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-07-29 08:17:57 -07:00