Commit graph zephyr/dts
Author SHA1 Message Date
Jerome LAMY
cf30f35494 dts: arm: st: stm32mp25*_m33.dtsi: add DCMIPP support
Describe the DCMIPP camera pipeline of the STM32MP25 with its CSI-2
host: registers at 0x48030000, DCMIPP and CSI interrupts, DCMIPP and
CSI2 clocks and resets, the dump, main and auxiliary pipes and a CSI-2
D-PHY input endpoint. The DCMIPP kernel clock is selected by the
Cortex-A35 firmware, so only the DCMIPP and CSI gates are listed. The
node uses the existing st,stm32-dcmipp binding and driver.

Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Jerome LAMY <jerome.lamy@savoirfairelinux.com>
2026-09-28 19:40:17 -04:00
Quy Tran
0932cb68f9 drivers: serial: Add initial serial driver support on RX74x
Add initial support for serial driver with sci_b on FSP

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 19:40:02 -04:00
Quy Tran
4d4bf6fbff drivers: pinctrl: Add pinctrl driver for RX74x series
Add support for pinctrl driver on RX74x MCUs

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 19:40:02 -04:00
Quy Tran
6a56f931dd drivers: gpio: Add GPIO support for RX74x
Add gpio driver support for Renesas RX74x series

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 19:40:02 -04:00
Quy Tran
4ac380ad44 drivers: clock_control: Add support for clock control driver on RX74M
Add clock control driver support on RX74M with FSP

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 19:40:02 -04:00
Quy Tran
b6890a6704 dts: renesas: rx: Add dts property for Renesas RX74 series
Add a common dts for Renesas RX74x series and the dts for
r5k574x mcu
Add bindings for icum and rx system controller

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 19:40:02 -04:00
Duy Nguyen
098d28492f arch: rx: Add new RXv3e core support for RX74 devices
The new RX74x MCU from Renesas is using RXv3e core which have
new ISA, this commit is only aim to add the definition support
for this target.
Adding bindings for rx cpu core version

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-09-28 19:40:02 -04:00
Benjamin Cabé
ffe2a1818d dts: clock: PIC32CK_SG_GC: drop PLL child node compatibles
The pllchild and pll0out compatibles are only declared inside the
child-binding of the PLL binding, so the documentation has no page for
them and the board pages listing them fail to resolve the reference.

Nothing matches on these compatibles: the driver walks the PLL nodes by
label, and child nodes get their properties from the parent's
child-binding. Drop them, as the other clock child nodes already do.

Assisted-by: Claude:opus-5.5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-09-28 18:00:48 -04:00
Axel Le Bourhis
30b9b13255 soc: nxp: mcxw7xx: power off unused SRAM banks at init
MCXW7x keeps every CMC SRAM bank powered in all modes, including banks the
linked image never uses. Add an opt-in feature
(CONFIG_SOC_MCXW7X_SHUTDOWN_UNUSED_RAM) that powers off, in all modes via
the CMC SRAMDIS register, every bank lying entirely above the top of used
RAM (_image_ram_end). Bank geometry comes from a new optional "sram-banks"
property on the nxp,cmc node, so the code is SoC-agnostic and the
VBAT-retained bank is omitted from the list. No-op under the default
arena size (-1, mask 0).

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-09-28 14:32:36 -04:00
Zhaoxiang Jin
a25792634c dts: bindings: opamp: declare class: opamp
Declare the opamp device class on the opamp controller base binding, so
that opamp nodes can be enumerated at build time through
DT_FOREACH_CLASS_STATUS_OKAY(), DT_NUM_CLASS_STATUS_OKAY() and
$(dt_class_enabled,opamp), instead of a hand-maintained compatible list.

One declaration on the base binding covers every opamp binding in the
tree: infineon,autanalog-ctb-opamp, nxp,opamp and nxp,opamp-fast include
opamp-controller.yaml directly, and st,stm32g4-opamp inherits it through
st,stm32-opamp. All four opamp drivers register DEVICE_API(opamp, ...),
so the class name matches a registered device API class.

Nothing is added to DTS files or to zephyr.dts.

