Commit graph

11,885 commits

Author SHA1 Message Date
Jason Yu
dbe9d017a4 dts: nxp: nxp_rt118x: Fix ocram1_available address issue
The ocram1_available address is ocram1+0x4000.

According to DTSpec v0.3, Section 2.3.8:
> If the property is defined with an empty value, it specifies
  that the parent and child address spaces are identical, and
  no address translation is required.
  If the property is not present in a bus node, it is assumed that
  no mapping exists between the child address space and the parent
  address space.

So should add empty range. Otherwise the ocram1_available address
is 0x4000.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-05-06 09:57:11 +01:00
Lay Desai
24cb0d8055 drivers: gpio: pca_series: Allow disabling automatic reset
The PCA series GPIO driver was updated to allow disabling automatic
reset. This feature would enable GPIO expander ports to retain states
which could be helpful for situations where certain pins are configured
in the bootloader and their states need to be retained when switching to
application code.

Signed-off-by: Lay Desai <lay.desai@he360.com>
2026-05-06 07:06:39 +02:00
Fin Maaß
4d594e59fc drivers: ethernet: nxp: enet: move pinctrl to parent
move pinctrl to parent, for some phys it is needed,
that the pinctrl happens before their init.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-05-06 07:06:26 +02:00
cyliang tw
8eed22ad98 boards: nuvoton: numaker: switch to mapped-partition
Switch from fixed-partitions to zephyr,mapped-partition
for all numaker boards.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-05-05 16:03:49 +01:00
Karthikeyan Krishnasamy
79de7ccd03 dts: arm: ti: mspm0: add support for dma controller
Add DMA controller support for Texas Instruments MSPM0 Family of SoCs.

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
2026-05-05 15:59:28 +01:00
Karthikeyan Krishnasamy
8cfb8ce323 dts: bindings: dma: add ti mspm0 dma binding
Add DMA driver binding for Texas Instruments MSPM0 Family Series

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
2026-05-05 15:59:28 +01:00
Harini T
1a0360d0b6 dts: bindings: xlnx_ipi: Fix compatible strings in binding examples
The examples used "xlnx,versal-ipi-mailbox" and
"xlnx,versal-ipi-dest-mailbox" which do not match the actual
compatible strings defined in the binding.

Signed-off-by: Harini T <harini.t@amd.com>
2026-05-05 15:58:50 +01:00
Radu Alexe
1f41215c66 net: openthread: ot-shell: add support for mcxw70
Added support for the openthread ot-shell application for the MCXW70 based
devices.

Signed-off-by: Radu Alexe <radu.alexe@nxp.com>
2026-05-05 15:58:09 +01:00
Fabio Baltieri
49c869a76e dts: ite: add missing dt flash properties
Fix up the ite platform flash properties, add the necessary ranges and
addr/size cells.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-05-05 15:57:53 +01:00
Kirill Shypachov
31bd0c2f4d drivers: flash: stm32_ospi: fix memory mapped mode
Set the OSPI memory mapped timeout period to avoid keeping the chip
select line asserted indefinitely after memory mapped accesses.

This is needed when OSPI1 and OSPI2 operate simultaneously with shared
IO0-IO3 and CLK lines, and both instances use memory mapped mode.

The timeout period follows the recommendation from the STM32U575xx and
STM32U585xx device errata, ES0499 section 2.6.4.

Allow dqs-port to be set to 0. The STM32 HAL uses value 0 to indicate
that the DQS port is not used.

Update the debug log printed when CONFIG_STM32_MEMMAP is not enabled,
because stm32_ospi_set_memorymap() is not called in that case.

Signed-off-by: Kirill Shypachov <kshypachov@outlook.com>
2026-05-05 09:50:22 +02:00
Sahaj Sarup
247a256c8f board: arm: add flysky fs_i6s rc controller
Add board support for the Flysky FS-i6s controller

Signed-off-by: Sahaj Sarup <sahajsarup@gmail.com>
2026-05-05 09:49:53 +02:00
Patryk Koscik
5762460ae4 dts: silabs: add EFM32HG309F64 SoC
Add Silicon Labs EFM32HG309F64, a Cortex-M0+ with 64 KB flash and 8 KB
SRAM.

Signed-off-by: Patryk Koscik <pkoscik@antmicro.com>
2026-05-05 09:48:35 +02:00
Patryk Koscik
783a780db6 drivers: watchdog: gecko: add Series 0 support
The EFM32HG (Series 0) WDOG has no IRQ support, no window mode
and no reset-disable bit.

Guard the logic with HAL feature macros and use `IF_ENABLED` with
`DT_INST_IRQ_HAS_IDX` for conditional IRQ setup.

Add the `wdog0` node to the EFM32HG device tree.

