Commit graph zephyr/drivers
Author SHA1 Message Date
Eliott Speyser
2747b03a8b drivers: spi: stm32: add log level config
When CONFIG_LOG_DEFAULT_LEVEL is set to 4 and SPI driver is used,
it will log debug messages idependently of CONFIG_SPI_LOG_LEVEL.
This allows disabling debug logs with the SPI log level config.

Signed-off-by: Eliott Speyser <eliott.speyser@st.com>
2026-06-09 20:01:47 +02:00
Benjamin Cabé
e281d8b273 drivers: audio: codec: use DEVICE_API_IS in codec shell
Codec is now a proper driver class, so use DEVICE_API_IS to check if a
device is a codec.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-06-09 20:00:07 +02:00
Benjamin Cabé
1cf451d942 drivers: audio: codec: make audio codec a proper driver class
There is no reason to not have audio codec be a proper driver class,
so make the appropriate change so that codec drivers actually populate a
driver_api struct.

A similar change was made to the DMIC driver class in commit 4f8a71fb.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-06-09 20:00:07 +02:00
Bjarki Arge Andreasen
b8ead74673 drivers: spi: spi_nrfx_spim: patch to support nothread
The spi_nrfx_spim device driver is used in nothread bootloaders, the
wake implementation waits on a k_sem, patch to poll a volatile bool
variable if CONFIG_MULTITHREADING=n

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-06-09 19:58:47 +02:00
Muhammad Waleed Badar
6cad4eec23 drivers: uart: bcm2711: switch to clocks phandle for platform clock
Use the `clocks` phandle to obtain the UART peripheral clock instead
of `clock-frequency` property. Update the binding and BCM2711 DTS
accordingly and rename the driver configuration field from
`clocks` to `pclk`.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-06-09 19:58:10 +02:00
Flavio Ceolin
1b1ecdc438 drivers: flash: add device validation in flash_copy syscall
Add K_SYSCALL_DRIVER_FLASH checks for src_dev and dst_dev in
z_vrfy_flash_copy() to ensure both devices implement the required
flash driver API before proceeding with the copy operation.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-06-09 19:56:53 +02:00
Mario Paja
320ac06200 drivers: i2s: stm32c5 add i2s support
These changes enable i2s support on stm32c5 series.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2026-06-09 19:55:47 +02:00
Mario Paja
c53f60d7cc drivers: i2s: stm32 disable i2s defore dma
These changes disable I2S before DMAReq.
In platforms like (N6xx, C5xx, H5xx etc.) TXDMAEN & RXDMAEN
are write protected while SPI is enabled. (RM0486, RM0522, RM0481)
In H7xx TXDMAEN & RXDMAEN are not write protected.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2026-06-09 19:55:47 +02:00
minyuan xue
02e33d0328 drivers: flash: add ameba flash driver
Add realtek ameba flash driver.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-06-09 19:54:32 +02:00
Siddhant Modi
d715c83181 drivers: wifi: esp32: add WPA Enterprise support
Wire the ESP32 Wi-Fi driver to Espressif's Enterprise EAP client APIs.

This adds support for WPA2/WPA3 Enterprise station connections through
Zephyr Wi-Fi management, including EAP-TLS, PEAP, TTLS, and WPA3
Enterprise mode selection.

Signed-off-by: Siddhant Modi <siddhant.modi@gmail.com>
2026-06-09 15:37:14 +02:00
Mathieu Choplain
33ed1c41b9 drivers: dma: stm32: v1: interpret burst size parameter correctly
Per DMA API, the `<dir>_burst_length` parameters are number of bytes;
however, the burst size for STM32 DMAv1 is in number of beats per burst,
not in number of bytes (where each "beat" = `<dir>_data_size` bytes).

