Commit graph zephyr/dts
Author SHA1 Message Date
Etienne Carriere
ac3179a992 dts: bindings: rtc: stm32: sanitize alrm-exti-line value
Sanitize alrm-exti-line DT property value for st,stm32-rtc compatible
devices using min/max DT properties instead of providing an informative
only range description in the related DT bindings YAML file.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-08 13:55:00 +02:00
Etienne Carriere
96eacf7acf dts: bindings: opamp: st: use min/max properties
Replace description of valid ranges with using min/max
properties in DT bindings YAML files for ST operational amplifiers.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-08 13:55:00 +02:00
Etienne Carriere
5e86aa1a44 dts: bindings: sensor: st: use min/max properties
Replace informative only description of valid ranges for DT properties
of ST related sensors with use of min/max properties that allows
build time sanity check of embedded values.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-08 13:55:00 +02:00
Etienne Carriere
e94f1b5c65 dts: bindings: clock: st,*: use min/max properties for constrained ranges
Replace informative description of valid ranges in ST clock drivers DT
bindings YAML files with use a min/max properties that are now checks
against at build time.

The DT properties ranges impacted above where previously not checked
by the related drivers implementation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-08 13:55:00 +02:00
Sergei Ovchinnikov
505f5d7db9 drivers: mfd: npm10xx: Add and handle more Devicetree PMIC configs
Add "long press" reset and SHPHLD wake-up configurations to the nPM10
Series MFD driver's Devicetree properties.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-06-08 13:54:53 +02:00
Felix Wang
f153f6abfb tests: drivers: pwm_loopback: add frdm_mcxa153 overlay
Add a board overlay and inputmux in devicetree, so the PWM
loopback test runs on FRDM-MCXA153.
The OUT side drives CT1_MAT0 on P2_4 (J1_6) with ctimer1 in
PWM mode, the IN side routes CT_INP15 from P2_5 (J1_10) into
CTIMER2 CAPTSEL[0] via INPUTMUX for ctimer2 capture.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-06-08 13:54:42 +02:00
Felix Wang
1259cd2121 drivers: pwm: mcux_ctimer: add PWM capture support
Implement the Zephyr PWM capture API using the CTIMER
capture-clears-timer feature.

One capture channel is configured to fire an IRQ on the active
edge while ENCC/SELCC clears TC+PC on the opposite (or same) edge so
that CR latches the period or pulse width directly with no software
subtraction. The INPUTMUX is configured at driver init from a new
inputmux-connections DT property that lists <captsel-index, connection>
pairs.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-06-08 13:54:42 +02:00
Darcy Lu
fa80407da3 drivers: regulator: add regulator driver for RTS5817
Add regulator driver for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-06-08 10:40:36 +01:00
minyuan xue
1d89adb623 dts: arm: add i2c binding and nodes
Add ameba series i2c binding and nodes.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-06-08 10:39:14 +01:00
Henrik Brix Andersen
d2f8e308bd dts: bindings: can: bosch: m_can: set bosch,mram-cfg prop min/max length
Enforce a fixed array length of 8 for the Bosch M_CAN bosch,mram-cfg
devicetree property.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-06-08 09:15:54 +02:00
Muhammad Waleed Badar
302b8e57a7 drivers: display: add bcm2711 framebuffer display driver
Add a Raspberry Pi framebuffer display driver for the
Broadcom BCM2711 SoC. The driver communicates with the
VideoCore firmware via the Broadcom VideoCore mailbox interface.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-06-08 09:10:03 +02:00
Eva Klejmova
b7e01090a0 boards: nxp: MICFIL support for RT1170
Add MICFIL support for RT1170.

Changes include:

Board configuration:
- Add MICFIL pinctrl configuration to mimxrt1170_evk-pinctrl.dtsi
- Configure MIC_CLK, MIC_BITSTREAM00, and MIC_BITSTREAM01 pins
- Enable MICFIL peripheral in board device tree

Device tree:
- Add MICFIL node to nxp_rt11xx.dtsi with 8 channel support

Clock control:
- Add RT11xx MICFIL clock support to CCM rev2 driver
- Map MICFIL to PDM peripheral gate (kCLOCK_Pdm)
- Configure MIC root clock from Audio PLL

