Commit graph

11,885 commits

Author SHA1 Message Date
Terry Geng
f40f180c38 drivers: sensor: hx711_spi: Document pinctrl configs in bindings
Add descriptions for the pinctrl configs necessary for setting up the
trigger interrupt.

Signed-off-by: Terry Geng <terry@terriex.com>
2026-03-21 00:47:57 +00:00
Terry Geng
fba78a3b73 drivers: sensor: hx711_spi: Add data ready trigger to HX711 driver
HX711 pulls DOUT low when data is ready. This commit enabled pin config
to switch from SPI to GPIO and set up GPIIO interrupts for the falling
edge.

The implementation is similar to the `infineon,airoc-wifi` driver, by
using pinctrl.

Signed-off-by: Terry Geng <terry@terriex.com>
2026-03-21 00:47:57 +00:00
Terry Geng
1fec903653 drivers: sensor: hx711_spi: Add spi driver for HX711
HX711 is a specialized 24-bit ADC for load cell and strain gauge sensors.
It uses a two-wire (PD_SCK and DOUT) serial protocol that
 - first 24 clock cycles reads out the sample
 - last 1 to 3 clock cycles set the PGA gain for the next sample

 The requirement of control the exact number of clock cycles makes the
 SCK for SPI unsuitable for clocking HX711. Instead, in this commit, the
 clock is implemented as a series of 0xAA on the MOSI.

Signed-off-by: Terry Geng <terry@terriex.com>
2026-03-21 00:47:57 +00:00
Mathieu Choplain
d9ed5c41a6 dts: bindings: usb-c: connector: clean up example snippet
Fix a few typos and formatting issues in the DTS example of this binding to
be more in line with the project's DTS coding style.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-20 12:39:49 -05:00
Mathieu Choplain
0e0541662c dts: bindings: usb-c: connector: merge both DTS example snippets
Merge both example DTS snippets since they are related to each other.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-20 12:39:49 -05:00
Guillaume Gautier
3f67b880d6 dts: arm: st: c5: add i2c support in dtsi
Add I2C device tree nodes for STM32C5 series.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 12:38:22 -05:00
Lubos Koudelka
0147f357c6 drivers: regulator: add VREFBUF support on STM32WB
Extend the STM32 VREFBUF regulator driver to support STM32WB devices.
Update the st,stm32-vrefbuf devicetree binding and add the VREFBUF
node to the STM32WB SoC dtsi so that applications can enable the
internal reference buffer on STM32WB.

Signed-off-by: Lubos Koudelka <lubos.koudelka@st.com>
2026-03-20 12:34:56 -05:00
Etienne Carriere
1d38a4ac04 dts: arm: st: n6: allow use of non-secure IOMEM address ranges
Change stm32n6xx SoCs DTSI files to ease how a board can use the
secure or non-secure IOMEM and internal SRAMs address ranges depending
on whether the Zephyr application runs in secure or non-secure
world. This relies on use of the ranges DT property.

By default, the existing stm32n6xx SoC DTSI files define the secure
address mapping as prior this change, hence no functional changes.

Boards/platforms embedding a stm32n657X0 compliant SoC and expecting
to run in non-secure world can apply use the standard SoC DTSI file
and apply last stm32n657X0_ns.dtsi overlay file to select the non-secure
mapping address ranges.

For this purpose, use ranges DT properties and a node level for
peripherals and SRAMs:
- Insert axisram12@24000000 node level for the AXI SRAM1 and SRAM2 nodes
  with a ranges property to define the address range of these
  internal RAMS.
- Add a ranges property in ramcfg@* nodes to define the address ranges
  for the AXI SRAMs they each define.
- Insert peripherals@40000000 node level with a ranges property for the
  peripherals in soc node and its subnode to define the address ranges
  applied.

Update stm32n6x ram_check.ld linker script to consider address ranges
instead of the reg property raw value.

Update the HAL reference that bring pinctrl DTSI files that must be
consistent with the SoC DTSI files regarding pinctrl node path change.

Sync on a MCUboot repo change to consider ranges in stm32n6 memory DT
node properties.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-20 12:34:14 -05:00
Pete Johanson
99fbbf923e soc: max32: Proper MAX32655 RV32 SEMA interrupt number
Use the correct interrupt number for the SEMA peripheral on the RV32 core
of MAX32655.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-20 12:34:01 -05:00
Pete Johanson
050748c8ba drivers: mbox: Add ADI MAX32 mbox driver.
Implement a MAX32 mbox driver with the semaphore peripheral.