Update driver to compute burst sizes properly instead of using the raw
`<dir>_burst_length` value as number of beats.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-06-09 13:44:55 +02:00
Mathieu Choplain
15511d4b84 dts: bindings: i2s: stm32_sai: map sub-blocks in top-level address space
Due to top-level SAI nodes lacking the `ranges` property, the sub-blocks
were mapped in a separate address space despite really being MMIO. As a
result, the `DT_REG_ADDR()` value was not correct and the driver had to
compensate by performing arithmetic to obtain the right address.

Update the SAI binding to enable use of `ranges` property at top-level:
notably, `#size-cells = <1>` is needed (instead of `#size-cells = <0>`)
because `ranges` property have no effect if the length is not specified.
Also update DTSI files to follow the new pattern, and drop the manual
math from the driver: `DT_REG_ADDR()` now returns the proper address for
SAI sub-block nodes.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-06-09 13:43:47 +02:00
Julien Panis
336169e2c8 drivers: pinctrl: renesas: Add support for R-Car X5H pinctrl
Add support for pinctrl to R-Car X5H SoC. Like for other Renesas SoCs,
a node approach is implemented (no grouping approach).

Pin configuration operations can optionally be performed through SCMI
(System Control and Management Interface).

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-09 13:43:37 +02:00
Julien Panis
233c38ca31 drivers: pinctrl: renesas: rcar: Change pfc_rcar_get_reg_index() prototype
Replace uint8_t with uint16_t for pin parameter. Some SoCs may have
more than 8 GPIO groups.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-09 13:43:37 +02:00
Jakub Zymelka
714b19a308 drivers: flash: nrf_rram: add NRF_RRAM_FILL_SKIP_IF_FILLED
Opt-in optimisation for the api->fill callback (and, transitively,
flash_fill() and flash_flatten()): scan the target region in 16-byte
write-line granularity with a fast 4x32-bit compare and skip the
physical write entirely for lines that already hold the fill value.
Consecutive dirty lines are batched into a single underlying
nrf_write().

Disabled by default because it changes the worst-case latency profile
of fill operations; enable explicitly when write endurance matters
more than absolute determinism.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-06-09 13:42:41 +02:00
Jakub Zymelka
f2edef49ad drivers: flash: nrf_rram: implement api->fill callback
Wire up the nRF RRAM driver to the new optional flash_api_fill
callback so flash_fill() and flash_flatten() on no-erase devices can
complete a region-fill in a single bulk operation instead of a long
write loop driven by CONFIG_FLASH_FILL_BUFFER_SIZE.

Result: a region-fill is now one rram_write() call covering the full
range, replacing thousands of write-block-sized api->write() calls
that each forced a hardware buffer commit. Flash_flatten() on RRAM
becomes effectively a single optimized memset.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-06-09 13:42:41 +02:00
Jakub Zymelka
9740d1b39c drivers: flash: dispatch flash_fill via api->fill when available
Prefer api->fill() when the driver provides it. Drivers that don't
implement the new callback (the vast majority today) keep using the
existing write-loop path with no behaviour change. The check is placed
after argument validation so misuse is caught the same way for both
paths, and before allocating the stack buffer so a fill-capable driver
does not pay for an unused CONFIG_FLASH_FILL_BUFFER_SIZE allocation.

This also fixes the long-standing inconsistency where flash_flatten()
on a no-erase device had to dispatch through flash_fill()'s slow loop
even when the underlying driver had a perfectly good bulk-fill path
available - flash_fill() now picks the fast path automatically.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-06-09 13:42:41 +02:00
Jakub Zymelka
4ffd1b8315 drivers: flash: add optional flash_api_fill driver callback
Add a new optional `flash_api_fill` callback type and matching field in
`struct flash_driver_api`. The callback lets a driver provide an
optimized implementation of fill-with-value (the operation that backs
`flash_fill()` and, transitively, `flash_flatten()` on devices without
explicit erase). When the field is left NULL behaviour is unchanged:
`flash_fill()` keeps using its generic write-loop emulation, so this is
a fully backwards compatible API extension and existing drivers compile
and run unchanged.

Explicit-erase drivers may also implement it when an internal command
is faster than a write loop.