Clock bindings:
- Add IMX_CCM_PDM_CLK definition for MICFIL clock reference

Signed-off-by: Eva Klejmova <eva.klejmova@nxp.com>
2026-06-08 09:09:50 +02:00
Richard Wheatley
839b11effc dts: arm: ambiq: fix mspi0 node name, compatible, and clock
Rename the mspi0 node from spi@40020000 to mspi@40020000 to
match the actual bus type. Update the compatible string from
ambiq,mspi to ambiq,mspi-controller to align with the binding
name used by the driver. Add clock-frequency = <48000000> as
the default operating frequency.

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2026-06-07 19:20:42 +02:00
Camille BAUD
b12fc27624 drivers: display: ssd1322: Add small features
- custom LUT table
- enhance A (low grey enhance)
- external VSL toggle

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-06-07 19:18:36 +02:00
Fiona Behrens
7a08bc9cbb driver: serial: uart_numicro: Add interrupt driven support
Add support for interrup driven UART for the numicro uart driver
targeting the nuvoton m48x line.

This is mostly copied from the uart_numaker driver with some changes.

Signed-off-by: Fiona Behrens <me@kloenk.dev>
2026-06-05 22:35:10 +02:00
Fiona Behrens
416120f85c driver: serial: Use clock control driver in uart numicro
Use the new scc driver in the uart for the m48x numicro soc.
This removes quite a lot of calls into the nuvoton BSP and replaces
them with functions using the clock driver.

Signed-off-by: Fiona Behrens <me@kloenk.dev>
2026-06-05 22:35:10 +02:00
John Batch
81f9ee6261 dts: mfd: add Infineon HPPASS CSG bindings
Adds devicetree bindings for the Infineon HPPASS Comparator Slope
Generator MFD device.  The HPPASS CSG MFD device provides the base address,
shared comparator interrupt definition, and number of slices for the HPPASS
CSG subsystem.

Updates the psc3 devicetree definitions to include the CSG and five
entries each for the per slice comparator and DAC.

Assisted-by: Github Copilot:claude-opus-4.7
Signed-off-by: John Batch <john.batch@infineon.com>
2026-06-05 18:11:50 +02:00
Yassine El Aissaoui
ec4e365f23 dts: nxp: mcxw7x: add hwinfo uid support
The existing hwinfo_mcux_syscon driver handles the 128-bit UID
read with no driver changes required

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2026-06-05 16:57:22 +02:00
Aksel Skauge Mellbye
be3664dc8f dts: arm: silabs: Add ieee802154 node to soc families
MG21, MG24 and MG26 devices support IEEE 802.15.4. Add devicetree
node to these.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-06-05 13:24:00 +02:00
Mathieu Choplain
831c96cab6 dts: arm: st: *: remove non-existent compatible "st,stm32-sai-sub"
Added mistakenly during the SAI rework, the presence of this property
inhibits `child-binding` inheritance; as a result, these nodes don't
have the proper binding and attempting to use them causes a build
failure when the driver tries to obtain DT_PROP(synchronous).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-06-05 13:22:23 +02:00
Tomas Barak
7491f2c62d drivers: audio: add dummy codec stub driver
- Create a dummy codec stub driver for testing and development purposes.
- Implemented dummy functions to satisfy the audio codec sample
- Add an audio_codec node and alias to the native_sim.dts
- Add Kconfig option
- Create a dts binding for the dummy stub

Assisted-by: GitHub Copilot:GPT-5.4

Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
2026-06-05 13:20:04 +02:00
Albort Xue
4e137ec7ef soc: nxp: mcxw7xx: enable WUC support for WUU peripheral
Enable the Wakeup Controller (WUC) subsystem for MCXW7xx SoCs when the
WUU (Wakeup Unit) device tree node is enabled.

Drop the SoC-local mcxw7xx_set_wakeup() shim and the
NXP_ENABLE_WAKEUP_SIGNAL() override: LPTMR0 wakeup is now configured by
the LPTMR timer driver via wuc_enable_wakeup_source_dt(), and NBU
wakeup is configured by the common NBU init code from the new
"wakeup-ctrls" property.