Tweak the mbox test to allow testing with only one TX/RX channel pair
available.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-20 12:34:01 -05:00
William Markezana
1d4083551b dts: bflb: add BL70x USB device controller binding and node
Add devicetree binding for the Bouffalo Lab BL70x USB 1.1 Full-Speed
device controller and define the USB peripheral node in bl70x.dtsi.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-20 12:33:43 -05:00
William Markezana
51d58642f6 drivers: usb: add proper bl70x cpu buffer alignment
Set cpu-buffer-stall property on the BL70x USB peripheral node to
ensure proper buffer alignment for DMA transfers.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-20 12:33:43 -05:00
Jan Carlo Roleda
d6eeab9600 drivers: sensor: adt7420: add support for ADT7410 and ADT7422
Add configuration to support ADT7410 and ADT7422
hardware specifications.

Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
2026-03-20 10:00:42 -05:00
Jan Carlo Roleda
d07b8a20f6 drivers: sensor: adt7420: Extend ADT7420 Driver Support
Extended ADT7420 driver to support:
- extend dtbindings for comprehensive configuration control
- Support 13-bit and 16-bit ADC resolution
- extend Sensor API support
- extend interrupt support to include CT pin

Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
2026-03-20 10:00:42 -05:00
Sergei Ovchinnikov
9ecbe311d4 drivers: sensor: nPM10xx sensor bindings and driver
Nordic's nPM10 Series PMIC Sensor Devicetree bindings and minimal driver
supporting only battery current, voltage and temperature measurements.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 09:55:57 -05:00
John Batch
913a896f85 dts: add Infineon CAN device tree definitions for CYW20829 SOC
Adds CAN RX-TX pin definitions to the CYW20829 package dtsi files where
supported.

Adds canfd0 wrapper and can0/can1 channel nodes to cyw20829.dtsi.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-20 09:55:43 -05:00
John Batch
b2a7a5d251 dts: add Infineon CAN device tree updates for PSE84
DeviceTree:
- Adds CAN RX-TX pin definitions to the PSE84 package dtsi files where
  supported.
- Adds canfd0 wrapper and can0/can1 channel nodes to the pse84.dtsi and
  pse84_s.dtsi files.
- Adds m55 core overrides for can interrupts.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-20 09:55:43 -05:00
John Batch
281c1cbd78 dts: add Infineon CAN bindings and device tree CAN updates for PSC3
Adds the following bindings:
- infineon,canfd-controller: Wrapper node for shared CAN controller
  registers.  Includes timestamp-counter and ecc-enabled properties
  for enabling a global timestamp counter and ECC.
- infineon,can: Individual CAN channels, an extension of the
  bosch,m_can-base.

DeviceTree:
- Adds CAN RX-TX pin definitions to the PSC3 package dtsi files where
  supported.
- Adds canfd0 wrapper and can0/can1 channel nodes to the psc3.dtsi and
  psc3_s.dtsi files.

Extends work started by Karthikeyan Krishnasamy <karthikeyan@linumiz.com>

Co-authored-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Co-authored-by: John Batch <john.batch@infineon.com>
Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-20 09:55:43 -05:00
Jamie McCrae
e79a144a36 dts: nordic: nrf7120: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
cdc480afb6 dts: nordic: nrf54h20/nrf9280: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
3ac8512545 dts: nordic: nrf54l[05,10,15]: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
6b34b4d013 dts: nordic: nrf54lm20: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
1a9f1b640f dts: nordic: nrf91: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
ab202cdb5e dts: nordic: nrf52: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
b5611a6bfc dts: nordic: nrf51: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Sylvio Alves
0906867d9a drivers: regulator: espressif: add LDO driver
Add a regulator driver for the internal general-purpose LDO channels
found in some Espressif SoCs. These LDO channels can supply power to
internal and external peripherals such as SPI flash and PSRAM.

The driver supports:
- Enable/disable LDO output channels
- Continuously adjustable voltage from 500mV to 2700mV
- Rail bypass mode at 3300mV
- Standard regulator device tree properties (boot-on, always-on, etc.)

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-20 09:54:12 -05:00
Erwan Gouriou
fec56d3076 soc: stm32: common: Add xspi manager
Implement a device driver for XSPI manager.
This allows to define the xspi controllers configuration that should
be applied towards the xspi IO ports:
- Muxed
- Swapped
- ...

Since its configuration has impact on final application location and
implies the deactivation of xspi clocks, it should be run only at fsbl
stage and not later.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Erwan Gouriou
5e6d5c6f5a dts: arm: stm32n6: Add xspi3
This xspi controller can be used as alternative to 2 other controllers

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Sergei Ovchinnikov
16f6618d4f drivers: regulator: nPM10xx regulator driver
Nordic's nPM10 Series PMIC regulator Devicetree bindings, helpers and
driver.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:16 +09:00
Sergei Ovchinnikov
ff6328b23f drivers: charger: nPM10xx charger driver
Nordic's nPM10 Series PMIC charger Devicetree bindings and driver

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:04 +09:00
Julien Racki
35381c6112 dts: arm: st: STM32WBA2x new devices of the STM32WBA family
Introduce the new STM32WBA20, STM32WBA23, STM32WBA25 MCUs

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-20 20:44:45 +09:00
Guillaume Gautier
ece513abab dts: arm: st: c5: add dma support
Add lpdma1 and lpdma2 nodes in STM32C5 dtsi files.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:44:12 +09:00
Guillaume Gautier
4f291e095d dts: arm: st: c5: add rtc node
Add RTC node to STM32C5 dtsi file.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Maximilian Zimmermann
7205044c7c drivers: display: add new driver for qemu ramfb
The driver implements the QEMU ramfb as a framebuffer-based display.
It only implements the basic capabilities necessary (ARGB8888) with
resolution configurable via DTS. For initialization it uses the fwcfg
driver.