The signature mirrors `flash_fill()` so the syscall implementation can
forward arguments verbatim. Alignment expectations match `api->write`
(write_block_size aligned offset/size); callers of `flash_fill()`
already satisfy this.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-06-09 13:42:41 +02:00
saeed molaie
fd7b6c2c3d drivers: flash: stm32u3: add Option Bytes read/write support
Add support for reading and writing Option Bytes (OB) on STM32U3
series devices. This enables runtime configuration of OB fields
using the STM32 flash driver.

Signed-off-by: saeed molaie <saeed.molaie@st.com>
2026-06-09 13:42:31 +02:00
Etienne Carriere
22396e4391 drivers: i2c: stm32: fix minor coding style issues
Fix and add inline comment related to #ifdef/#else/#endif directives.
Add and remove some empty lines or space chars where applicable.
Fix some indentation issues.
Remove spurious, yet harmless, heading semi-column in I2C_LOOP_SCLH()
and I2C_LOOP_SDADEL() macros definition.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-09 11:57:03 +02:00
Chaitanya Tata
8c2a903829 drivers: spi: nrfx_spim: chunk transfers exceeding EasyDMA MAXCNT
The reworked SPIM driver passes the whole continuous chunk returned by
spi_context_max_continuous_chunk() straight to the common transfer
layer, which rejects anything larger than the controller MAXCNT with
-EINVAL. On SoCs with a small EasyDMA MAXCNT (e.g. nRF91 SPIM with 13
bits, max 8191 bytes) a transfer of 8192 bytes or more fails outright.

The old monolithic driver used to cap the chunk to the MAXCNT limit and
let the event handler walk the rest of the buffer. That behaviour was
lost in the rework, so any caller pushing a buffer larger than MAXCNT
now breaks. One example is the nRF70 firmware patch download, which
copies the patch in 8192 byte chunks and ends up corrupting RPU memory,
leading to a boot signature mismatch.

Restore the cap in transfer_start() so an oversized chunk is split
across multiple EasyDMA transfers, with the remainder handled by the
next call from the event handler once the current chunk completes.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor:Opus4.8
2026-06-09 11:56:44 +02:00
Ashley Brighthope
56f2ee7453 led: shell: use correct length sub-specifier
use correct length sub-specifier when
printing a size_t.

Signed-off-by: Ashley Brighthope <ashley.b@reddegrees.com>
2026-06-09 11:56:11 +02:00
Lucien Zhao
0b8babdcc3 drivers: sdhc: imx_usdhc: add cache maintenance on DMA path
When CONFIG_IMX_USDHC_DMA_SUPPORT is enabled, the USDHC ADMA2
engine DMAs to/from the data buffer supplied by upper layers
(e.g. FAT FS, SD subsystem) which lives in regular cacheable
RAM. Without explicit cache maintenance, on writes the
controller may DMA-read stale RAM while CPU writes are still
in D-cache, and on reads the CPU may consume stale cache lines
after the controller has DMA-written fresh data.

Flush the data buffer before each transfer (correct for TX,
and prevents later dirty-line eviction over DMA-written data
on RX) and invalidate after RX completes. Both scatter-gather
and non-scatter-gather paths are handled.

Raise SDHC_BUFFER_ALIGNMENT to DCACHE_LINE_SIZE when D-cache is
enabled so that DMA buffers (both upper-layer pass-through and
the SD subsystem fallback card_buffer) are cache-line aligned.
Without this, sys_cache_data_invd_range may operate on partial
cache lines and silently discard dirty data of adjacent
allocations sharing the head/tail line.

Fixes #107862

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-06-09 11:55:27 +02:00
Ching Ping Sun
ea1954e81f driver: ethernet: DM9051 process return value of SPI calls
Previously, not all of the SPI return values are verified.
Here we add checks after calling the SPI functions.

Signed-off-by: Ching Ping Sun <tom_sun@davicom.com.tw>
2026-06-09 10:34:35 +02:00
Brian Cain
8352b398bd drivers: serial: fix spinlock leak in uart_renesas_rza2m_scif
Add missing k_spin_unlock() on two error return paths in
uart_rza2m_scif_configure():

