Commit graph

11,885 commits

Author SHA1 Message Date
Pieter De Gendt
5d49dccf65 dts: bindings: nvmem: Add fixed-layout
Add a devicetree binding to represent a fixed layout in an NVMEM provider.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-06 15:09:30 -04:00
Andriy Gelman
f4b3d3946d devicetree: Add nvmem-consumer
Adds property nvmem-cells for referencing a node that stores some
configuration information. A typical use case is the reading of MAC
address from an EEPROM device.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-06 15:09:30 -04:00
Erwan Gouriou
9ed3eada84 dts: arm: stm32n6: Add i3c nodes
Provide I3C nodes for stm32n6 series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-10-06 15:07:38 -04:00
Daniel Schultz
15aa152669 dts: riscv: aesc: elemrv-n: Add GPIO Controller
ElemRV-N has a GPIO controller with a total of 12 pins.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2025-10-06 20:03:28 +03:00
Daniel Schultz
15d2990b24 drivers: gpio: Add driver for Aesc Silicon
Add basic support for the Aesc Silicon GPIO controller.

This IP core has internal tri-states and therefore a read,
write and direction registers. Additionally, it has advanced
monitoring capabilities for interrupt generation; low or
high leve and rising or falling edge.

Interrupt support will be added later when ElemRV supports
interrupt in Zephyr.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2025-10-06 20:03:28 +03:00
Frederik Wenigwieser
b365311984 boards: espressif: esp32s3_mini_n8: fix psram size
There is no psram on this board.

see also:
Table 1-1. ESP32-S3-MINI-1 and ESP32-S3-MINI-1U Series Comparison
https://www.espressif.com/sites/default/files/documentation/esp32-s3-mini-1_mini-1u_datasheet_en.pdf

Signed-off-by: Frederik Wenigwieser <zephyr@frederik.at>
2025-10-06 20:03:06 +03:00
Raffael Rostagno
1f91cfea21 dts: pm: esp32h2: Add power states
Add power states for PM.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-06 20:00:52 +03:00
Anisetti Avinash Krishna
e200719c2b dts: x86: intel: panther_lake: Update RTC to support MFD method
Updated RTC to support MFD method on panther lake platform
and board config to include alarm and update tests.
-boards/intel/ptl/
-dts/x86/intel/
-tests/drivers/rtc/rtc_api/

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-10-05 10:06:05 -04:00
Ali Hozhabri
85318a9e19 soc: st: stm32: Provide PM support for STM32WB0x
Provide PM support, specifically suspend-to-ram, for STM32WB0x.

Enable STM32_RADIO_TIMER Kconfig parameter when PM is set.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2025-10-03 21:15:08 -04:00
Ali Hozhabri
bdb41c0ebd drivers: timer: Enable STM32WB0_RADIO_TIMER Kconfig parameter
Use radio timer as the system timer when Bluetooth is used.

Modify CMakeLists.txt to compile radio timer driver when
STM32WB0_RADIO_TIMER is enabled.

Remove the common parts from hci_stm32wb0.c that are present
in the radio timer driver.

Set and retrieve the appropriate value for SYS_CLOCK_TICKS_PER_SEC and
SYS_CLOCK_HW_CYCLES_PER_SEC respectively.

Define radio_timer node and its properties.

Enable radio_timer node in nucleo_wb0x boards.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2025-10-03 21:15:08 -04:00
Aksel Skauge Mellbye
e09a13dfd0 dts: arm: silabs: Clean up xg22 dts files
Reformat devicetree files according to
<https://docs.zephyrproject.org/latest/contribute/style/devicetree.html>
and <https://docs.kernel.org/devicetree/bindings/dts-coding-style.html>:

 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing MPU, hfrdodpllrt, hfxort and prortcclk nodes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-03 21:04:35 -04:00