Signed-off-by: Maximilian Zimmermann <gitmz@posteo.de>
2026-03-20 18:19:54 +09:00
Zhaoxiang Jin
9d6208a4fc drivers: timer: switch to use generic APIs
1. Keep drivers/timer/cortex_m_systick.h as a compatibility
shim for legacy Cortex-M-specific names.

2. Switch to use the generic low-power companion timer API
for the Cortex-M SysTick driver.

3. Mark the global CORTEX_M_SYSTICK_LPM_* kconfig options
as 'DEPRECATED' and replace them with SYSTEM_TIMER_LPM_*

4. Rename 'zephyr,cortex-m-idle-timer' to
'zephyr,system-timer-companion'

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-20 07:12:56 +01:00
Benjamin Cabé
93cdf43c7e dts: bindings: update binding-types.txt
Add some missing binding types.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-20 07:11:20 +01:00
James Roy
72dbb2406d dts: bindings: retention: Move the dts clips to examples
Move the dts sample nodes from the binding description
into examples block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 07:10:54 +01:00
James Roy
66ddc0e26b dts: bindings: usb-c: Move the dts clips to examples
Move the dts sample nodes from the binding description
into examples block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 07:10:54 +01:00
James Roy
37a482067d dts: bindings: power-domain: Move the dts clips to examples
Move the dts sample nodes from the binding description
into examples block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 07:10:54 +01:00
James Roy
5adbc7965d dts: bindings: wifi: Move the dts clips to examples
Move the dts sample nodes from the binding description
into examples block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 07:10:54 +01:00
James Roy
62b7336dd9 dts: bindings: qspi: Move the dts clips to examples
Move the dts sample nodes from the binding description
into examples block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 07:10:54 +01:00
Marek Matej
c695eb7767 boards,shields: ESP Thread Border Router with ethernet
Add support for ESP Thread Border Router.
Add Ethernet shield for the ESP Thread Border Router.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-03-20 07:10:42 +01:00
Michal Smola
d2b6ec46eb dts: mcx: add initial support for NXP MCXL25x SoCs
NXP MCXL25x SoCs are not supported.
Add initial dts with peripherals needed for
Hello World and GPIO examples on cpu0 only.
Aon domain clock controls are modeled by fixed-clock
for the initial enablement. The aon clock configuration
corresponds default clock configuration.

Signed-off-by: Michal Smola <michal.smola@nxp.com>
2026-03-20 13:32:47 +09:00
Andrei-Edward Popa
52dc9587ad dts: bindings: ethernet: add bindings for dm9051
Added ethernet bindings for DM9051 Ethernet Controller

Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
2026-03-20 13:32:33 +09:00
Jianchao Wang
deaf8d47ba dts: arm64: mimx95_a55: add flexcan device node
Add all device nodes for flexcan on i.MX 95 A55 platform.

Signed-off-by: Jianchao Wang <Jianchao.wang_1@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-20 13:30:52 +09:00
Aksel Skauge Mellbye
90876a3cf3 dts: arm: silabs: Add protocol timer to radio on Series 2
Add protocol timer node in radio for all Series 2 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:15:26 -05:00
Pete Johanson
a8073f6a07 dts: bindings: io-channel-cells output for samd5x DAC
Properly declare the io-channel-cells for the samd5x DAC binding for use
with the DAC DT spec helpers.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-19 17:11:18 -05:00
Pete Johanson
4f13d0b763 drivers: dac: Correct io-channel-cells for MCHP DAC driver
Correct io-channel-cells setup for the Microchip DAC driver to allow
specifying an output.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-19 17:11:18 -05:00
Pete Johanson
ff3273d0cd drivers: dac: Correct #io-channel-cells for NXP GAU DAC driver
Properly set #io-channel-cells = <1> for the NXP GAU DAC driver, which does
in fact support output channel binding.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-19 17:11:18 -05:00
Pete Johanson
d67b663607 drivers: dac: add dt-spec helper functions
Add the ability to specify channel details in devicetree, and enhance the
DAC API to support a new struct dac_dt_spec with corresponding DT helper
functions:

- dac_channel_setup_dt
- dac_write_value_dt

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-19 17:11:18 -05:00