Build-tested samples/drivers/opamp/output_measure on
frdm_mcxn947/mcxn947/cpu0 (direct include) and nucleo_g474re (inherited
through st,stm32-opamp); both emit the per-node class macros and
DT_FOREACH_OKAY_CLASS_opamp for the enabled instance.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-28 14:32:29 -04:00
Adam BERLINGER
f8ea28b117 dts: st: n6: Add VBAT and VDDCORE measuerements
Adds VBAT and VDDCORE measurements to DT of STM32N6.

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2026-09-28 14:32:10 -04:00
William Markezana
409d2f3501 dts: riscv: bflb: bl808: add BLE controller node
Add the bflb,bt-hci controller node (disabled by default) and a
bl808_em_32kb.dtsi include that trims 32 KB of WRAM off system RAM for
the BLE Exchange Memory, mirroring the bl60x and bl61x EM includes.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-09-28 14:31:01 -04:00
Minh Hoang
834ecc1f2e dts: arm: renesas: add support for UHC on Renesas RA SoCs
Add device node to support UHC on Renesas RA SoCs

Signed-off-by: Minh Hoang <minh.hoang.wm@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-09-28 14:30:44 -04:00
Minh Hoang
29e37456f2 drivers: usb: uhc: add support for Renesas RA USB host
First commit to support UHC driver for Renesas RA family

Signed-off-by: Minh Hoang <minh.hoang.wm@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-09-28 14:30:44 -04:00
Benjamin Cabé
68ff37fd94 drivers: input: add support for TSM12 capacitive touch sensor
Add a driver for the AD Semiconductor TSM12 12-channel capacitive touch
sensor, which also covers register-compatible parts such as the Si12T
used on the M5Stack StackChan.

Each configured channel reports a key press as soon as any touch level
is detected. The sensor is polled, or read on interrupt when int-gpios
is set and then polled until all channels are released.

Assisted-by: Claude:opus-5.5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-09-28 10:54:23 -04:00
Benjamin Cabé
5e1856ee36 dts: vendor-prefixes: add AD Semiconductor Co., Ltd.
Add vendor prefix for AD Semiconductor Co., Ltd. (adsemi), maker of
the TSM12 capacitive touch sensor.

Assisted-by: Claude:opus-5.5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-09-28 10:54:23 -04:00
Yasushi SHOJI
0972ecb5d9 drivers: ethernet: phy: vsc8541: Use Linux edge-rate properties
The raw microchip,pad-edge-rate property duplicates the Linux devicetree
ABI for the same hardware control.

Replace it with vsc8531,vddmac and vsc8531,edge-slowdown. Convert the
voltage-dependent slowdown percentage to the register setting at compile
time using the datasheet table. Reject unsupported combinations at build
time and leave the pad edge-rate control register untouched when
edge-slowdown is absent.

Document the percentages as typical silicon measurements and add build
coverage for default and explicit settings.

Assisted-by: Codex:GPT-6
Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-09-28 10:54:17 -04:00
Mateo Ivankovic
ce0c7bde4f arm: dts: nxp: fix clock source for enet1g_ptp_clock
The clock source for the `enet1g_ptp_clock` device was incorrectly set
in the device tree file.
This commit updates the clock property for the `enet1g_ptp_clock`
so that its clock root is correctly driven by `IMX_CCM_ENET1G_PLL`.
This fix ensures that the PTP clock operates at the correct frequency
and uses the proper hardware source.

Signed-off-by: Mateo Ivankovic <mateo.ivankovic@inovex.de>
2026-09-28 10:54:00 -04:00
CHEN Xing
3472df0df4 dts: arm: microchip: sam: sama7: sama7d6: Add udphs devices
Add udphsa and udphsb devices for sama7d6

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-09-28 10:53:40 -04:00
Sountharya P
a89685137d dts: clock: PIC32CK_SG_GC: Add clock control driver bindings
Add bindings for dfll, pll, gclk generator, mclk cpu, osc32k, rtc clock
and xosc