Signed-off-by: Patryk Koscik <pkoscik@antmicro.com>
2026-05-05 09:48:35 +02:00
Liam Ogletree
1923fb031f drivers: haptics: Add software reset functionality to CS40L5x driver
Add support for software resets in case no reset GPIO can be provided.
Add a mailbox write to prevent hibernation during bringup because
we can no longer rely on a hardware reset to make sure the device is
not hibernating.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-05-04 22:06:55 +02:00
Liam Ogletree
f8a1ab873f drivers: haptics: Add device-specific compatibles for variants
Split the generic cirrus,cs40l5x compatible into device-specific
variants. Update the driver and Kconfig  accordingly. Update the
CRD40L50 demonstration board's compatible to cirrus,cs40l50. Move
the device ID from the data struct to the config struct. Move uses
of DT_ANY_INST_HAS_PROP_STATUS_OKAY() and similar macros from the
device driver to Kconfig to support new DT_DRV_COMPAT usage in the
driver.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-05-04 22:06:55 +02:00
Bernardo Perez Priego
e1c8270123 drivers: peci_espi: Add PECI over eSPI controller driver
Introduce a PECI transport driver that operates over the eSPI bus,
enabling platforms without a native PECI controller to communicate
with the host CPU via an embedded controller.

This driver:
- Implements the PECI transaction layer on top of eSPI OOB channel
- Serializes PECI transactions to ensure protocol correctness
- Integrates with the existing PECI core infrastructure
- Allows PECI consumers (e.g. DTT, thermal, power management) to remain
  transport-agnostic

A corresponding devicetree binding enables PECI-over-eSPI by defining
a PECI child node under the eSPI controller node.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
2026-05-04 13:33:05 -05:00
Andrew Yong
d679768628 drivers: input: gpio_qdec: add invert-direction property
Add an invert-direction boolean DT property that negates the axis value
reported by the event worker. This handles boards where the physical
encoder orientation produces a direction opposite to what the quadrature
state machine reports without swapping the A/B GPIO wires.

Signed-off-by: Andrew Yong <me@ndoo.sg>
2026-05-04 14:59:00 +02:00
Alexios Lyrakis
57a70380e2 boards: riscv: add qemu_riscv64/qemu_virt_riscv64/smode board variant
Add a Supervisor-mode board variant for the QEMU RISC-V 64-bit virt
machine so twister exercises S-mode in CI.

Configure board.cmake to append s=on,u=on,pmp=on,priv_spec=v1.12.0,
sv39=on when CONFIG_RISCV_S_MODE is set, using string(APPEND) consistent
with the CONFIG_RISCV_PMP flag handling.

Three flags are required for compatibility with the rv64i bare CPU in
QEMU 10 (shipped with the Zephyr SDK):
- sv39=on instead of mmu=on: QEMU 10 separates MMU hardware presence
  from the satp addressing mode; without an explicit mode QEMU defaults
  to bare and virtual addressing is disabled.
- pmp=on: the rv64i bare CPU has no PMP by default; reset.S writes PMP
  CSRs unconditionally, causing an illegal-instruction trap before UART
  is initialised if PMP support is absent.
- zicntr=on: QEMU 10 separates Zicntr from the base I extension; without
  it csrr time traps with mcause=2 in the M-mode SBI timer handler.

Set riscv,privilege-modes = "m", "s", "u" on all cpu nodes in the
S-mode devicetree overlay so all harts correctly describe Supervisor-mode
support on SMP systems.  Simplify the privilege-modes binding wording to
avoid implying that only M-mode is assumed when the property is absent.

Exclude tests incompatible with S-mode: semihosting (requires M-mode
firmware), shared-interrupt tests (only one software-triggerable IRQ in
S-mode), and the RISC-V ISR table tests (timer IRQ already claimed).

Signed-off-by: Alexios Lyrakis <alexios.lyrakis@gmail.com>
2026-05-04 14:54:52 +02:00
Alexios Lyrakis
1cf1de81a1 arch: riscv: add Supervisor-mode (S-mode) support
Introduce CONFIG_RISCV_S_MODE to select Supervisor-mode execution.
Add depends on !RISCV_S_MODE to RISCV_PMP since PMP CSRs are
inaccessible from S-mode.

Add an M-mode SBI shim (reset.S + sbi.S) that configures exception
delegation, PMP, and counter access before dropping to S-mode via mret.
The shim handles SBI_SET_TIMER ecalls from S-mode and forwards MTIP to
STIP so the supervisor timer driver works without a full SBI firmware.

Introduce privilege-level abstractions in isr.S (RV_CAUSE, RV_EPC,
RV_STATUS, RV_TVAL, etc.) and update all runtime code that previously
accessed M-mode-only CSRs (mcause, mtval, mstatus, mie, mip) to use the
S-mode equivalents when CONFIG_RISCV_S_MODE is set.