Aksel Skauge Mellbye
0ee07b4774 dts: arm: silabs: Clean up xg23 dts files
Reformat devicetree files according to
<https://docs.zephyrproject.org/latest/contribute/style/devicetree.html>
and <https://docs.kernel.org/devicetree/bindings/dts-coding-style.html>:

 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing MPU node.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-03 21:04:35 -04:00
Aksel Skauge Mellbye
3ee0de40a7 dts: arm: silabs: Clean up xg24 dts files
Reformat devicetree files according to
<https://docs.zephyrproject.org/latest/contribute/style/devicetree.html>
and <https://docs.kernel.org/devicetree/bindings/dts-coding-style.html>:

 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing I2C1, MPU and vdac1clk nodes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-03 21:04:35 -04:00
Aksel Skauge Mellbye
9d199d84f1 dts: arm: silabs: Clean up xg28 dts files
Reformat devicetree files according to
<https://docs.zephyrproject.org/latest/contribute/style/devicetree.html>
and <https://docs.kernel.org/devicetree/bindings/dts-coding-style.html>:

 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing VDAC, MPU and prortcclk nodes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-03 21:04:35 -04:00
Aksel Skauge Mellbye
b4491eb485 dts: arm: silabs: Clean up xg29 dts files
Reformat devicetree files according to
<https://docs.zephyrproject.org/latest/contribute/style/devicetree.html>
and <https://docs.kernel.org/devicetree/bindings/dts-coding-style.html>:

 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing MPU and prortcclk nodes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-03 21:04:35 -04:00
Pierrick Guillaume
27b0e47f3b drivers: hwspinlock: sqn: add reg-width dts property
The size of each spinlock register might vary depending on the SoC.
Make it configurable in the devicetree.

Signed-off-by: Pierrick Guillaume <pguillaume@fymyte.com>
2025-10-03 12:52:18 +03:00
Pierrick Guillaume
2c86e65e71 drivers: hwspinlock: sqn: use cluster id instead of core mpidr
Using the mpidr of the core to lock the hwspinlock meant it acted as
a spinlock in the cluster itself, which is exactly the opposite of what we
tried to achieve.
Additionally, this tied the driver to the arm architecture, even though the
HW was not.

Signed-off-by: Pierrick Guillaume <pguillaume@fymyte.com>
2025-10-03 12:52:18 +03:00
Pierrick Guillaume
8f83b38b57 dts: bindings: add hwspinlock common bindings
Add general hwlocks and hwlock-names to base.yaml to be utilized by any
clients that uses hwspinlocks.

Additionally add hwspinlock-controller.yaml for common properties shared by
all hwspinlock controller devices.

Signed-off-by: Pierrick Guillaume <pguillaume@fymyte.com>
2025-10-03 12:52:18 +03:00
Alvis Sun
3cb6ff559a dts: nuvoton: npcx: add support for GDMA and driver enable options
1. Introduces boolean properties to enable support for different
versions of the FIU/Nor flash driver.
2. Add dmas phandle for DMA configuration.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
2025-10-03 12:51:55 +03:00
Hou Zhiqiang
03897f8bd5 boards: nxp: add imx91_qsb support
The i.MX 91 Quick Start Board (MCIMX91-QSB board) is a platform designed
to display the most commonly used features of the i.MX 91 applications
processor. The MCIMX91-QSB board is an entry-level development board
with a small and low-cost package. The board can be used by developers
to get familiar with the processor before investing a large amount of
resources in more specific designs.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Change imx9111 and imx9131 use separate dts as they has different pin
configure.
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-03 12:51:13 +03:00
Bjarki Arge Andreasen
d6e940ef4a dts: vendor: nordic: nrf54h: move adc and comp to gdpwr_slow_main
The ADC and COMP on the nrf54h20 both have all of their analog
inputs routed to pads in different power domains than themselves,
this means the device drivers for both of them need to request the
pads to be resumed when active to allow any reading of the pads.

