Adding a new DMA driver for the PSE84 AXIDMAC hardware based on the
Infineon PDL driver. The AXIDMAC is a high performance DMA controller
that uses the AXI bus. It is typically used for large memory-to-memory
transactions.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
Add a sensor driver for the SoC die temperature on Raspberry Pi
BCM283x devices. The temperature is read through the VideoCore
firmware GET_TEMPERATURE property tag -- the source behind
`vcgencmd measure_temp` -- over the rpi_fw mailbox property
interface, and exposed as SENSOR_CHAN_DIE_TEMP.
The sensor owns no MMIO of its own, so it is modelled as a child of
the raspberrypi,bcm283x-firmware node.
Wire up the VideoCore mailbox (brcm,bcm2711-mbox) on the BCM2710, and
put the firmware (raspberrypi,bcm283x-firmware) node with its
shared-memory property buffer on the board, matching where rpi_4b
keeps them. Enable the sensor on the Zero 2 W and the Pi 4 B.
Signed-off-by: Jonathan E. Peace <jep@alphabetiq.com>
Add DT Binding for the DAC inside the HPPASS CSG. Each instance
represents the DAC inside a single slice of the CSG.
Each DAC instance is a childe ofd the hppass CSG MFD node, and drivers
the negative input of the paired comparator. There is no external
output, but the DAC can be routed to an ADC for observation.
Assisted-by: Github Copilot:claude-opus-4.7
Signed-off-by: John Batch <john.batch@infineon.com>
The i2s binding marks unit as required, so any build enabling one
of the esp32p4 i2s nodes failed devicetree validation. Number the
three controllers and add the i2s_api loopback overlay for the
function ev board that surfaced it.
Declare i2s in the board yaml as well, otherwise twister filters
the suite out before the overlay is ever consulted.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add a WS2812 LED strip driver on top of the pulse_io subsystem.
Pixel data is encoded as fixed-period cells with per-bit duty and
sent through a pulse_io transmit channel, so the driver runs on
any SoC with a pulse_io backend. Add a led_strip sample overlay
driving the on-board WS2812 of the esp32s3_devkitc through the
RMT backend, selected with the pulse_io file suffix.
Assisted-by: Claude Code:opus-4-8
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add the RMT peripheral node to ESP32, ESP32-S2, ESP32-S3,
ESP32-C3, ESP32-C5, ESP32-C6 and ESP32-H2 devicetrees, with a
pulse_io controller binding. Channels are selected through
pinctrl and consumers reference the controller with a single
channel cell. The ESP32-P4 node already exists and only gains
the pulse_io channel cells property.
Assisted-by: Claude Code:opus-4-8
Signed-off-by: Joel Guittet <joelguittet@gmail.com>
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add a functional loopback backend that loops transmitted symbols
back on receive, with deferred async transmit completion and a
streaming receive path. Add ztest suites covering capabilities, the
channel lifecycle, configuration, codec encode/decode, sync and
async transfer, streaming receive, and the userspace syscall path.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add the pulse_io subsystem API: the public header with the driver
vtable, capability and configuration structs, the SYMBOL and CELL
submission descriptors, sync and async transmit and receive entry
points, and the byte/symbol encoder and decoder helpers.
The channel lifecycle and transfer calls are exposed as syscalls
with userspace verification handlers. Includes the controller
binding, subsystem documentation, release note and maintainer entry.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The hardware default SDA hold time is only 1 clock cycle (~10ns),
which is often too short for slower I2C devices to properly sample
the data.
This commit sets the `i2c-sda-hold-time-ns` property to 300ns by
default to provide a sufficient hold margin and ensure reliable
data reception for these devices.
Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
The nrf54l has high speed pad ctrl (slew rate) of the fast GPIO port
(P2), configurable through registers sharing the address space of the
GPIO port.
Extend the nordic,nrf-gpio devicetree binding with a property
indicating if hspadctrl is available for a port, and add an optional
property for setting the optional HSBIAS value of the GPIOHSPADCTRL
BIAS register. The datasheet recommends always setting HSBIAS to its
highest value (3), which will now be set by the nrf gpio device
driver on init, unless the user specifies otherwise in the
devicetree.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Add page-size to the JEDEC MSPI NOR property allow list and honor
it in FLASH_PAGE_SIZE_INST(): when the property is present, it
overrides the SFDP-derived or default page size.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
We added a MSPI device binding for Microchip XEC MSPI driver using
the QMSPI controller. This binding is useful if we do not want to
use the Zephyr MSPI-NOR flash driver. It includes standard MSPI
device, JESD216, and custom QMSPI timing properties. The QMSPI
controller has a chip select timing register with four timing
fields and a TAP register for adjusting signal tap points when
QMSPI is used at maximum frequency (96 MHz). The tap points can
compensate for timing issues caused by board layout.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
Add an MSPI controller driver for Microchip MEC174x/5x/MEC165x
based on the QMSPI controller.
The driver uses the QMSPI local-DMA (LDMA) channels for the data path
when CONFIG_MSPI_MCHP_XEC_QMSPI_LDMA is enabled and the request
specifies a DMA-mode transfer; otherwise it uses the PIO FIFO. Note
the LDMA engine is internal to the QMSPI block and is independent of
the central DMA controller.
Both synchronous and asynchronous transfers are supported in PIO and
DMA modes. The driver operates in controller mode and supports
half-duplex transfers only; full-duplex is not implemented.
Initial PM_DEVICE support is added using the PM subsystem calls during
driver init, as recommended by the Zephyr PM_DEVICE documentation.
The driver supports the QMSPI hardware chip enables only; GPIO chip
enables are not supported. A controller configuration that specifies
GPIO CEs (num_ce_gpios != 0) is rejected with -ENOTSUP.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
Remove the "prescaler" property from the nxp,lptmr binding. It was
deprecated in Zephyr 4.3 in favour of "prescale-glitch-filter" and
"prescale-glitch-filter-bypass", and has been functionally inert since
then: the driver never read it.
No in-tree lptmr node sets it. Note that it was "required: true" as
recently as v4.2.0, so out-of-tree board devicetrees are likely to still
carry it; this is the first written notice they get, hence the
migration guide entry.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5
Remove the seven "nxp,"-prefixed properties of the nxp,kinetis-acmp
binding, deprecated in Zephyr 4.0 in favour of the un-prefixed
enable-pin-out, use-unfiltered-output, enable-high-speed-mode,
filter-enable-sample, filter-count, filter-period and enable-window-mode
properties declared in the same binding.
The MCUX_ACMP_DT_INST_PROP()/_OR() compatibility shims in the sensor-class
driver existed only to fall back to the old names, so they collapse to
plain DT_INST_PROP()/DT_INST_PROP_OR() at the instance definition. The
comparator-class driver already used the new names only.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5
This commit adds support for counter PM in MAX32657 SoC. It enables the
necessary PM configurations.
Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Add the FlexCAN-FD controller nodes (flexcan1, flexcan2, flexcan3)
to the i.MX952 SoC device tree so boards can enable CAN.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Add the LPI2C controller nodes (lpi2c1 through lpi2c8) to the
i.MX952 SoC device tree so boards can enable I2C.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Add the GPIO2 port pinmux settings to the i.MX952 SoC device tree so
the GPIO driver can select the GPIO mux options during configuration.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
The SDHCI reference clock is generated by the Versal PMC clock
controller rather than supplied directly by a board.
Define its fixed-clock representation at the SoC level and connect both
SDHCI controllers.
Signed-off-by: Takumi Ando <takumi@spacecubics.com>
Add the SDIF node and attach its source clock: the main clock, divided to
stay within the controller's maximum source frequency. The divider follows
the cpu node's clock-frequency, as the rest of this file does.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Marvin Gnad <marvin.gnad@gmail.com>
Add support for the Fitipower EK79007 1024x600 MIPI-DSI panel.
The driver performs the vendor initialization sequence over DCS,
attaches to the host in video mode, and drives the reset and
backlight pins. Pixels are streamed by the display controller the
panel is wired to, so the driver reports the panel geometry and
handles blanking only.
Assisted-by: Claude:opus-4-8
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add the USB0 full-speed and USB1 high-speed IP3511 device-controller
nodes and the dedicated 8K USB SRAM region, bring up the USB PHYs and
device clocks in clock_init(), and link the USB stack's buffers into the
dedicated RAM (usb.ld) as the IP3511HS controller requires.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Marvin Gnad <marvin.gnad@gmail.com>
Remove my email address from copyright notices across
board, fuel-gauge, networking, sample, and test files
Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
On SoCs that power off the OS Timer in deep low-power states, the driver
can now delegate low-power timekeeping to the generic system-timer
low-power companion framework (CONFIG_SYSTEM_TIMER_LPM_COMPANION_*).
Select SYSTEM_TIMER_HAS_LPM_COMPANION_SUPPORT and add a new
"handoff-power-states" devicetree property: when entering one of the listed
states the driver arms the companion counter chosen via
/chosen/zephyr,system-timer-companion and recovers the elapsed time on
wakeup.
The legacy deep-sleep-counter path is unchanged; boards on it do not set
handoff-power-states and keep handing off in PM_STATE_STANDBY as before.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Commit a36a77e9b8 ("drivers: reset: add ch32 reset controller")
added reset-controller nodes to the WCH dtsi files, but the include
added to ch32h417.dtsi names the binding header ch32_20x_30x-reset.h
while the header introduced by that commit is ch32v20x_30x-reset.h.
This breaks devicetree preprocessing for every ch32h417evt build.
Fix the include to use the correct header name.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
The adi,mbox-max32-sema binding requires the interrupts property,
but it was only defined for the m4 core in max32xxx-m4.dtsi.
Add the rv32 interrupt assigment in max78000-rv.dtsi.
Signed-off-by: Nenad Ilic <nenad.ilic@analog.com>
The static 'dlf' property is valid only for a specific PCLK/baud rate
combination. The current calculation accounts for this fixed value when
selecting the integer divisor, but cannot adapt to runtime baud rate
changes.
A low fixed PCLK may require a fractional divisor to reduce baud rate
error for the requested baudrate.
Add an opt-in 'dlf-auto' property to calculate the integer divisor and
DLF value together whenever the baud rate changes, using 1/64-resolution
fixed-point arithmetic. When enabled, 'dlf-auto' overrides 'dlf'.
Also enable DLF support when an instance uses either 'dlf' or
'dlf-auto'. Existing 'dlf' users are unaffected.
Signed-off-by: Bo Sun <bo.sun@kernel.li>
Add reset driver for the reset part of the ch32 rcc.
Use this new reset driven in `wch,usart` to reset the usart peripheral
before use.
Signed-off-by: Fiona Behrens <me@kloenk.dev>
Add a driver for the VIRTIO GPIO device (virtio spec 1.3, section 5.18),
letting a Zephyr guest drive GPIO lines exposed by a hypervisor or a
vhost-user backend.
The number of lines is read from the device configuration space at init,
and interrupts use the event virtqueue when the device offers
VIRTIO_GPIO_F_IRQ. Every operation is a round trip to the device, so the
GPIO API can only be used from a thread.
Assisted-by: Claude Code:opus-4.8
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Document that the second peripheral range maps the IAP flash window to
the non-secure flash alias without changing TrustZone attribution.
Signed-off-by: Manjae Cho <manjae.cho@samsung.com>
Keep IAP under the peripheral bus and use explicit ranges for the secure
and non-secure flash aliases.
Signed-off-by: Manjae Cho <manjae.cho@samsung.com>
Replace the fixed-partitions layout with zephyr,mapped-partition and add
the ranges properties required to translate partition addresses through
the IAP flash controller.
Keep the existing Kconfig overrides for CPU1 and TF-M layouts.
Signed-off-by: Manjae Cho <manjae.cho@samsung.com>
Zephyr's devicetree tooling parses and generates macros
for the ranges property but has no equivalent support for
dma-ranges, even though both are defined the same way by
the Devicetree Specification (§2.3.9) and edtlib.py already
has the machinery to parse address-translation triplets.
This adds the same pipeline that already exists for ranges.
edtlib.py now parses dma-ranges into Node. dma_ranges using
the same cell-based translation logic as Node via a new
_init_dma_ranges() method.
gen_defines.py emits DT_N_..._DMA_RANGES_* macros for each node
with a dma-ranges property through a new write_dma_ranges() function.
devicetree.h gains the DT_DMA_RANGES_* public API, including HAS_IDX,
CHILD_BUS_ADDRESS_BY_IDX, PARENT_BUS_ADDRESS_BY_IDX, LENGTH_BY_IDX,
NUM_DMA_RANGE, and FOREACH_DMA_RANGE. base.yaml documents the dma-ranges
property per DT spec §2.3.9.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Add a driver for the simple hardware RNG block on the BCM2835 /
BCM2836 / BCM2837 / BCM2710 SoCs (Raspberry Pi 1/2/3/Zero family).
The block is a small four-register FIFO, distinct from the iProc
RNG200 on the BCM2711 (Raspberry Pi 4).
Enable it on the Raspberry Pi Zero 2 W as the board entropy source.
Signed-off-by: Jonathan E. Peace <jep@alphabetiq.com>
Add missing pinctrl definitions for the RTC square wave output pins on
the MAX32690 and MAX32655 SoCs.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Fold the NXP ENET QoS child node `nxp,enet-qos-mac` into the parent
`nxp,enet-qos` controller node to match standard `snps,dwmac` bindings
and flatten the devicetree representation.
Summary of changes:
- dts: bindings: Merge `nxp,enet-qos-mac` binding into `nxp,enet-qos`
and remove the obsolete binding file.
- dts/boards: Flatten devicetree structure across MCX A and MCX N
families (and EVK/FRDM board overlays) by moving interrupts, MAC
properties and PTP clock configuration up to the parent `enet` node.
- drivers: Update `nxp_enet_qos` ethernet and PTP clock drivers for the
single-node layout, remove the redundant `eth_nxp_enet_qos.c` module
driver and consolidate Kconfig under `ETH_NXP_ENET_QOS`.
- docs: Add a migration guide entry detailing the devicetree node changes.
Assisted-by: Claude:opus-4-8
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
flash_size/erase-block-size/write-block-size now live on the
soc-nv-flash child instead of the controller node. Update
flash_renesas_rz_qspi.c/flash_renesas_rza2m_qspi.c and the
bindings to match.
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add an ext_flash_ctrl flash-controller node under each board's
xspi/spibsc bus, move the flash chip under it as a soc-nv-flash
child with "ranges" for address translation, and convert its
partitions to zephyr,mapped-partition
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Added support for lp-mode for the autanalog-sar in PSE84.
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
The i.MX RT1150 family devicetrees (5c249d9a7f) merged in parallel
with the RT11xx dtsi reorganization (aa173e6fb8), so they were left
at the old flat dts/arm/nxp/imxrt/ location and still include the
family dtsi files by their pre-move paths, which no longer exist.
This breaks the devicetree preprocess step for frdm_imxrt1152 on
main.
Move nxp_rt1151.dtsi, nxp_rt1152.dtsi and nxp_rt115x.dtsi into the
imxrt11xx/ subdirectory alongside the other RT11xx part-level dtsi
files, update their internal includes to the new paths, and update
the frdm_imxrt1152 board dts accordingly.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>