Signed-off-by: Sountharya P <Sountharya.P@microchip.com>
2026-09-28 10:53:16 -04:00
JaeHwan Jin
2684bf9eb0 dts: common: wisblock: add sensor slot position includes
Add common DTS includes for WisBlock Sensor Slot positions A-F.
Each maps the slot's signals onto the I/O Slot connector exposed by
the WisBlock Core Module.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
JaeHwan Jin
6db15f0db0 dts: rakwireless: add RAK4630 WisDuo SoM peripheral map
Add dts/vendor/rakwireless/rak4630.dtsi describing which nRF52840
peripherals are exposed through the RAK4630 WisDuo SoM WisConnector
pads. Consumed by the RAK4631 WisBlock Core Module.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
JaeHwan Jin
6e78a9b2dc dt-bindings: pwm: add WisBlock PWM channel map binding
Map WisBlock I/O Slot PWM lines to the underlying SoC PWM controller
channels.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
JaeHwan Jin
80cd917684 dt-bindings: adc: add WisBlock ADC channel map binding
Map WisBlock I/O Slot ADC channels to the underlying SoC ADC
controller and channel indices.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
JaeHwan Jin
bebb9e14d7 dt-bindings: gpio: add WisBlock sensor slot connector map binding
Map WisBlock Sensor Slot signals (positions A-F) to SoC GPIO pins.
WisBlock Sensor Module shields use this binding to reference slot
connector lines independent of the underlying WisBlock Core Module.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
JaeHwan Jin
df05a43d30 dt-bindings: gpio: add WisBlock IO slot connector map binding
Map WisBlock I/O Slot signals to SoC GPIO pins. WisBlock Core Module
boards use this binding to expose the slot connector lines to board
DTS and shields without duplicating the pin assignment per board.