To keep the drivers simple, we can rely on HW to keep the power
domain the COMP and ADC are in powered, which happens automatically
when the ADC or COMP is ENABLED. We can then place them on the
power domain of their pads in the devicetree. This ensures the pads
are powered and not retained while the devices are RESUMED.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-10-02 21:58:14 +02:00
Alexander Kozhinov
f53c283acb opamp: introduce new mode
Some MCUs are supporting external resistor dividers for gain setting in
standalone mode.
Add OPAMP_FUNCTIONAL_MODE_STANDALONE to the opamp_functional_mode enum.

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-10-02 16:48:49 +02:00
Arthur Gay
181082e84e drivers: i2s: i2s_ll_stm32: add support for IO swap
This commit adds a new property in the device-tree bindings for swapping
the serial data input and output pins of the SPI/I2S peripheral for
STM32 microcontrollers that support it.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-02 16:48:29 +02:00
Arthur Gay
d1ea7534c6 drivers: memc: stm32_ospi_psram: make NCS boundary configurable in dt
Limit a transaction to a boundary of aligned addresses. Each PSRAM may
specify different configuration.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-02 16:48:11 +02:00
Arthur Gay
1e966ba478 drivers: memc: stm32_xspi_psram: make NCS boundary configurable in dt
Limit a transaction to a boundary of aligned addresses. Each PSRAM may
specify different configuration.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-02 16:48:11 +02:00
Arthur Gay
53f91ea8ed drivers: spi: spi_ll_stm32: add support for IO swap
This commit adds a new property in the device-tree bindings for swapping
the MISO and MOSI pins of the SPI/I2S peripheral for STM32 microcontrollers
that support it.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-02 16:48:04 +02:00
Mario Paja
4dced47581 dts: st: g4: add sai node for stm32g4xx
Define SAI1 node A & B for STM32G4xx series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-02 16:47:45 +02:00
Lin Yu-Cheng
2d72d86ba2 serial: rts5912: implement power management
support uart wake up function

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2025-10-02 11:47:32 +03:00
Lin Yu-Cheng
75c4be1f51 soc: realtek: ec: Implement power saving
Impelment RTS5912 power saving (heavy sleep)
Remove the power state of "suspend_to_ram"

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2025-10-02 11:47:32 +03:00
Peter Johanson
f89c00441a soc: raspberrypi: rpi_pico: Add RP2 bootloader support
Add an early init hook to check the boot mode and reset into the RP2 USB
bootloader if requested. Includes a snippet to use with any RP2040/RP2350
board to enable the necessary DTS/Kconfig to use the functionality, and
easy DTS includes for boards to use explicitly.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2025-10-02 11:46:31 +03:00
Alain Volmat
002d9542d7 dts: st: l4: fix dcmi dma stream id
Channel ID should be numbered starting from 1.
Correct the dma properties of dcmi devices in L4 series
and use dma1 by default to make it same for all L4 series.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-02 09:31:36 +02:00
Hieu Nguyen
34d764ea11 dts: renesas: Add Counter support for Renesas RZ/V2L, A3UL
Add GTM nodes to Renesas RZ/V2L, A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>

temp

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-02 09:31:28 +02:00
Jeppe Odgaard
29d01736d8 drivers: sensor: omron: add d6f driver
Add support for Omron D6F mass flow rate sensor series. The sensor series
outputs an analogue voltage which is read using an ADC.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-01 17:14:28 -04:00
Jeppe Odgaard
50015354d6 dts: bindings: vendor-prefixes: Add omron prefix
Add OMRON vendor prefix.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-01 17:14:28 -04:00
Fabian Blatz
a6500f1c48 drivers: sensor: voltage-divider: Add skip-calibration property
Adds a skip-calibration property to the voltage divider sensor,
which can be enabled, in case the underlying ADC driver
does not support calibration.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-10-01 17:13:05 -04:00
Declan Snyder
570b445a61 drivers: Convert to use SPI macro without delay parameters
Convert all drivers and other consumers to use SPI macros without the
delay parameters.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
186ce62171 dts: bindings: spi-device: Add parameters for spi peripherals
Add spi parameters for spi peripherals to spi-device.yaml.

