Commit graph

136,983 commits

Author SHA1 Message Date
Biwen Li
1619084047 boards: nxp: imx943_evk: support spsdk runner on MCUs
Support spsdk runner on MCUs(m33, m7_0, m7_1)

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2026-03-17 18:26:41 -04:00
Jiafei Pan
25b19e1cbb boards: imx943_evk: add spsdk runner support on A55
Added spsdk runner support on A55 for flashing.

Update revision of hal_nxp to include boot firmware blob.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-17 18:26:41 -04:00
Jiafei Pan
836c83b731 boards: nxp: add common Kconfig for DDR version
Some i.MX EVK boards have both LPDDR4 and LPDDR5 variant, define
common Kconfig to for LPDDR4 and LPDDR5, it can be used to specify
which board of DDR variant is used and select related DDR boot
firmware accordingly, for example it could be used by SPSDK runner
to select DDR boot firmware to build flash image.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-17 18:26:41 -04:00
Etienne Carriere
88f9ade8ed drivers: adc: stm32wb0: use LL_GetPackageType()
Use LL_GetPackageType() HAL function since it is fixed in WB0x HAL
v1.3.0.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:26:31 -04:00
Etienne Carriere
ae3514034b drivers: rtc: stm32: WB0x HAL 1.3.0 defines LL_RCC_EnableRTC()
Allow STM32 RTC driver to call LL_RCC_EnableRTC() for STM32WB0x series
now that the function is defined in WB0x HAL v1.3.0

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:26:31 -04:00
Ali Hozhabri
fec68bf0f3 drivers: bluetooth: hci: Provide support for CubeFW v1.4.0
Provide necessary changes to support CubeFW v1.4.0.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-03-17 18:26:31 -04:00
Etienne Carriere
1cef3cf6d4 manifest: Bump STM32WB0 HAL to version v1.4.0
Bump STM32WB0 HAL to version v1.4.0.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-17 18:26:31 -04:00
Qiang Zhang
adb9d3ca19 boards: nxp/frdm_mcxn947: add TSI support
Enable Touch Sensing Input (TSI) peripheral support for the
FRDM-MCXN947 board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-03-17 18:26:23 -04:00
Qiang Zhang
9bbd1a1827 dts: bindings: input: add device tree binding for NXP TSI input
Add device tree binding for the NXP TSI (Touch Sensing Input)
peripheral. The binding supports configurable channel selection,
touch/release thresholds, scan periods, and input event code mapping.

Also add TSI0 device node to the MCXN94x common device tree include
file.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-03-17 18:26:23 -04:00
Qiang Zhang
adb4e00866 drivers: input: add NXP MCUX TSI input driver
Add input drive TSI (Touch Sensing Input) peripheral.

The driver uses a delayed work queue to periodically scan enabled
channels and reports touch/release events through the input API.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-03-17 18:26:23 -04:00
Qiang Zhang
47c8e6b53e clock: clock_control: mcux_syscon: add support for TSI clock
Add clock control support for the Touch Sensing Input (TSI) peripheral.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-03-17 18:26:23 -04:00
Qiang Zhang
77b415e1eb hal_nxp: mcux: add TSI driver component to build system
Add the TSI v6 driver component (driver.tsi_v6) to the MCUX SDK build
system when CONFIG_INPUT_MCUX_TSI is enabled.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-03-17 18:26:23 -04:00
Albort Xue
53bf327743 drivers: regulator: nxp_vref: Format vref implementation.
Format current implementation.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-17 18:26:11 -04:00
Albort Xue
8cd47a9dba drivers: regulator: nxp_vref: Add clock configuration and enable
Add explicit clock configuration and enable calls during driver
initialization.

Note: -ENOSYS is temporarily ignored as not all clock control
drivers currently implement the configure API. This handling
should be removed once all clock drivers support configure.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-17 18:26:11 -04:00
Kate Wang
dce7c97bf2 boards: shields: rk055hdmipi4ma0: refactor LCDIF dts configuration
1. Update the RK055HDMIPI4MA0 shield overlay, use controller with
zephyr_lcdif label as zephyr display driver. This allows the shield
to work with application chosen display controller. For example
mimxrt1176 can use either ELCDIF or LCDIFV2 to drive the LCD panel.
2. Move board-specific properties to board overlay.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:26:04 -04:00
Kate Wang
2c772f05f3 boards: mimxrt1170_evk: add LCDIFV2 pinctrl configuration
Add pinctrl configuration for LCDIFV2 controller to the mimxrt1170_evk
board. This enables the board to use either LCDIF or LCDIFV2 as the
display controller by changing the zephyr_lcdif chosen node.