Add test overlay for frdm_mcxw72 board to validate WUC API.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-06-05 13:19:50 +02:00
Albort Xue
49e7b46af9 soc: nxp: nbu: support optional wuc wakeup-ctrls
Allow nodes with compatible "nxp,nbu" to declare a "wakeup-ctrls"
property by including wuc-device.yaml in the binding, and consume it
from the common NBU init code via wuc_enable_wakeup_source_dt().

When the property is absent, the existing NXP_ENABLE_WAKEUP_SIGNAL()
fallback path is preserved, so no in-tree user changes behavior here.

A failure from wuc_enable_wakeup_source_dt() is now logged and
propagates as an early return, which previously would have been
silently swallowed.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-06-05 13:19:50 +02:00
Albort Xue
7bdc1b35c1 drivers: wuc: add NXP WUU (Wakeup Unit) driver
The WUU driver supports:
- External pin wakeup sources with configurable edge detection
  (rising, falling, or any edge) and event types (interrupt, DMA, trigger)
- Internal module wakeup sources with interrupt and DMA event types
- Up to 32 external pins and 9 internal modules
- Recording and checking of triggered wakeup sources
- Integration with the WUC (Wakeup Controller) subsystem

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-06-05 13:19:50 +02:00
Svitlana Drozd
5cacb801b0 drivers: reset: scmi: add reset protocol support
Add helpers for the SCMI Reset Domain Management protocol and a Zephyr
Reset Controller driver that utilizes these helpers.

The update introduces protocol helper functions, a new driver,
relevant Kconfig and CMake entries, and device tree bindings.

Signed-off-by: Grygorii Strashko <grygorii_strashko@epam.com>
Signed-off-by: Svitlana Drozd <svitlana_drozd@epam.com>
2026-06-05 09:33:53 +02:00
Michael Clausen
6b5447965f drivers: input: nunchuk: Added support for acceleration readings
plus added manual polling support.

Signed-off-by: Michael Clausen <michael@clsn.ch>
2026-06-05 09:32:05 +02:00
Fabio Baltieri
61fa460c51 uart_bridge: replace BUILD_ASSERT with min-len/max-len
Replace the BUILD_ASSERT for device count with min-len/max-len.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-06-04 23:50:48 +02:00
Fabio Baltieri
a0fcce9cb2 input: replace few BUILD_ASSERT with min-len and max-len
Replace few BUILD_ASSERT(DT_INST_PROP_LEN(..)) with min-len and max-len
properties.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-06-04 23:50:20 +02:00
Benjamin Cabé
26e87b1459 dts: bindings: renesas,rcar-mfis-mbox: update dts snippet
The "examples" section of the renesas,rcar-mfis-mbox.yaml was containing
an invalid dts fragment. Fix it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-06-04 18:22:30 +02:00
Martin Hoff
ee852fa416 drivers: adc: siwx91x: add PM device support to ADC driver
This patch adds PM device support to the siwx91x ADC driver. It allows
the ADC to be reconfigured after waking from deep sleep. Without this
patch, the ADC peripheral fails to return valid values after the system
resumes from deep sleep.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-06-04 14:05:14 +02:00
Adrien Ricciardi
502c43cb90 dts: bindings: i2c: Add pinctrl support to the R-Car I2C driver
Allow to set the required pinctrl properties from the corresponding
device tree nodes.

Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
2026-06-04 14:04:34 +02:00
Julien Panis
da38c467c6 dts: arm: renesas: rcar: gen5: Add I2C support
Add I2C1 to I2C8 bus interfaces. Do not add I2C0 which is used by SCP.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-04 14:04:02 +02:00
Julien Panis
669ec66d67 soc: renesas: rcar_gen5: Add power domain support
Power domains may be turned on/off through SCMI (System Control
and Management Interface).

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-04 14:04:02 +02:00
Julien Panis
b28cd2f9ab soc: renesas: Add support for R-Car Gen5 series
These SoCs are provided with:
- Arm Cortex-A720AE application cores (8 clusters x 4 cores)
- Arm Cortex-R52 real-time cores (3 clusters x 4 cores)
- Arm Cortex-M33 system control processor

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-04 14:04:02 +02:00
Julien Panis
6a4546785f drivers: mbox: Add support for Renesas R-Car MFIS
The multifunctional interface (MFIS) provides an interface
between the different CPU core domains (AP/RT, AP/SCP and
RT/SCP).

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2026-06-04 14:02:54 +02:00
Axel Le Bourhis
5be96e1125 soc: mcxw70: soc bringup
- Adapt to new MCXW7x clock control
- disable HDI pins
- use flw on non secure range
- enable lpuart1 and use it for uart-pipe, bt-c2h-uart and shell-uart
- configure sys clock to 96MHz for core0 and 48MHz for core1
- use PTA18 for LPUART0 RX pin as workaround for board issue
- fix LPTMR clock source to 32K
- place main stack at beginning of the RAM to workaround boot issue
- move shared memory to third bank (instead of the second) - last 8K

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-06-04 14:01:15 +02:00
Thomas Decker
d32a1a505a dts: arm: st: g4: Add comp3 to comp7 nodes to stm32g473
Adding missing comp3 & comp4 node to g4 (all g4 have 4 comparators).
Adding missing comp5, comp6 & comp7 to stm32g473 (all g473 and derived
types have 7 comparators).