These properties and their names are mostly inspired by linux
spi-peripheral-props.yaml.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Jamie McCrae
799d3cf6f8 dts: arm: nordic: Remove superfluous compatible strings
Removes compatible strings that were not defined and are not needed

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-01 14:36:23 +03:00
Jamie McCrae
e6c2a82f26 dts: vendor: nordic: Add missing reg parameters
Adds missing reg parameters to DTS nodes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-01 14:36:23 +03:00
Felix Wang
ca359b19b7 dts: nxp: Fix spi_bus_bridge warning
Rename node name to spi.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-10-01 08:16:33 +02:00
Derek Snell
ddc58c0795 boards: nxp: mimxrt1170_evk: improve zephyr,flash location for M4
- Fixes issue where zephyr,flash in ocram node overlaps with physical
  SRAM sram1 used for zephyr,sram.
- Updates overlays that moved zephyr,flash to ocram now use default

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-10-01 08:12:43 +02:00
Wai-Hong Tam
eb30d03ec0 dts: bindings: test: Add pin inversion to vnd,serial binding
Add the `uart-controller-pin-inversion.yaml` include to the `vnd,serial`
test binding. This enables testing for other drivers that require pin
inversion to function correctly. For example, the
`worldsemi,ws2812-uart` LED strip driver relies on `tx-invert`.

Signed-off-by: Wai-Hong Tam <waihong@google.com>
2025-09-30 22:06:21 +02:00
Wai-Hong Tam
ba20a37228 dts: bindings: led: Add worldsemi,ws2812-uart binding
Add a new devicetree binding, worldsemi,ws2812-uart, for controlling
WS2812-compatible LED strips using a UART peripheral.

Signed-off-by: Wai-Hong Tam <waihong@google.com>
2025-09-30 22:06:21 +02:00
Raffael Rostagno
18dbda57d8 soc: esp32h2: Add BT support
Add bluetooth support to ESP32-H2.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-09-30 19:37:19 +02:00
Andrew Perepech
2b38bcb6d7 soc/mediatek/adsp: Add cpuclk driver for mt8188
Add cpuclk driver for mt8188 platform. Note that the cpuclk driver is
not yet ported, it works only with mt8188.

Signed-off-by: Andrew Perepech <andrew.perepech@mediatek.com>
2025-09-30 19:36:47 +02:00
Jilay Pandya
cf3dddf573 drivers: stepper: step_dir: fix 87698
During testing with teensy 4.0 it was discoverd that toggling
at high frequencies led to missed steps. As per the datasheets
of step-dir drivers an active edge needs to be maintained for
a certain timerperiod, for a step to be executed.

Instead of toggling pin twice instantaneously, the current fix
halves the step period and the step-pin is toggled on the timeout
of the respective timing source.

rework stepper stepper stop

set step pin to low if the driver does not support dual edge
and increment/decrement the actual position by one

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-09-30 17:58:27 +03:00
Gerard Marull-Paretas
1fb060a133 dts: arm: sifli: sf32lb52x: define RTC backup registers
Define RTC backup registers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-30 17:57:17 +03:00
Gerard Marull-Paretas
5a25fda816 dts: bindings: retained_mem: add sifli,sf32lb-rtc-backup
Add binding for the SiFli SF32LB RTC backup registers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-30 17:57:17 +03:00
Gerard Marull-Paretas
3184e7e19b dts: arm: sifli: sf32lb52x: define rtc
Add node for RTC peripheral.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-30 17:57:17 +03:00
Gerard Marull-Paretas
62aa9d7232 dts: bindings: rtc: add sifli,sf32lb-rtc
Add bindings for SF32LB RTC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-30 17:57:17 +03:00