Add comment to clarify that users can switch between LCDIF and
LCDIFV2 controllers by updating the chosen node assignment.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:26:04 -04:00
Kate Wang
d70c6ca75c soc: nxp: imxrt11xx: add LCDIFV2 clock and device tree support
Add clock initialization and device tree node for the LCDIFV2 display
controller on i.MX RT11xx SoCs.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:26:04 -04:00
Kate Wang
97773925f1 drivers: display: introduce NXP MCUX LCDIFV2 driver
Add display driver for NXP i.MX LCDIFV2 controller.

The driver supports:
- RGB565, RGB888, and ARGB8888 pixel formats
- Configurable framebuffer allocation (0-2 buffers)
- Partial display updates when driver framebuffers are enabled
- Display blanking control
- Backlight GPIO control
- Pinctrl integration
- Cache coherency support via MCUX cache API

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:26:04 -04:00
Chaitanya Tata
a6ddb7b038 manifest: hostap: Update with fix for unused-function warning
Update hostap with a trivial fix for an unused-function warning.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-03-18 07:25:48 +09:00
Fabio Baltieri
c0c1b9010c soc: realtek: select HAS_PM for RTS5912
Select HAS_PM for RTS5912, this SoC supports PM and there's some
"default y" entries for it, resulting in a combination where PM is
selected and cannot be unselected.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-03-17 18:25:46 -04:00
Lucien Zhao
2d30189738 tests: drivers: mbox: Add support for frdm_imxrt1186 board
Add FRDM-IMXRT1186 board support to the mbox_data driver test,
enabling dual-core (CM33/CM7) mailbox communication testing.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-17 18:25:39 -04:00
Lucien Zhao
fd2e82e7a8 samples: add mu cases for frdm_imxrt1186
adds support for these multicore samples:
- samples/drivers/mbox
- samples/drivers/mbox_data
- samples/subsys/ipc/ipc_service/static_vrings
- samples/subsys/ipc/openamp

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-17 18:25:39 -04:00
Lucien Zhao
e96891bd3d boards: frdm_imxrt1186: add MU support
Enable Messaging Unit (MU) support for FRDM-IMXRT1186
board to allow inter-core communication between CM7 and CM33.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-17 18:25:39 -04:00
Fabio Baltieri
86cb8abea8 drivers: i2c: rts5912: set pin as open drain in i2c_rts5912_recover_bus
The i2c_rts5912_recover_bus kicks in after an i2c transfer error to
recover the bus and uses the i2c pins in gpio mode. This MCU allows
using pins in a 3.3V domain at 1.8V by setting compatible input
thresholds, the problem though is that then if the pin is set to
push-pull output it's going to drive back up to 3.3V.

Avoid that by setting the pin as open drain before setting it as output.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-03-17 18:25:29 -04:00
Pavithra CP
22f53a6bb1 dts: bindings: pwm: add generic channels property
Adds a generic 'channels' property to the base PWM controller
binding. This allows generic subsystems to dynamically query the
number of supported channels at compile time via devicetree macros,
removing the need for hardcoded channel limits.

This also removes redundant 'channels' type and description definitions
from specific device bindings, migrating them to inherit from the base.

Signed-off-by: Pavithra CP <cppavithra05@gmail.com>
2026-03-17 18:25:01 -04:00
Jamie McCrae
407bb45485 kconfig: Un-deprecate fixed-partitions support
To allow for more time to adapt, remove deprecating this Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
1ba4f05443 doc: release: release_notes: 4.4: Add note on mapped-partition
Adds a note on this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
34809bfc54 doc: release: migration_guide: 4.4: Update note on NVM change
Updates the note on fixed-partition deprecation

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
1d32ca8c62 kconfig: Change invalid flash code partition to fixed partitions
Changes the recently added
``CONFIG_FLASH_CODE_PARTITION_ADDRESS_INVALID`` Kconfig to
``CONFIG_FLASH_CODE_PARTITION_USING_FIXED_PARTITIONS`` which
indicates when a ``zephyr,code-partition`` chosen node has not
been updated to use the ``zephyr,mapped-partition`` binding.
This new binding substantially improves ease of build system and
partition library code as it has been designed specifically for
memory-mapped devices rather than using the Linux kernel's
``fixed-partitions`` binding, which was designed around devices
that are not memory mapped

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
f22592cbc5 tree: Replace FIXED_PARTITION_* macro usage with PARTITION_*
Replaces usage of these deprecated macros with ones that support
fixed and mapped partition compatibles. Also includes an update to
hal_espressif which also (rightly or wrongly) has zephyr specific
code in it

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
61b7c0049c include: storage: flash_map: Remove ranges for fixed-partitions
Removes handling ranges for fixed-partitions as this has now
moved over to the zephyr.mapped-partition binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
3b3697732a dts: Remove ranges properties
This change is being reverted as devices should be updated to use
the new zephyr,mapped-partitions binding instead in which the
ranges property should be used

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
8116b005fd dts: nordic: nrf5340: Update to use zephyr,mapped-partitions
Updates the dts nodes to move the flash devices to the top level
soc node and switches partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
00110538b1 dts: nordic: nrf52840dk: Update to use zephyr,mapped-partitions
Updates the dts nodes to move the flash0 device to the top level
soc node and switches partitions to use the new
zephyr,mapped-partition compatible. Also includes an MCUboot
update to update to the new binding:

