Commit graph

10,053 commits

Author SHA1 Message Date
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
Mario Paja
5ab7ef6ccd dts: st: h7: fix dma stream
This change fixes DMA stream ID for H7xx series.
DMA stream ID should be in range 1..N

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-09-30 15:27:01 +03:00
Adam Kondraciuk
6f7a1834d5 soc: nordic: nrf54h: Implement idle with cache retained state
Add new idle state with cache retention enabled.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-09-30 15:26:40 +03:00
Fin Maaß
4a69c1b8a8 drivers: serial: litex: add support for rx-fifo-rx-we
add support for rx-fifo-rx-we, whci got added to
LiteX in https://github.com/enjoy-digital/litex/pull/2319

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-09-30 11:03:15 +02:00
Peter Wang
711af9863c boards: frdm_mcxaxx6: add frdm_mcxa366 board
1. the three boards share the same board schematic
   - frdm_mcxa266, frdm_mcxa346, frdm_mcxa366
2. board dts,kconfig and cmake file could share
3. add MCXA366 soc and frdm_mcxa366 board

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Peter Wang
f3a82fc7ea boards: frdm_mcxa266, frdm_mcxa346: create common dtsi for soc and board
1. nxp_mcxa266_a346_a366_common.dtsi created for soc dts
2. frdm_mcxa266_a346_a366_common.dtsi.dtsi created for board dts

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Armando Visconti
b390cbd6b2 drivers/sensor: iis3dwb: add streaming capabality
Add read_and_decode streaming APIs support.

Triggers supported:
    - SENSOR_TRIG_FIFO_WATERMARK
    - SENSOR_TRIG_FIFO_FULL
    - SENSOR_TRIG_DATA_READY

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-09-30 11:01:12 +02:00
Armando Visconti
93a30e7806 drivers/sensor/st: add support to IIS3DWB accel
The IIS3DWB is a system-in-package featuring a 3-axis digital vibration
sensor with low noise over an ultrawide and flat frequency range.
The wide bandwidth, low noise, very stable and repeatable sensitivity,
together with the capability of operating over an extended temperature
range (up to +105 C), make the device particularly suitable for vibration
monitoring in industrial applications.

Datasheet: https://www.st.com/en/mems-and-sensors/iis3dwb.html

This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).

This driver is based on stmemsc HAL i/f v2.9.1.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-09-30 11:01:12 +02:00
Anthony Williams
bfa6f4a102 sensor: rm3100: Fix typo in DT yaml
Rename RM33100 to RM3100 in yaml comment to align
with rm3100.h defines.

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-09-30 10:59:21 +02:00
Anthony Williams
e6ff45d38a sensor: rm3100: Add support for SPI
Add support for SPI

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-09-30 10:59:21 +02:00
Bill Waters
95dc13d1e1 drivers: i2c: add pdl driver for Infineon devices
- Add the pdl-based version of the i2c driver for infineon devices
  like the one found on the kit_psc3m5_evk board.
- In the pull request review it was decided that the
  I2C_INFINEON_CAT1_ASYNC option was not needed.  The driver would
  always be interrupt driven.  This meant that the existing driver
  had to be updated as well.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-09-30 10:58:31 +02:00
Yongxu Wang
bf712811bb dts: nxp: imx943: add CPU power states for M33 and M7 cores
Introduce power state definitions for i.MX943 Cortex-M cores in DTS

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-30 10:57:43 +02:00
Gerard Marull-Paretas
7e0df361c9 dts: arm: sifli: sf32lb52x: define dmac
Add node for DMAC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-29 12:40:15 -04:00
Gerard Marull-Paretas
5bb6741c67 dts: bindings: dma: add sifli,sf32lb-dmac
Add binding for SiFli SF32LB DMAC DMA controller. Also add defines for
configuring `dmas` cells (requests and config fields).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-29 12:40:15 -04:00
Andrew Featherstone
b7217a061f dts: bindings: timer: rp2350: Add machine timer for RP2350
The RP2350's Hazard3 (RISC-V) cores use the mtime-based RISC-V timer.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
5df091b7b1 dts: rp2350: Add DTSI for using two Hazard3 cores
Add a DTS fragment to support defining a RP2350 series SoC with two
Hazard3 cores in use.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
80a54a89cd drivers: intc: RP2350: Add initial support for Hazard3
The RP2350 uses the Xh3irq interrupt controller, which supports nested
and prioritised interrupts. This adds initial support, configuring the
controller in 'direct' (non-vectored) mode.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
984618e11a dts: rp2350: Move RP2350A and RP2350B DTS fragments to vendor/raspberrypi
These .dtsi files are common regardless of which permutation of cores
are in the two CPU 'sockets'.

Take the opportunity to make the includes paths to rp2350a.dtsi relative
to the current file to emphasise their relationship.