Add configdefaults for SHARED_IRQ_MAX_NUM_CLIENTS and SHARED_INTERRUPTS
to the soc's Kconfig.defconfig.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-06-04 11:07:07 +02:00
Silesh C V
b646b6b908 boards: alif: ensemble: remove soc-nv-flash and partitions from MRAM
Alif MRAM is a random access non-volatile memory that is directly
mapped to the address space of the application core and is available
from reset. A flash driver is not yet available for this device. So
remove "soc-nv-flash" compatible and support for the "fixed-partitions"
from the MRAM node. Fix the board dts files as per this change. This
correctly makes the MRAM node simply a "zephyr,memory-region" so that
the linker can place the ROM image there.

Note that this fix has already been made for the Balletto family
SoC/boards.

Related-to: #107737

Signed-off-by: Silesh C V <silesh@alifsemi.com>
2026-06-04 08:43:27 +02:00
Qiang Zhao
00d894c929 dts: arm: nxp: add i.MX952 M7 core devicetree
Add devicetree source for i.MX952 Cortex-M7 core including:
- Memory regions (ITCM, DTCM, OCRAM, DDR)
- Interrupt controller (GIC, IRQSTEER)
- SCMI clock and power domain support
- Peripheral definitions (LPUART, LPI2C, LPSPI, ENET, etc.)
- DMA controllers (EDMA)
- Timers (TPM, GPT)
- GPIO controllers
- Mailbox (MU) interfaces

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2026-06-04 08:41:59 +02:00
Tyler Baker
0d37fbfab8 drivers: display: add charlieplex LED matrix driver
Add a display driver for monochrome and grayscale LED matrices driven by
charlieplexed GPIOs. With N GPIO lines such a matrix can drive up to
N*(N-1) LEDs: each pixel sits between an ordered pair of lines and is lit
by driving one line high and one low while every other line is held at
high impedance. Only one LED is lit at a time; a timer scans the pixels
fast enough for persistence of vision.

The driver implements the display API. It keeps a per-pixel framebuffer
and uses a counter device as the scan time source, lighting the next
pixel on each top-value callback. Grayscale is produced by duty
modulation over a configurable number of sub-frames. To stay portable
across SoCs it drives the matrix purely through the generic GPIO API,
configuring the inactive lines as disconnected to obtain the required
high-impedance state rather than touching the GPIO registers directly.

The GPIO bank, the per-pixel high/low pin-pair map, the scan timer,
refresh rate and grayscale depth are all described in devicetree through
the new charlieplex-led-matrix binding.

Signed-off-by: Tyler Baker <tyler.baker@oss.qualcomm.com>
Assisted-by: Claude Code:claude-opus-4.8
2026-06-03 18:28:33 -04:00
Etienne Carriere
dfac16c73c dts: bindings: usb: audio: clarify range of volume values
Use min/max DT properties instead of providing an informative
only range description in usb-audio-hp and usb-audio-hs compatible
devices YAML file.