Signed-off-by: JaeHwan Jin <jaehwan.jin@rakwireless.com>
2026-09-28 10:53:10 -04:00
Guillaume Gautier
5637bdf237 dts: arm: st: update rng nist-config
Update or add the NIST configuration for a selection of STM32.
The configuration comes from ST Application Note AN4230, Table 3.
Some series that were using the default configuration C from their RefMan
now uses the NIST compliant one. For some others, the NIST compliant
configuration seems to have changed since last revision, in that case
update the values.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-09-28 09:39:33 -04:00
Robert Robinson
0dc4ab797d dts: arm: nordic: nrf7120(e): Add vbat_monitor node
Add the VBAT sensor node and configure SAADC channel 0 for internal
battery voltage measurement.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-09-28 09:39:27 -04:00
Peter Wang
373c5df35d dts: nxp: mcx: mcxa5x: move fmu out of the peripheral bus range
Commit e9f6701f15 ("dts: nxp: mcx: prepare mcxa flash nodes for
mapped partitions") added an empty ranges; to the fmu flash-controller
node so zephyr,mapped-partition children of flash@0 could translate
their address up to the CPU address space.

fmu sits inside &peripheral (peripheral@50000000), whose own ranges
maps its bus space to 0x50000000. Giving fmu its own ranges makes
EDT's _translate() keep climbing past fmu into that non-identity
mapping, so CONFIG_FLASH_BASE_ADDRESS resolves to 0x50000000 instead
of 0x0 on every frdm_mcxa577 variant, breaking LinkServer flashing.

Dropping ranges from fmu instead would silence the symptom but leaves
fmu without any bus mapping to flash@0, which is not representative:
the flash controller does have memory-mapped access to flash, so an
absent ranges is not the correct way to describe it either.

Move fmu out from under &peripheral into /soc as a direct sibling,
alongside sram and peripheral, matching the placement Nordic uses for
the same situation (flash_controller as a sibling of peripheral@50000000
in nrf5340_cpuapp.dtsi/_ns.dtsi). Once fmu is no longer nested inside
a node with a non-identity ranges, an empty ranges; on fmu is safe:
translation still stops at /soc, which has no ranges of its own, so
CONFIG_FLASH_BASE_ADDRESS keeps resolving to 0x0 while fmu correctly
declares its address-space relationship to flash@0.

Verified with west build -b frdm_mcxa577 and
-b frdm_mcxa577/mcxa577/ns samples/hello_world: CONFIG_FLASH_BASE_ADDRESS
is 0x0 on both variants and zephyr.dts keeps flash-controller@50095000
(secure) / @40095000 (non-secure) as direct children of soc. Also
flashed and ran samples/hello_world on physical frdm_mcxa577 hardware
via the on-board MCU-Link CMSIS-DAP probe: LinkServer auto-detects the
on-chip flash region at 0x0 and programs it there, and the board boots
and prints "Hello World! frdm_mcxa577/mcxa577" over the MCU-Link VCom
UART.

Fixes #119682

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2026-09-28 09:38:40 -04:00
YunHung Hua
6350cafb9e dts: bindings: memc: stm32: explain how to compute refresh-rate
refresh-rate only said that it counts SDRAM clock cycles, so boards
copied values computed for another clock. Add the formula from the
FMC_SDRTR description (RM0090 Rev 22, section 37.7.5; the F7 and H7
reference manuals give the same one), what the SDRAM clock is, and an
example.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: YunHung Hua <oliverhua.us@gmail.com>
2026-09-28 07:38:44 -04:00
Tony Han
d020ec269a dts: arm: microchip: sama7: add MCK clock to the GMAC nodes in dtsi
Add the nodes for MCK clock to the GMAC nodes in sama7d6.dtsi and
sama7g5.dtsi files.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-09-28 07:38:15 -04:00
Jianchao Wang
59ebe133ca dts: arm64: mimx8mp_a53: add pwm device nodes
Added all device nodes for PWM

Signed-off-by: Jianchao Wang <jianchao.wang_1@nxp.com>
2026-09-28 07:37:21 -04:00
Jianchao Wang
a29c52b637 dts: arm64: mimx8mn_a53: add pwm device nodes
Added all device nodes for PWM

Signed-off-by: Jianchao Wang <jianchao.wang_1@nxp.com>
2026-09-28 07:37:21 -04:00
Jianchao Wang
9cd0456ddd dts: arm64: mimx8mm_a53: add pwm device nodes
Added all device nodes for PWM

Signed-off-by: Jianchao Wang <jianchao.wang_1@nxp.com>
2026-09-28 07:37:21 -04:00
Priyanshu Singh
a783c5d8ba drivers: mipi_dbi: stm32_fmc: fix buffer bounds, macro, and update bindings
Recent upstream changes added initial 8-bit Intel 8080 bus support to the
STM32 FMC MIPI-DBI driver, but left several gaps and safety checks:

- In mipi_dbi_stm32_fmc_write_display(), 16-bit mode increments by 2
  bytes without validating whether desc->buf_size is even. If an odd
  buffer size is provided, sys_get_le16() reads 1 byte past the end of
  the buffer. Add an explicit check returning -EINVAL for odd buffers.
- Replace the naked MIPI_DBI_FMC_IS_8BIT macro with a parenthesized
  MIPI_DBI_FMC_ADDR_SHIFT macro using BIT() to prevent
  operator precedence issues or unsigned integer overflow.
- Add a compile-time BUILD_ASSERT in MIPI_DBI_STM32_FMC_INIT verifying
  that the parent memory bus width is strictly 8-bit or 16-bit.
- Update dts/bindings/mipi-dbi/st,stm32-fmc-mipi-dbi.yaml to document
  both 8-bit and 16-bit Intel 8080 operation and explain the physical
  HADDR address shifting rules.

Related to #118104

Signed-off-by: Priyanshu Singh <singhpriyanshu9838@gmail.com>
2026-09-28 07:36:51 -04:00
David Jewsbury
5ff33a9e75 dts: add nRF71 gpio4 pad voltage selection
Allows selection of either 3.3V or 1.8V P4
voltage. If 1v8 is selected and VIOP4 is
driven with 3.3V, the port will be damaged.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-09-28 07:36:47 -04:00
Lasse Fröhner
2e0d3d3b4f dts: st: g4: describe VREFINT on ADC3/4/5
STM32G4 ADC1/3/4/5 can convert VREFINT on IN18; ADC2 cannot. Add
disabled st,stm32-vref nodes next to the SoC files that introduce
those ADC instances. Keep the existing vref label and add vref1 for
consistency with the numbered ADC3/4/5 nodes.

Link: https://github.com/zephyrproject-rtos/zephyr/pull/117114#discussion_r3841545245

Assisted-by: Cursor:grok-4.6
Signed-off-by: Lasse Fröhner <lasse@starcopter.com>
2026-09-28 07:36:03 -04:00
Lasse Fröhner
30ae4e42bc drivers: adc: stm32: calibrate internal ref from VREFINT
When CONFIG_ADC_STM32_VREFINT_CALIBRATE is enabled, measure VREF+ from
VREFINT on each owning ADC child at init and on sequence.calibrate,
cache it SoC-wide, and return it from adc_ref_get() / adc_ref_internal().
Parent DT vref-mv remains the fallback.

Look up st,stm32-vref io-channels against ADC child nodes, including
disabled vref nodes. Read the cache without taking stm32_adc_vref_lock
in the stream ISR.

Link: https://github.com/zephyrproject-rtos/zephyr/issues/113971

Assisted-by: Cursor:grok-4.6
Signed-off-by: Lasse Fröhner <lasse@starcopter.com>
2026-09-28 07:36:03 -04:00
Benjamin Cabé
137a9d1d76 drivers: sensor: bma4xx: enable the INT1 pad for streaming
The INT1 pad is left disabled by the soft reset at init, so FIFO
interrupts never reach the host and streaming never completes. Enable
it as a push-pull output whose active level follows the int1-gpios
polarity.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
2026-09-28 07:35:52 -04:00
Quy Tran
853fff5d2c dts: arm: renesas: Add ADC support on RA8x2
Add adc node support on RA8x2 dtsi

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 07:35:18 -04:00
Quy Tran
561686fc3a drivers: adc: Support ADC driver for Renesas RA with adc_b
Add support adc driver on Renesas RA (ra8x2) with r_adc_b

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-09-28 07:35:18 -04:00
Khoa Nguyen
649b271c68 dts: arm: renesas: ra: Update ospi dts information
Update ospi dts information for Renesas RA8x1 and RA8x2 SoCs

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-28 07:35:02 -04:00
Khoa Nguyen
c22d770a35 drivers: flash: Refactor Renesas OSPI_B driver
Refactor Renesas OSPI_B driver to support multiple 8D-8D-8D,
1S-4S-4S, 4S-4S-4S
SPI NOR flash devices:
- Update init flow to get command value from the SFDP tables
- Update API function to support multiple protocol modes

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-28 07:35:02 -04:00
Changyeon Jo
41c86426b8 drivers: video: add a native_sim host FIFO video source
Add a video capture driver for native_sim that reads fixed size raw
frames from a named pipe on the host and exposes them through the video
API as an ordinary zephyr,camera device. A host process such as ffmpeg
feeds the pipe from a webcam, a video file or a test pattern, which
lets video applications run on native_sim without camera hardware.

The driver is split the usual way for native_sim. The bottom half is
built in the native simulator runner context and is the only part
touching the host C library: it creates the FIFO with mkfifo() when
needed, refuses a path that exists but is not a FIFO, and opens it
O_RDONLY | O_NONBLOCK so that no read() can ever stall the simulation.

A dedicated thread polls the FIFO and reads straight into the buffer at
the head of the input queue. The buffer is only dequeued once exactly
width * height * bpp bytes have been read, so stop and flush never lose
it. While the application holds every buffer the driver stops reading
and the host writer blocks on the full pipe.

A writer disconnecting mid-frame makes read() return 0. The partial
frame is then discarded while the descriptor stays open, so the next
writer to attach is guaranteed to be frame aligned.

The application selects the format with video_set_format(), as with the
other video drivers. get_caps() lists the formats of video_sw_generator
that ffmpeg can write (RGB565, RGB24, BGR24, XRGB32, BGRX32, YUYV and
GREY), any size up to 1920x1080, with an even width for YUYV, and the
default is 320x240 RGB565. The host writer is responsible for scaling
and pixel format conversion, so it must write frames of the selected
format. A buffer queued before a larger format was selected is returned
unfilled rather than overrun.

The FIFO path comes from the fifo-path property, or defaults to
/tmp/zephyr-<device>-<pid>.fifo so that several simulator instances do
not collide. It can be overridden at runtime with the --<device>=<path>
command line option. A FIFO created by the driver is removed when the
simulator exits.

Frame intervals and controls are not implemented yet, so the driver is
marked experimental for now.

Assisted-by: Antigravity:gemini-3-pro
Signed-off-by: Changyeon Jo <changyeon@google.com>
2026-09-27 08:53:49 -04:00
Erwin Herrsche
1e1f4a1432 drivers: auxdisplay: hit_hd44780: Added support for brightness
Replaced the unused brightness-gpios with brightness-dac to support the
contrast voltage. The driver is updated to support brightness_set and
brightness_get in percent (0-100).

Signed-off-by: Erwin Herrsche <erwin@herrsche.ch>
2026-09-27 08:53:31 -04:00
Marek Czerski
6f1ab6c070 input: input_double_tap: add optional single tap codes
An application that needs both a single and a double tap from the same
button currently has to use the raw key events to implement that in the
application code. The double tap device does not consume its input, so
a double tap still delivers both of its raw presses, and the
application has to defer acting on a raw press until the double tap
delay has expired, duplicating logic the driver already has.

Add a single-tap-codes property, similar to the optional short-codes
property of input-longpress. When set, a key event is emitted once the
double tap delay expires without a second press.
The event is only emitted if the key has been released before the delay
expired, so that holding a key down does not report a single tap.

Behavior is unchanged for nodes that do not set the new property.

Tested with tests/subsys/input/double_tap on native_sim, and on
nrf52840 hardware with a four button gpio-keys setup feeding both
input-longpress and input-double-tap from the same buttons.

Signed-off-by: Marek Czerski <ma.czerski@gmail.com>
2026-09-26 10:35:14 -05:00
Zhaoxiang Jin
f4f402474f dts: nxp: mcxl: add AON LPADC on frdm_mcxl255
Add the AON LPADC node to the MCXL255 CM33 devicetree
and enable it on frdm_mcxl255 CPU0 with its pinmux.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-26 10:23:39 -05:00
Zhaoxiang Jin
aab4614fc7 drivers: adc: add NXP AON_LPADC driver
Add an ADC driver for the NXP Always-On Low-Power ADC (AON_LPADC)
found on the MCXL series. Multi-channel sequences are converted in
hardware: each selected channel maps to one conversion command, the
commands are chained through CMDH[NEXT], and a single software
trigger walks the chain, with the FIFO watermark interrupt draining
results in channel order.

Logical channels are therefore command slots, and how many of them an
instance reserves is derived from the channel nodes declared for it in
devicetree, so slots the application does not describe cost no RAM.
An instance without any channel node keeps the full hardware capacity
available for runtime adc_channel_setup() calls, and declaring a
channel identifier beyond the implemented commands is a build error.

The converter is fixed at 12-bit single-ended resolution and stores
results left-justified in RESFIFO[D]; the driver right-justifies them
so raw values match the 12-bit resolution reported to the ADC API.
Offset calibration is mandatory after every converter reset before
the first conversion, so init runs it with the maximum calibration
sample time, and a sequence can request it again through the
calibrate flag.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-26 10:23:39 -05:00
Sergei Ovchinnikov
2a3558986e drivers: otp: add OTP driver for nPM10 Series PMICs
Nordic's nPM10 Series PMICs feature one-time-programmable UICR to configure
some of the control registers' reset values changing PMIC's startup
behaviour.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-09-26 08:40:43 +02:00
David Jewsbury
01245f16e9 dts: vendor: nordic: nrf7120: define the MSPI elastic buffer
Add support for hspadctrl and nrf7120's elastic buffer.
This is the recommended setting for the EB for all
scenarios although this won't cover if the CPOL=1
and your delay is less than half SCK period. Guidance
on what to set in this scenario will come later.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-09-26 08:40:25 +02:00