- Unsupported parity mode (default switch case)
- Baudrate configuration failure

Both paths returned without releasing the spinlock acquired earlier.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
2026-06-09 10:32:08 +02:00
Fabin V Martin
24631a52e7 drivers: clock_control: samd5xe5x: fix clock reinit after MCUboot
Remove GCLK software reset and add clock_init_reset_state() to
ensure stable clock state during reinitialization. This prevents
system hang when application reinitializes clocks after MCUboot.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-06-09 10:31:10 +02:00
Radu Ciobanu
2b7f498d79 drivers: dac: ad5529r: update product ID to match released datasheet
Update AD5529R_PRODUCT_ID from 0x4140 to 0x414A to match the
released datasheet (Rev. 0) PRODUCT_ID_L register reset value.

Signed-off-by: Radu Ciobanu <Radu-rares.Ciobanu@analog.com>
2026-06-09 10:31:02 +02:00
Fin Maaß
d7eb125f21 dsa: change the type of port_phylink_change argument
the ``void *user_data`` in port_phylink_change contains the
dsa port device. make this more explicit, so that we no longer
need to cast this.

This is now possible as this function
is no longer directly passed to phy_link_callback_set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-06-09 10:29:44 +02:00
Fin Maaß
3e43f5bfd2 ethernet: dsa: nxp: remove log for link up
remove log for link up, as it would already be logged by the networking
subsystem, when
CONFIG_NET_L2_ETHERNET_LOG_LEVEL_DBG=y.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-06-09 10:29:44 +02:00
Fin Maaß
c18bb2ca2e ethernet: dsa: handle nxp: remove setting the carrier
the dsa subsystem now sets the carrier,
therefore setting it in the nxp dsa port driver is redundant
and it can be removed.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-06-09 10:29:44 +02:00
minyuan xue
6a8ac7f93a Bluetooth: hci: add ameba HCI driver
Add HCI driver for Realtek Ameba BT controller. The driver bridges
the Realtek HAL HCI transport to the Zephyr BT HCI driver API.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-06-09 10:28:58 +02:00
Martin Oliver Pitoňák
f4b990e2ef drivers: mdio: nxp_enet: Reset semaphore before transfer
Reset the semaphore before each MDIO transfer to discard any stale
k_sem_give() from the ISR that may have arrived after a previous
timeout. Without this, the next transfer would consume the stale
semaphore immediately and return incorrect data.

Signed-off-by: Martin Oliver Pitoňák <martin.pitonak@nxp.com>
2026-06-09 08:41:47 +02:00
Martin Oliver Pitoňák
c36e880e51 drivers: mdio: nxp_enet: Fix timeout not propagated in wait_xfer
The nxp_enet_mdio_wait_xfer() function ignores the return value of
k_sem_take(), causing it to always return 0 (success) even when the
MDIO transaction times out. This leads to callers receiving stale
data (0x0000) as a successful read result.

Fixes #99905

Signed-off-by: Martin Oliver Pitoňák <martin.pitonak@nxp.com>
2026-06-09 08:41:47 +02:00
Marcin Lyda
75a802b562 drivers: counter: Fix formatting in MCP7940N driver
Fixed formatting issues in MCP7940N driver
source file.

Signed-off-by: Marcin Lyda <elektromarcin@gmail.com>
2026-06-09 08:40:50 +02:00
Marcin Lyda
9e2fb8278b drivers: counter: Fix possible out-of-bounds access in MCP7940N driver
Fixed the issue of possible out-of-bounds
access if write_data_block function was misused.

Size argument of the function was only validated
against the maximum allowed value, not the real
size of the data struct to be read, what could
cause accessing data past the boundary of the struct.

Fixes #81930.