This change provides a cleaner build time error trace message when
the values are out of bounds while previously implementation relied
on these values being stored in 16-bit fields.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-03 18:27:41 -04:00
Etienne Carriere
2f82b722f1 dts: bindings: usb-c: clarify {source|sink}-{pdos|vdos} range info
Clarify that the range information for source-pdos, sink-pdos,
sink-vdos and sink-vdos-v1 DT properties in usb-c-connect DT YAML
file relate to the number of elements in the property array, not
the elements value ranges.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-03 18:27:41 -04:00
Etienne Carriere
b486d3a7e1 dts: bindings: reset: use min/max properties in reset-mmio
Use min/max DT properties for reset num-resets DT properties to factorize
documentation and build time check of the property values against its
valid range.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-03 18:27:28 -04:00
Etienne Carriere
fec7063f7c dts: bindings: adc: use min/max properties in ADC emulation
Use min/max DT properties for ADC nchannels DT properties to factorize
documentation and build time check of the property values against its
valid range.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-03 18:27:28 -04:00
Sylvio Alves
f4be16c6e5 dts: riscv: espressif: add esp32p4 device tree
Add the device tree for the ESP32-P4 SoC: HP-core peripherals
(cpu, intc, gpio, uart, i2c, spi, dma, ledc, etc.), LP-core
memory regions, on-chip LDO regulator node and the LP-core
specific dtsi.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-06-03 18:27:15 -04:00
Qiang Zhang
b237ffd8db dts: arm: nxp: imx95: add EDMA1 controller node for M7 core
- Add EDMA1 controller node at base address 0x44000000.
- 32 DMA channels with 32 interrupt lines.
- EDMA version 4 compatible (compatible = "nxp,mcux-edma").
- Node is left disabled by default; boards opt in.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-06-03 18:38:23 +02:00
Alexpandi Muniyandi
2ddccfbd0a dts: bindings: audio: Add binding support for tlv320aic26
Add binding support for tlv320aic26 audio codec

Signed-off-by: Alexpandi Muniyandi <alexpandi@linumiz.com>
2026-06-03 18:37:09 +02:00
Jérôme Pouiller
233545d1e6 drivers: spi: siwx91x: Simplify DMA configuration
SPI_SILABS_SIWX91X_GSPI_DMA and SPI_SILABS_SIWX91X_GSPI_DMA_MAX_BLOCKS are
redundant. We can achieve the same by checking if
SPI_SILABS_SIWX91X_GSPI_DMA_MAX_BLOCKS > 0.

Then, rather than pulling the DMA if one device use it, automatically use
the DMA it exist (the user can still disable it by settings DMA_MAX_BLOCKS
== 0).

Thanks to that change, we can remove allthe #ifdef in the SPI driver.
A test in spi_siwx91x_is_dma_enabled_instance() is sufficient to make the
DMA relative functions orphans.

Then, we can enable the dma instances in the board DTS, so the user just
have to set DMA=y to enable DMA in the drivers.

The two errors cases are:
  - DMA=y while referenced DMA instance in the DT is disabled. The user get
    a compilation error
  - DMA=n (or DMA driver is disabled) but the user explicitly set
    DMA_MAX_BLOCKS > 0. The user get an error during runtime.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-06-03 13:05:03 +02:00
Jérôme Pouiller
4c55936506 drivers: dma: siwx91x: udma: Rename driver
SiWx91x provide two DMA hardware block: GPDMA and UDMA, The GPDMA is
properly named: silabs,gpdma. However, the UDMA is named
"silabs,siwx91x-dma" without any reference to the hardware block it is
supposed to run.

Rename the UDMA driver to fix this inconsistency.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-06-03 13:05:03 +02:00
Seppo Takalo
503c4ca327 boards: nordic: Add nRF93M1 DK board
Add build targets for nRF93M1 DK board which includes
nRF54L15 as a host MCU.

Bulk of the board definitions are copied from nRF54L15DK.

Main differences:
* The console UART is changed to uart20 as uart30 is routed to modem
* Few GPIO hogs to control the modem and UART switches
* nPM1300 PMIC set up to enable various voltages on board

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-06-03 13:03:32 +02:00