ARCH_EXCEPT in kernel context uses ebreak (cause=3, Breakpoint) instead
of a direct z_riscv_fatal_error() call.  In S-mode, ecall (cause=9) is
kept in M-mode for SBI and never reaches the S-mode exception handler;
a direct call with NULL esf caused the stack unwinder to crash into an
infinite fault loop.  ebreak is delegated to S-mode by our medeleg
configuration; isr.S treats ebreak with t0=RV_ECALL_RUNTIME_EXCEPT the
same way M-mode treats ecall-based ARCH_EXCEPT.

Signed-off-by: Alexios Lyrakis <alexios.lyrakis@gmail.com>
2026-05-04 14:54:52 +02:00
Tien Nguyen
0236cb5f74 dts: renesas: remove duplicate dma node for RZ/V2H, V2N, T2L
remove duplicate dma node for RZ/V2H, V2N, T2L

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-05-04 12:12:30 +02:00
Ren Chen
4994644cff drivers: i2c: it51xxx: add support fifo mode for all channels
The new hardware supports fifo mode for all i2c channels. This commit
adds support for fifo mode across all i2c channels.

Additionally, the compilation fails when the `I2C_IT51XXX_FIFO_MODE`
option is disabled because the isr function is behind this option.
This change also resolves this issue.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-05-04 09:00:48 +02:00
Liu Changjie
6fb2df37bb boards: jlc: add skystar_gd32f407vet6 board
Add support for the SkyStar-GD32F407VET6 board:
- Board documentation describing hardware features and usage
- Pin control for USART0 and PWM
- DTS defining GPIO, LEDs, keys, and PWM
- YAML metadata for board ID, memory, and vendor
- Default defconfig enabling MPU, console, UART, and GPIO

Signed-off-by: Liu Changjie <liucj1228@outlook.com>
Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
2026-05-04 08:59:04 +02:00
Tien Nguyen
5fe8948f0e dts: renesas: add dma node for Renesas RZ/T2L, RZ/V2x, RZ/G2x
add dma node for Renesas RZ/T2L, RZ/V2x, RZ/G2x

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-05-04 08:58:09 +02:00
Pisit Sawangvonganan
f2cf436682 dts: infineon: psc3: drop unused address/size cells from lpcomp0
Remove unnecessary #address-cells and #size-cells from lpcomp0 nodes
as they have no addressable child resources.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-05-03 20:31:13 -05:00
Pisit Sawangvonganan
116a2f5c86 dts: infineon: pse84: drop unused address/size cells from lpcomp0
Remove unnecessary #address-cells and #size-cells from lpcomp0 nodes
as they have no addressable child resources.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-05-03 20:31:13 -05:00
Quang Le
895514a4f2 dts: renesas: Add DMA support for SPI on RZ/N2L, T2M
Add DMA support for SPI on RZ/N2L, T2M.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2026-05-03 20:30:58 -05:00
Quang Le
93080d3dda dts: renesas: Add SPI support for RZ/T2L
Add SPI nodes to Renesas RZ/T2L devicetree.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2026-05-03 20:30:58 -05:00
Quang Le
f5db0bf01b dts: renesas: Add SPI support for RZ/V2H, V2N
Add SPI, DMA, INTC nodes to Renesas RZ/V2H, V2N devicetree.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2026-05-03 20:30:58 -05:00
Quang Le
6d2b6de690 drivers: spi: Initial support for RZ/V2H, V2N
Add SPI driver support for Renesas RZ/V2H, V2N.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2026-05-03 20:30:58 -05:00
Chris Ruehl
dcbace98e2 Display: ssd1306: Add software reset command 0xE4
This patch applies a software reset command under the condition that no
gpio reset pin is assigned and the new introduced boolean softreset-on
had been set for the device in the device tree or overlay.

Signed-off-by: Chris Ruehl <chris@gtsys.com.hk>
2026-05-03 21:41:40 +02:00
Fin Maaß
3ea8658bce dt: base: add dma-coherent from the dt spec
This adds the add dma-coherent prop from the dt spec.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-05-03 21:41:24 +02:00
Sameer Srivastava
d8ada64596 dts: bindings: fpga: add renesas,slg47910 binding
Add binding for Renesas SLG47910 FPGA specifying Power, Enable and SS
pins.

Signed-off-by: Sameer Srivastava <l1zard78@proton.me>
2026-05-03 21:40:40 +02:00
Zhaoxiang Jin
3ade750ead dts: arm: nxp: rt7xx: describe USB controller clocks
Update the RT7xx EHCI nodes to use clkctl4 clock specifiers and
describe the controller and PHY clock rates in devicetree.

Remove the obsolete usbclk fixed-clock node because the USB clocks
are now provided through clkctl4.