This is foundation work ahead of adding support for the Hazard3 cores.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Jeremy Dick
06daf0e29e dts: arm: renesas: ra: Remove unneeded container nodes for OFS registers
The OFS container node is not necessary, just put all the child nodes
in the soc node

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-29 09:58:32 +02:00
Bjarki Arge Andreasen
91c8c07179 dts: arm: nrf54h20_cpurad: disable unsuppported s2ram state
The s2ram power state is a "suspend-to-ram" state which is not
supported by the radio core, so delete it from the overlay.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-29 09:57:58 +02:00
Sylvio Alves
df0a88994d dtsi: espressif: add RNG peripheral clock reference
Adds default clock module reference for Espressif SoCs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-29 05:50:56 +02:00
Vincent Tardy
dc89803697 drivers: ieee802154: add support of 802.15.4 for STM32WBA
Add the driver itself and Kconfig/CMakeLists/dts/bindings related to it.
Other files and libraries needed are in ST's dedicated folder
hal_stm32 (modules/hal/stm32).

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2025-09-26 20:44:45 -04:00
Shreehari HK
4d6673bc69 drivers: i3c: dw: enhance open-drain timing configuration
This commit improves the I3C handling of open-drain
timing configurations with the following changes:
- Add OD minimum high_ns and low_ns DT properties
- Implement dw_i3c_init_scl_timing for runtime timing updates
- Initialize scl_od_min configuration from device tree
- Maintain backward compatibility with existing configurations

Requirement (MIPI Specification for I3C Basic v1.2 (16-Dec-2024),
             Section 4.3.11.2 & Table 49):
- The MIPI I3C specification mandates different open-drain speeds during
  bus initialization as defined in
  "I3C Basic Open Drain Timing Parameters".
- The first broadcast address (7'h7E+W) must be transmitted at a slower
  open-drain speed to ensure visibility to all devices on the I3C bus,
  including legacy I2C devices. This slow speed (minimum 200ns Thigh)
  allows I2C devices to properly detect the I3C mode transition and
  disable their spike filters before switching to I3C mode. After the
  initial broadcast, normal I3C open-drain speeds can be used for
  regular operation.

Signed-off-by: Shreehari HK <shreehari.hk@alifsemi.com>
2025-09-26 16:00:42 -04:00
Muhammed Asif
b26252b120 dts: pwm: sam0: Added 32 bit support for pwm
Updated the yaml with 32 bit counter enum

Signed-off-by: Muhammed Asif <asifp3104@gmail.com>
2025-09-26 13:23:07 +02:00
Ren Chen
1b7170b81b dts: ite: it82000: add pinctrl_q and power_ctrl_elpm nodes
as title.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-26 11:07:54 +02:00
Bjarki Arge Andreasen
6581db3901 dts: arm: nxp: rw6xx_common.dtsi: use default power domain
Update board to use default power domain for the "peripheral"
domain, which when resumed prevents SoC from entering suspend and
standby states as these power down peripherals.

Note by co-author: Cherry-picked this commit and edited it to work
without the generic domain refactoring on the branch it came from.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Declan Snyder
1481755acb drivers: uart_mcux_flexcomm: Refactor low power state handle
Refactor low power state handling to not tie to zephyr,disabling-states
and define it's own separate "low power states" property in DT instead.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Lucien Zhao
c503850cd4 boards: nxp: rt1180: migrate mpu setting under board folder
- add NXP_BOARD_SPECIFIC_MPU_SETTINGS kconfig to provide a switch
  for developer if they want to use private mpu settings
    CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==1  | NXP default setting
    CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==0  | User specific

- Use DT function to get memory base address and region size for cm7

- CM33 use dts to set mpu settings

- Add REGION_CUSTOMED_MEMORY_SIZE macro provide a common mapping ways
  to map actual memory_size_kb to "region_size"

-  The settings of the unified memory on cm33/cm7 cores:
    ocram1/flexspi2 -> REGION_RAM_NOCACHE_ATTR
    ocram2/dtcm -> REGION_RAM_NOCACHE_ATTR
    flexspi/itcm -> REGION_FLASH_ATTR

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:17:57 -04:00
Franck Duriez
cfbe64934e driver: pwm/pca9685: remove unimplemented misleading property
Invert property was not implemented and is now redundant with the flag
pwm-cell which is more flexible in case you want some IO to be inverted
and some not

Signed-off-by: Franck Duriez <franck.lucien.duriez@gmail.com>

# Conflicts:
#	doc/releases/migration-guide-4.3.rst
2025-09-25 14:17:15 -04:00
Franck Duriez
ae889020bc driver: pwm/pca9685: handle POLARITY flag
Handle polarity flag in pca9685 driver

Signed-off-by: Franck Duriez <franck.lucien.duriez@gmail.com>
2025-09-25 14:17:15 -04:00
Khoa Tran
71a6ea664e dts: arm: renesas: ra: Add support Renesas r7ka8t2lfecac SoC
Add support Renesas r7ka8t2lfecac SoC

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-09-25 11:02:54 +02:00
Tomas Galbicka
547f11e54b dts: NXP RT700 refactor common DTS entries
This commit moves common DTS entries into common file
dts/arm/nxp/nxp_rt7xx_common.dtsi.
This way there is not duplication between cpu0 and cpu1.

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2025-09-25 10:58:01 +02:00
Mario Paja
f52855b048 drivers: memc: add driver for stm32 ospi psram
Add a driver for STM32U5 OSPI PSRAM in memory mapped mode.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-09-25 09:24:59 +02:00