west.yml: MCUboot synchronization from upstream

Update Zephyr fork of MCUboot to revision:
  9eac8cb5f4fedb3500986c5877277ef80606c4b0

Brings following Zephyr relevant fixes:

  - 2750a58c boot: zephyr: Remove invalid RISCV copying swap image
    to RAM code
  - 1d627c05 boot: bootutil: Include ih_protect_tlv_size in size
    validation
  - a4b43f26 boot: zephyr: cmake: handle devicetree compatible
    properties as lists
  - 15da362b boot: zephyr: Switch to partition macros without
    FIXED_ prefix
  - 302563c6 boot: zephyr: boards: Update nrf52840-board overlay
    bindings
  - ab12e5a0 boot: zephyr: use DT_REG_*() macros
  - fd6b7c9d boot: zephyr: remove forced sector max
  - f84b9d3f boot: zephyr: call LOG_PANIC before jumping to app
    to flush in flight logs

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
1b4d81cbbc drivers: disk: flashdisk: Support zephyr,mapped-partitions
Updates this to support using this new binding whilst retaining
support for fixed-partitions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
44b2f4c101 tests: drivers: flash_simulator: Support zephyr,mapped-partitions
Updates this to support using this new binding whilst retaining
support for fixed-partitions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
c086f4daa2 tests: drivers: flash: Update to support zephyr,mapped-partitions
Updates these to support using this new binding whilst retaining
support for fixed-partitions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
0b6b5bfe34 secure_storage: kconfig: Add support for zephyr,mapped-partition
Adds support for this binding to the Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
872905f2f3 mgmt: mcumgr: grp: img_mgmt: Add support for zephyr,mapped-partition
Prevents checking if the flash offset Kconfig is defined

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
4b24aeec22 dfu: img_util: flash_img: Add support for zephyr,mapped-partition
Allows using this system with zephyr,mapped-partition bindings

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
60285448ed tests: lib: devicetree: api: Add zephyr,mapped-partition tests
Adds tests for this binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
a28e2864f4 arch: arm: cortex_m: linker: Add support for zephyr,mapped-partition
Adds support for using this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
f8f83289c0 storage: Add support for zephyr,mapped-partition
Adds support for this new binding with new macros, also introduces
a new PARTITION_* macro scheme which allows for using either
storage method without needing to pick one or the other, and
deprecates the previous FIXED_PARTITION_* macros

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
ba68dd026f scripts: dts: gen_defines: Add support for zephyr,mapped-partitions
Adds support for outputting partition information on this new
compatible, to match fixed-partitions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
031ffadedd dts: bindings: Add zephyr,mapped-partition binding
Adds a binding which is used to specify memory mapped NVM
partitions, this offers much simpler understanding than the
existing fixed-partitions compatible and vastly simplifies build
system/linker logic, and also allows for multiple nested layers of
partitions without needing macros updated to parse through each
layer to find the nodes to work out the offsets to add

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
20fda0cba9 boards: holyiot: yj16019: Remove wrong include from dts file
Removes wrongly including an nRF52840 partition file from an
nRF52832 board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jiafei Pan
38cba7e933 boards: imx95_evk: enable watchdog for A55
Enable watchdog on the board imx95_evk for A55 platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-17 18:24:39 -04:00
Jiafei Pan
5f191792b5 dts: mimx95_a55: add watchdog device nodes
Add device nodes for watchdog for i.MX 95 A55.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-17 18:24:39 -04:00
Tharaka Jayasena
f6141e5ccf doc: kernel: fix incorrect Doxygen @retval/@return usage
Fix several incorrect uses of the Doxygen `@retval` and @return command in
kernel sources.

- Convert @return to structured @retval where functions return
  discrete values.
- Replace incorrect @retval usage with @return for non-discrete
  return types.

Signed-off-by: Tharaka Jayasena <9dmpires2k17.tuj@gmail.com>
2026-03-17 18:24:33 -04:00
Felix van Beusekom
339b22dd4f drivers: sensor: lis2dw12: remove unused variable
The variable lis2dw12 is not used inside this function

Signed-off-by: Felix van Beusekom <felixvanbeusekom@live.nl>
2026-03-17 18:24:24 -04:00