This provides the clock information used by the EHCI driver on
RT7xx.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-03 21:40:02 +02:00
Etienne Carriere
59f78af76d dts: arm: st: wba: fix WBA2x internal flash config
Correct the STM32WBA2x internal flash write block size, sector size
and sector erase time configuration data that differ from STM32WBA5x
and STM32WBA6x. Configuration data can be found in STM32WBA2xxx
datasheet DS15003 [1].

Link: https://www.st.com/resource/en/datasheet/stm32wba25ce.pdf [1]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-05-01 16:22:20 -05:00
Erdem Simsek
19529cc46f dts: nordic: nrf7120: Add bl_storage section to UICR
Allocates a section on UICR for bl_storage area used
by immutable bootloader.

Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
2026-05-01 16:21:21 -05:00
Matej Neumann
9a8f11fc27 drivers: sensor: fdc1004: add fdc1004 driver
Add driver for the TI FDC1004 capacitance-to-digital converter.

Signed-off-by: Matej Neumann <email@neumma.com>
2026-05-01 11:17:46 -05:00
Alexpandi Muniyandi
423dafb256 dts: bindings: audio: Add binding support for tas2563
Add binding support for tas2563 amplifier ic

Signed-off-by: Alexpandi Muniyandi <alexpandi@linumiz.com>
2026-05-01 11:17:04 -05:00
Yuzhuo Liu
a6f802b9b1 drivers: pwm: add Realtek Bee series driver
Add PWM driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.

This driver supports:
- Pulse width modulation output
- Period and pulse width configuration
- Polarity inversion

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-05-01 09:50:16 +02:00
Etienne Carriere
83682440eb dts: arm: st: add missing ranges to internal flash controllers
Add empty ranges property to STM SoCs internal flash controller
that were missing when ranges properties were added to internal
flash device nodes in commit 876552f92c ("dts: arm: st: add address
ranges info in SoCs internal flash nodes").

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-05-01 09:46:42 +02:00
Zhaoxiang Jin
aed40c3651 dts: arm: nxp: rt7xx: add reset specifiers for flexcomm and lp serial
add reset specifiers for flexcomm and lp serial

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
Zhaoxiang Jin
e970d8173a dts: arm: nxp: rt7xx: add reset specifiers for sai
add reset specifiers for sai

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
Zhaoxiang Jin
7a28913d3a dts: arm: nxp: rt7xx: add reset specifiers for usdhc
Describe RT700 USDHC reset lines with the SoC reset
controller so the driver can acquire and release reset
through the common reset API.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
Zhaoxiang Jin
4404614cb2 dts: arm: nxp: rt7xx: add reset specifiers for sema42 node
add reset specifiers for sema42 node

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
Zhaoxiang Jin
ab84da7f0f dts: nxp: nxp_rt7xx: add offset-base property to RSTCTL nodes
add offset-base property to RSTCTL nodes in imxrt7xx DTS.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
Zhaoxiang Jin
145218573e dts: bindings: nxp,rstctl: add offset-base property
add offset-base for nxp,rstctl.yaml to support SoCs
that encode reset IDs in a single global namespace
across multiple RSTCTL instances.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-01 09:42:15 +02:00
McAtee Maxwell
efccf9e041 drivers: add .recover_bus api support to Infineon's i2c_pdl driver
Add support for the i2c .recover_bus api in Infineon's i2c_pdl
driver. This uses the functions defined in i2c_bitbang.c to cause a
release of an improperly held sda line.

	Additionally, changes are made to the driver's relevant Kconfig
and i2c binding .yaml files. This adds definitions for the sda and scl
bins for recovery purposes. The .recover_bus api is set to depend on the
"scl_gpios" and "sda_gpios" variables being set up in devicetree.

Assisted-by: GitHub Copilot:claude-sonnet-4.6
Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-05-01 09:40:05 +02:00
Neil Chen
470f0503d0 dts: arm/nxp: Add lpadc2/3 nodes to NXP mcxaxx6 dtsi file
1. Add lpadc2/3 nodes support in NXP mcxaxx6 dtsi file
2. mcxa266 don't support lpcmp2 and lpadc2/3

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-04-30 14:04:15 -04:00
Pete Johanson
77f37820cf soc: adi: max32: Add MAX32666 USB support
Add the necessary USB node for the max32666.dtsi and enable the device on
the MAX32666EVKIT which exposes a USB connector that works as expected.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-04-30 14:02:41 -04:00
Fin Maaß
29b379267e dts: stm32: add snps,dwmac-mdio compatible
add snps,dwmac-mdio compatible to the
stm32 macs that also support this controller.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-30 14:02:30 -04:00
Fin Maaß
0f5c36e112 drivers: ethernet: dwmac: mdio: add mdio controller
add mdio controller for the dwmac
ethernet controller.

Assisted-by: Github Copilot:GPT-5.4
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-04-30 14:02:30 -04:00