Commit 454fabb155 added nxp,crc devicetree nodes to shared dtsi
files, but the NXP HAL does not expose CRC_Type for every variant
that includes those files, breaking the build on MCXC444 and on
MIMXRT798S cm33_core1.
Move the crc node from nxp_rt7xx_common.dtsi into
nxp_rt7xx_cm33_cpu0.dtsi so it only reaches the core that has the
peripheral, and /delete-node/ &crc; in nxp_mcxc444.dtsi. Drop the
stale zephyr,crc chosen and &crc overrides from those board DTS
files.
Verified with twister tests/drivers/build_all -M all: the two failing
targets build clean, and frdm_mcxc242 and cm33_cpu0 still keep
CONFIG_CRC_DRIVER_NXP=y.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
eDMA2 on i.MX95 has 32 shared IRQs, each covering a pair of channels:
ch0/1 -> IRQ 128, ch2/3 -> IRQ 129, ch4/5 -> IRQ 130, ...
ch62/63 -> IRQ 159
The previous DTS only declared 3 IRQs (128, 129, 143) with an incorrect
channels-shared-irq-mask that mapped ch4/5 to IRQ 143 (ch30/31).
This caused an "Unhandled IRQn: 130" crash when SAI3 DMA transfers
(using edma2 ch4/5) were started.
Expand interrupts to cover all 32 channel-pair IRQs (128-159) and
update channels-shared-irq-mask accordingly.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Add watchdog5 device node into mimx9596 m7, watchdog3/4 is assigned into
A55, only watchdog5 can be use by M7 cpu
Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
3GPP TS 27.010 section 5.4.6.3.2 specifies a PSC frame exchange when
entering power save and section 5.4.7 specifies a flag-byte exchange
when exiting. modem_cmux blocks at T3 timeout on either half if the
peer does not implement the exchange, which is the case for modems
that manage sleep and wake out-of-band (hardware lines or
modem-control AT commands).
Add an opt-in DT property cmux-no-powersave-handshake (default off)
on the cellular-modem common binding. When set,
modem_cmux_runtime_pm_handler skips modem_cmux_send_psc and the T3
reschedule on entry and transitions directly to STATE_POWERSAVE;
powersave_wait_wakeup skips the wake-pattern transmission and the
STATE_RESYNC wait on exit and transitions directly to STATE_CONNECTED.
Signed-off-by: Paulo Santos <paulo.santos-ext@hexagon.com>
The Digital Filter for Sigma Delta Modulators (DFSDM) is dedicated to
interface external Σ∆ modulators.
It features:
* Up to 8 multiplexed input digital serial channels:
– SPI or Manchester-coded 1 wire interface
– clock output for Σ∆ modulators
* Up to 8 internal digital parallel channels:
– up to 16 bit resolution
– internal sources: memory (CPU/DMA write) data streams
* Adjustable digital signal processing
* Up to 24-bit output data resolution
* Signed output data format
* Continuous or one-shot conversion
* “regular” or “injected” conversions
* Analog watchdog
* Short-circuit detector
* Min/Max extremes detector
* DMA read access
* Interrupts for end of conversion, overrun, analog watchdog,
short-circuit, channel clock absence
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Add optional device tree option `recover-bus-on-init`,
it recovers the I2C bus during driver initialization.
Requires scl-gpios and sda-gpios to be defined on the same node.
Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
Add optional device tree option `recover-bus-on-init`,
it recovers the I2C bus during driver initialization.
Requires scl-gpios and sda-gpios to be defined on the same node.
Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
Added autonomous analog CTDAC for PSE84 device.
This implementation uses the autonomous controller (MFD)
that is shared with other autanalog drivers.
The CTDAC stands for Continuous Time DAC. It is a programmable DAC
residing inside the autonomous (aut) analog subsystem. It is
controlled using the autonomous controller (AC), which is a
programmable state machine. The AC is shared across all autonomous
analog peripherals including the SAR, PRB, PTComp, CTB, and CTDAC.
The DAC output can either be software controlled or be driven
through the AC hardware by loading through an internal LUT memory.
AC MFD references the DAC configuration, and brings together all
other autanalog peripherals into a single AC setup for the application.
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
This PR introduces the `sda-hold-time-ns` DeviceTree property for
DesignWare I2C controllers. The driver logic is updated to prioritize
this nanosecond configuration, calculating the necessary hardware clock
ticks at build time using the new `HOLD_TIME_TO_TICKS` macro. If the
property is not defined, it safely falls back to the legacy
`sda-hold-tx` tick configuration.
Fixes#83437
Signed-off-by: Akansh Sinha <akansh.sinha.dev@gmail.com>
Set 'zephyr,min-timeout-cycles' to 32 cycles for the SysTick timer on
Realtek RTL8752H and RTL87x2G (Bee Famliy) SoCs.
Since these SoCs typically use a 32 kHz clock source for the SysTick
timer, the default driver limit (1024 cycles) imposes a ~31.25 ms
minimum wait time. By reducing this to 32 cycles, the minimum hardware
timeout is aligned with a 1ms kernel tick (at 1000 Hz).
This improvement enables functional tickless idle mode and ensures that
kernel timing-dependent tests can achieve the required 1ms resolution.
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Add support for configuring the minimum timer delay via the Devicetree
property 'zephyr,min-timeout-cycles'. This is particularly useful for
platforms using low-frequency clock sources (e.g., 32.768 kHz).
The driver's default MIN_DELAY is MAX(1024, CYC_PER_TICK / 16). On a
system with a 32.768 kHz clock and CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000,
CYC_PER_TICK is 32. This results in a MIN_DELAY of 1024 cycles, which
translates to a ~31 ms minimum timeout. This granularity is too
coarse for tickless operation and causes failures in tests that expect
sub-10ms precision.
This change allows boards to override this limit, enabling finer timing
resolution while maintaining the existing default for backward
compatibility.
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Allow configuring the clock source for TI's dmtimer using syscon driver for
MMR writes. The new property "clksel" takes offset and value to select
the mux configuration.
This is required since there are no clock parent APIs in the clock
controller subsystem as of now.
Signed-off-by: Amneesh Singh <amneesh@ti.com>
- Switch binding to zephyr,cellular-modem-device.yaml
- Use MODEM_DT_INST_PPP_DEFINE to properly associate PPP with the modem
device and preserve runtime PM integration
Signed-off-by: Luca Impagliazzo <Luca.Impagliazzo@telit.com>
Convert FlexSPI-backed flash partition tables on NXP boards from
"fixed-partitions" to "zephyr,mapped-partition" so that
FIXED_PARTITION_NODE() resolves to a CPU-mapped (AHB/XIP) address
instead of a flash-local offset. This lets MCUboot, settings/NVS, and
other partition consumers reach the partition through the FlexSPI AHB
window without the driver having to translate offsets at runtime.
Related-to: #107737
Signed-off-by: Albort Xue <yao.xue@nxp.com>
Add CPU PLL initialization, configuration, and clock gating for BL808.
The CPUPLL uses the same WAC PLL register layout as AUPLL, located at
CCI_BASE + 0x7D0 with CCI_CPUPLL_* field prefixes.
Config tables provide per-crystal analog parameters and SDMIN values
for the 480 MHz reference frequency. CPUPLL is the default root clock
source in bl808.dtsi at 320 MHz, with BCLK at 80 MHz. Boards can
override up to 480 MHz via DTS overlay.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add Audio PLL initialization, configuration, and clock gating to the
BL808 clock controller. The AUPLL uses the CCI register block at
offset 0x750 with the same WAC PLL layout as WIFIPLL.
Config tables provide per-crystal analog parameters and SDMIN values
targeting 442.368 MHz (48 kHz audio family). BFLB_MUL_CLK scales to
other frequencies such as 451.584 MHz for the 44.1 kHz family.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add support for the TI TMP451 remote and local temperature sensor.
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Kurtis Dinelle <kurtisdinelle@gmail.com>
The pinmux controller for the aesc silicon platform is a simple
controller to mux differnt input outputs to one output option.
Since this is an internal controller, pull, drive strength and slew
rate are not implemented due missing IO pad features.
Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
Add out of band reset gpio pin in host platform.
Toggle this pin when about to reset Wi-Fi firmware from out of band.
Signed-off-by: Fengming Ye <frank.ye@nxp.com>
Add a driver for the WIZnet W6300 stand-alone Ethernet controller
with SPI interface. The driver operates in MACRAW mode using Socket 0
to send and receive raw Ethernet frames via Zephyr's Ethernet L2 layer.
PHY link state is monitored via the W6300 interrupt pin combined with
a periodic polling thread. The SPI protocol uses a 4-byte command
frame (instruction + address high + address low + dummy) for both
read and write operations, as required by the W6300 hardware.
Signed-off-by: Manjae Cho <manjae.cho@samsung.com>
Add initial support for nuvoton numaker m031x SoC series
including basic init and device tree source include.
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
STM32F302xB/C/D/E devices have ADC1 and ADC2 as per RM0365.
Add missing ADC2 node to stm32f302Xc.dtsi only, stm32f302X8.dtsi
is not modified as x6/x8 variants have only ADC1.
Signed-off-by: Surya Prakash T <suryat@aerlync.com>
KSO16 and KSO17 may be used as GPIO function,
so the property can't be claimed "required: true".
Also, add the condition, if kso16/kso17 is used as kbs function,
then switch pin function to output temporarily before pin control
to kbs mode.
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Add nxp,crc devicetree nodes for NXP SoCs that ship the standard
NXP CRC peripheral, and mark the CRC instance as the Zephyr CRC
device on the corresponding boards.
This extends the existing NXP CRC driver coverage without changing
the driver implementation.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Add nxp,lpc-crc devicetree nodes for NXP SoCs that expose
MCUX_HW_IP_DriverType_MCO_CRC in the MCUX SDK, and mark the CRC
instance as the Zephyr CRC device on the corresponding boards.
This extends the existing LPC CRC driver coverage without changing
the driver implementation.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Add SPI driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.
This driver supports:
- Master and Slave operation modes
- Polling, Interrupt, and DMA transfer modes
- Transmit (TX) and Receive (RX) functionality
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Add the `DT_NODELABEL_C_TOKEN` and
`DT_NODELABEL_C_TOKEN_BY_IDX` macros to retrieve
the C symbolic name of a node.
Signed-off-by: James Roy <rruuaanng@outlook.com>
Use the min/max properties instead of an enum for the st,csbound property
in multiple bindings files.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Replace the large enum containing all values from 104 up to 208 with
simpler min/max properties.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Remove the 'andestech,qspi-nor-xip' compatible string and unify both
flash_andes_qspi.c and flash_andes_qspi_xip.c flash drivers use
'andestech,qspi-nor' compatible string.
The driver selection is now handled via Kconfig logic.
CONFIG_FLASH_ANDES_QSPI_XIP is strickly depends on XIP is enabled and
the 'zephyr,flash' chosen node is compatible with 'andestech,qspi-nor'.
Since these two driver variants cannot coexist, the application is
responsible for enabling the appropriate driver Kconfig.
Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>