Signed-off-by: Marcin Lyda <elektromarcin@gmail.com>
2026-06-09 08:40:50 +02:00
Brian Cain
55bb93ae1b drivers: serial: fix spinlock and irq leak in uart_rzt2m
Add missing k_spin_unlock() and irq_unlock() in rzt2m_module_start()
error path. When interface_id >= 5 the function returned -ENOTSUP
without releasing either the spinlock or the IRQ lock.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
2026-06-09 07:14:12 +02:00
Brian Cain
866fb0fdd0 drivers: i2c: fix spinlock leak in i2c_smartbond
Move k_spin_lock() past argument validation checks that only
inspect function parameters, not shared state:

- i2c_smartbond_apply_configure(): speed and mode are derived
  entirely from dev_config; lock only needed before hardware
  register writes
- i2c_smartbond_transfer_cb(): cb == NULL check is a pure
  parameter check; lock only needed before accessing data->cb

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
2026-06-09 07:13:26 +02:00
Brian Cain
f82cf4e933 drivers: rtc: fix spinlock leak in rtc_ambiq
Add missing k_spin_unlock() in ambiq_rtc_set_time() when
test_for_rollover() fails. The function returned -EINVAL without
releasing the spinlock acquired earlier.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
2026-06-09 07:13:00 +02:00
Brian Cain
3cb1fbbfdc drivers: serial: fix spinlock leak in uart_neorv32
neorv32_uart_pm_action() returned -ENOTSUP for unsupported PM actions
without releasing the spinlock acquired at function entry. Restructure
to use a single unlock/return path at function exit.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
2026-06-09 07:12:43 +02:00
Richard Wheatley
9314fffe12 drivers: crc: add Ambiq Apollo510 hardware CRC32 driver
Add a hardware-accelerated CRC32 IEEE driver for Ambiq Apollo510
SoCs using the SECURITY peripheral. The driver implements the
Zephyr streaming CRC API (begin/update/finish) with the following
features:

- Supports CRC32_IEEE only (0x04C11DB7, reflected input/output)
- Configurable seed for chained/incremental calculations
- Boundary-aware DMA splits at TCM 4 KB and memory region crossings
- 32-byte cache-line aligned DMA with staging buffer fallback for
  unaligned input
- Power managed via CRYPTO power domain using pm_device_runtime
- Binary semaphore serialises concurrent CRC sessions

New files:
- drivers/crc/crc_ambiq.c: driver implementation
- drivers/crc/Kconfig.ambiq: Kconfig symbol CRC_AMBIQ

Updated files:
- drivers/crc/Kconfig: source Kconfig.ambiq
- drivers/crc/CMakeLists.txt: add crc_ambiq.c under CONFIG_CRC_AMBIQ

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2026-06-09 07:11:49 +02:00
Mark Wang
726452f3c7 drivers: usb: uhc: mcux: fix endpoint reinitialization logic
Fix the endpoint attribute comparison logic in uhc_mcux_check_hal_ep()
to properly handle USB endpoint max packet size (MPS) fields.

The previous code compared the raw MPS value against maxPacketSize,
but the MPS field encodes both the packet size and the number of
additional transactions per microframe for high-speed endpoints.

Extract and compare these fields separately using USB_MPS_EP_SIZE()
and USB_MPS_ADDITIONAL_TRANSACTIONS() macros. This ensures endpoints
are correctly reinitialized when either the packet size or transaction
multiplier changes.

Also restructure the conditional logic for clarity: return early if
no endpoint exists, then check if attributes have changed and close
the endpoint if needed.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-06-09 07:11:16 +02:00
Jaro Van Landschoot
91800b84bb drivers: counter: mcux qtmr: clear compare flag before setting alarm
If the kQTMR_Compare1Flag is set when setting the alarm, the callback
would fire immediately causing unwanted behaviour in the applcation.
This PR clears this flag before setting an alarm to prevent this
premature firing.

Signed-off-by: Jaro Van Landschoot <jaro.vanlandschoot@basalte.be>
2026-06-09 07:10:55 +02:00
Marvin Gnad
ca2e5b6200 drivers: clock_control: mcux_ccm: use QspiClkRoot on i.MX 8M
The NXP HAL for the i.MX 8M family (MIMX8MM, MIMX8MN, MIMX8MQ,
MIMX8ML) exposes only kCLOCK_QspiClkRoot; kCLOCK_FlexspiClkRoot is
unavailable, so building the IMX_CCM_FLEXSPI_CLK case of
mcux_ccm_get_subsys_rate() fails for any board that adds a flexspi
node on an 8M SoC.

Select kCLOCK_QspiClkRoot on CONFIG_SOC_SERIES_IMX8M and keep
kCLOCK_FlexspiClkRoot for all other i.MX SoCs.

Signed-off-by: Marvin Gnad <marvin.gnad@gmail.com>
2026-06-09 07:10:43 +02:00
Daniel Schultz
290d44743e drivers: serial: uart: Add Interrupt Support
Adds full interrupt-driven UART support behind
CONFIG_UART_INTERRUPT_DRIVEN. Implements the Zephyr UART interrupt
API (FIFO fill/read, TX/RX enable/disable, TX-complete detection,
pending check, callback set). Extends the register map with
tx_trigger, error_pending, and error_enable fields and adds RX FIFO
count and error bit masks. Adds SERIAL_SUPPORT_INTERRUPT to Kconfig.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2026-06-08 21:29:17 -04:00
Daniel Schultz
8998d528c0 drivers: gpio: aesc: Add Interrupt Support
Implements interrupt support for the AESC GPIO driver.

Adds pin_interrupt_configure handling level (high/low) and edge
(rising/falling/both) trigger modes with proper
pending-clear-before-enable sequencing, manage_callback for
registering GPIO callbacks, and an ISR that aggregates all four
pending interrupt sources, clears them, and fires registered
callbacks. IRQ registration is done via a config function pointer
initialized at boot.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2026-06-08 21:29:17 -04:00
Haoran Jiang
909eb56875 drivers: flash: sf32lb_mpi_qspi_nor: stage flash writes
The SF32LB MPI QSPI NOR write path uses DMA to feed the MPI data
register before issuing page program commands. If the source buffer
points into the same memory-mapped NOR window, DMA can fetch from
flash while the controller is programming it, which can hang the bus.

Add a page-sized aligned SRAM bounce buffer for such source buffers,
and use it as the DMA source for affected chunks. Also harden flash
range validation and reject partially overlapping mapped flash source
and destination ranges while treating an exact same-range write as a
no-op.

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-06-08 21:29:06 -04:00
Jérôme Pouiller
797b7ca255 driver: *: siwx91x: Uniformize the names
Silabs siwx91x is referenced using several names. Unify them.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-06-08 23:13:00 +02:00
Fin Maaß
4e4e0bc4f6 i2c: stm32: check if configs are defined
check Kconfigs with ``#if defined``.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-06-08 21:15:06 +02:00
Andrej Butok
1d6b4438e9 drivers: hwinfo: nxp: mcux_mcx_cmc: get base address from device tree
- Replace the SDK-defined CMC0/CMC macro with DT_INST_REG_ADDR(0)
  to obtain the CMC peripheral base address from the device tree
  instead of from the NXP MCUX SDK header.
- Add a BUILD_ASSERT to catch missing or duplicate nxp,cmc nodes.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-06-08 19:01:39 +02:00
Sylvio Alves
d540bf67b6 drivers: ethernet: esp32: add ESP32-P4 EMAC support
Wire the on-chip Ethernet MAC and MDIO controller on the ESP32-P4
into the eth_esp32 driver. Includes the DT nodes (eth, mdio),
espressif,esp32-eth binding refresh, board pinctrl entries for
RMII and SMI, board defconfig and Kconfig fragment enabling
NET_L2_ETHERNET, and the SoC P4 Kconfig options for buffer count
and size. Adds the related pinctrl table entries and GPIO signal
map values.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-06-08 19:01:15 +02:00