Commit graph

136,983 commits

Author SHA1 Message Date
Kai Cheng
74e4b632ac Bluetooth: Classic: sync local name to BR/EDR on settings commit
When CONFIG_BT_DEVICE_NAME_DYNAMIC is enabled, write the device name
(restored from flash or the compile-time default) to the BR/EDR
controller during commit_settings().

Replace the bt_set_name() call with a direct strncpy into bt_dev.name
to avoid an unnecessary flash write, then explicitly push the name to
the BR/EDR controller via bt_br_write_local_name().

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Kai Cheng
f5e1c8ea54 Bluetooth: Classic: move bt local name to bt_br_write_local_name
Extract the HCI Write Local Name command into a reusable
bt_br_write_local_name() helper and use it in bt_br_init().

When CONFIG_BT_DEVICE_NAME_DYNAMIC and CONFIG_BT_SETTINGS are
both enabled, skip writing the compile-time default here since
the settings commit callback will push the correct name (either
restored from flash or the default) to the controller.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Niu Zhihong
52f044daee boards: Add xunlong orangepi-5-ultra-rk3588
Added Xunlong orangepi-5-ultra-rk3588 support

Signed-off-by: Niu Zhihong <zhihong@nzhnb.com>
2026-03-18 08:35:00 -05:00
Alexis Czezar Torreno
d465eac074 samples: drivers: stepper: add TMCM-3216 sample
Add sample application demonstrating TMCM-3216 stepper control.
This tests all the functions of both stepper driver and controller.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
2026-03-18 18:23:42 +09:00
Jiafei Pan
8c0661836c samples: blinky_pwm: add frdm_imx93 a55 support
Add frdm_imx93 A55 platform support for this sample.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 18:23:31 +09:00
Jiafei Pan
6841eb7d24 boards: frdm_imx93: add PWM support for A55
Use TPM3 as PWM, enable it on frdm_imx93 A55 platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 18:23:31 +09:00
Jiafei Pan
cd10021fa1 samples: blinky_pwm: add imx93_evk a55 support
Add imx93_evk A55 platform support for this sample.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 18:23:31 +09:00
Jiafei Pan
134a5a8f9f boards: imx93_evk: add PWM support for A55
Use TPM3 as PWM, enable it on imx93_evk A55 platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Signed-off-by: Joe Zhou <zhongcai.zhou@nxp.com>
2026-03-18 18:23:31 +09:00
Jiafei Pan
f64184c14e dts: arm64: mimx93_a55: add pwm device nodes
Added all device nodes for TPM to be used as PWM, as there are already
some device nodes for TPM which are used as counter, so using different
name for TPM which are used as PWM.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 18:23:31 +09:00
Lucien Zhao
14c4fcfb6e tests: flash: enable flash cases on frdm-imxrt1186
- Enable common/erase_blocks/interface_test/negative_tests
  cases on frdm-imxrt1186.
- Test these cases passed on frdm-imxrt1186 cm33/cm7 cores

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:23:01 +09:00
Lucien Zhao
c97196108f tests: negative_tests: support code to support frdm-imxrt1186
- Add support for i.MX RT118x in flash driver negative tests by
  defining TEST_FLASH_START and TEST_FLASH_SIZE macros.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:23:01 +09:00
Lucien Zhao
41534a3a4e boards: frdm_imxrt1186: enable flash function
- configure flexspi2 pinmux
- enable flexspi2 status as ok
- correct jedec id value
- test flash_shell case passed on cm33/cm7 cores

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:23:01 +09:00
Lucien Zhao
a56964ddf1 soc: nxp: imxrt118x: Add FLEXSPI2 clock configuration
- Configure FLEXSPI2 root clock using SYS_PLL3_PFD2 with divider 2
  when FLEXSPI2 is enabled and not used for XIP flash

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:23:01 +09:00
Yuzhuo Liu
5a02481295 tests: drivers: counter: add Realtek Bee series support
Enable the counter_basic_api test for Realtek Bee series SoCs.
Add configurations for the following boards:
- rtl87x2g_evb_a_rtl8762gku
- rtl8752h_evb_rtl8752hjl

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-18 18:22:17 +09:00
Yuzhuo Liu
66feaaf25f drivers: counter: add Realtek Bee series driver
Add counter timer driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.

This driver is based on the hardware timer and supports:
- Relative alarm configuration
- Top value configuration

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-18 18:22:17 +09:00
Balaji Vasudevan
50c2d3bee3 net: phy: add KSZ9131 RGMII delay configuration support
Add the microchip,rgmii-delay binding for KSZ9131 PHYs and use it
on the SAMA7G54-EK board DTS.

GMAC0 on SAMA7G54-EK is connected to a KSZ9131 PHY over RGMII and
requires internal delay configuration equivalent to rgmii-id for
reliable gigabit operation.

Add KSZ9131 RGMII DLL delay configuration using Clause-22 indirect
MMD access.

The KSZ9131 PHY uses MMD device 2, registers 76 and 77, to control
RXC and TXC DLL delay bypass. Configure these registers according
to the requested RGMII delay mode:
- none
- id
- rxid
- txid

Delay setting would be skipped for variants that do not support RGMII
like KSZ9131MNX

Signed-off-by: Balaji Vasudevan <balaji.vasudevan@microchip.com>
2026-03-18 18:21:02 +09:00
Lucien Zhao
ba77cd548f soc: imxrt118x: align TRDC init with MCUX SDK
BOARD_GrantTRDCFullPermissions() flow:
- Request TRDC ownership via ELE for AON/MEGA/WAKEUP
- Apply SDK-aligned DAC (including TRDC3 MDAC assignments)
- Grant full access control settings for TRDC1/TRDC2

Refactor the implementation out of soc.c into a dedicated trdc_setup.c
file to keep soc.c focused on early init sequencing, and add it to the
SoC CMakeLists.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:20:43 +09:00
Kevin Wang
5446454f4a samples: watchdog: add adp_xc7k board configs and ATCWDT200 window
1. Enable XIP by default since the reset vector is located in flash,
   and disable dcache to avoid losing cached data after reset.

2. Also define WDT_MAX_WINDOW for andestech_atcwdt200.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2026-03-18 18:20:10 +09:00
Kevin Wang
728c89f58d tests: drivers: watchdog: wdt_basic_api: add adp_xc7k board overlay & conf
1. Setting aliases name(watchdog0) for adp_xc7k's watchdog
2. Default runs in XIP mode because the default reset_vector is
   located in flash.
3. Also disable dcache to avoid losing cached data after reset.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2026-03-18 18:20:10 +09:00
Kevin Wang
c419bf0e1b drivers: watchdog: atcwdt200: add support for CONFIG_WDT_DISABLE_AT_BOOT
Add support for the CONFIG_WDT_DISABLE_AT_BOOT Kconfig option.
If the watchdog timer is enabled by default on the target board,
enabling this option will explicitly disable the watchdog during
the driver initialization phase.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2026-03-18 18:20:10 +09:00
Lucien Zhao
9429aa4e60 soc: imxrt118x: raise VDD_SOC for cm7 core
- Increase default DCDC/core voltage to 1.125 V for improved margin.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:19:48 +09:00
Lucien Zhao
b5800c5357 soc: imxrt118x: harden CM7 kick-off sequence
- Gate off M7 clock before clearing M7_CFG[WAIT] (CPUWAIT) and gate
  it back on after the deassert. (This is the process requirement
  in RT118X RM)

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 18:19:48 +09:00
Vincent Tardy
3a9637ea27 drivers: ieee802154: stm32wba: handle rx failure notification
Rx packet notified from low layer with an
error status are skipped and the rx failure
is notified to upper layer through
the IEEE802154_EVENT_RX_FAILED event

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-18 18:19:26 +09:00
Vincent Tardy
0f79d7a14a boards: st: nucleo_wba55cg: Add HSE Trimming based on OTP
Add HSE Trimming operation through the board_late_init_hook()
process.
HSE Tuning value is getting from OTP.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-18 16:16:43 +09:00
Vincent Tardy
5503261fdb boards: st: nucleo_wba65ri: Add HSE Trimming based on OTP
Add HSE Trimming operation through the board_late_init_hook()
process.
HSE Tuning value is getting from OTP.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-18 16:16:43 +09:00
Vincent Tardy
b95c4790de drivers: clock_control: stm32wba : HSE Trimming setting based on DT
Set HSE Trimming value in case of HSE Trimming is
present in the HSE node

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-18 16:16:43 +09:00
Vincent Tardy
56326aa113 dts: arm: st: wba: add HSE Trimming in clk hse binding
Add HSE trimming in the clock hse binding.
Add HSE Trimming in clk_hse node.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-18 16:16:43 +09:00
Albort Xue
b4262b0edf MAINTAINERS: Add maintainer of WUC
Added maintainer of wuc(wakuep controller) driver.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-18 16:15:31 +09:00
Jiafei Pan
8eb7f0a05f boards: frdm_imx91: add GPIO user button support
Add user button K2 support on the frdm_imx91 board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 16:15:10 +09:00
Jiafei Pan
8039892f98 boards: frdm_imx91: add flexcan support
Enable flexcan support for the board frdm_imx91.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 16:15:10 +09:00
Jiafei Pan
364204488d dts: arm64: mimx9131: add flexcan device nodes
Add device nodes for flexcan.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 16:15:10 +09:00
Jiafei Pan
28a3ae754f west.yml: update hal_nxp revision
Update hal_nxp revision to include related update for flexcan support
on i.MX 91 platform..

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 16:15:10 +09:00
Jérôme Pouiller
9a55bfe4f7 boards: silabs: siwx91x: Reference the NWP firmware
SiWx91x includes a Network Co-Processor (NWP). The firmware of the NWP is
tightly coupled to the version of the WiseConnect SDK. Until now, the user
had to retrieve the associated firmware manually (with a risk of taking an
outdated version).

Until now, the user had to retrieve the NWP firmware manually. It was
painful and error prone. We now provide the NWP firmware as a blob and
describe how to flash it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-18 14:15:34 +09:00
Jérôme Pouiller
ab7a63dbb8 boards: silabs: siwx91x: Factorize boards definitions
siwx917_rb4338a and siwx917_rb4342a are very similar. Let's factorize the
device trees of these boards.

More factorization (mainly about documentation) could be applied in the
future.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-18 14:15:34 +09:00
Jérôme Pouiller
c66d1f6ac0 boards: silabs: siwx91x: Align ADC pinout
Commit 8e2326e43 ("boards: silabs: siwx91x: add ADC configuration for
siwx917 boards") changed the pin used for ADC on brd4342 but not on
brd4338. Yet, brd4338 has the same schematic. So, align the pinout of the
two boards.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-18 14:15:34 +09:00
Felix Wang
26b2d30fb2 tests: drivers: pwm: Enable test for mimxrt1170_evk_mimxrt1176_cm4
Add board overlay file and conf file.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-03-18 12:47:33 +09:00
Felix Wang
d1e8dca27c drivers: pwm: Fix capture support bug
Refactor the PWM capture interrupt handler to properly support all
three capture channels (A, B, and X).

Clear capture FIFOs by reading CVAL registers during enable_capture

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-03-18 12:47:33 +09:00
Felix Wang
1b3c4aef72 drivers: pwm: mcux: Guard input filter functions with feature check
Add feature check to ensure these functions are only called when the
hardware supports input filter capture registers.

Update device tree binding documentation to clarify that the
input-filter-count and input-filter-period properties only take
effect when the capture input filter register is available.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-03-18 12:47:33 +09:00
Jiafei Pan
4acd7b9848 boards: imx8mn_evk: enable watchdog by default
Add watchdog support for the imx8mn_evk board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
17f0c9aec4 dts: arm64: mimx8mn: add watchdog device node
Add watchdog device node in SoC dts.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
35882456da boards: imx8mm_evk: enable watchdog by default
Add watchdog support for the imx8mm_evk board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
877aa25182 dts: arm64: mimx8mm: add watchdog device node
Add watchdog device node in SoC dts.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
017cbc5fe0 boards: imx8mp_evk: enable watchdog by default
Add watchdog support for the imx8mp_evk board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
d6c5bd8d29 dts: arm64: mimx8mp: add watchdog device node
Add watchdog device node in SoC dts.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Jiafei Pan
b99c17993e drivers: watchdog: imx_wdog: add MMIO mapping support
Enable MMIO mapping support for the driver in order to enable
Cortex-A Core support

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 12:47:05 +09:00
Andrej Butok
34cc09c699 dts: nxp: mcx: delete "nxp,cmc-reset-cause" compatible
- Deletes virtual "nxp,cmc-reset-cause" compatible,
  as it is covered by existing "nxp,cmc".
- Fixes the issue discovered during discussion in
  https://github.com/zephyrproject-rtos/zephyr/issues/104464
  #issuecomment-3957779329

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-03-18 12:45:54 +09:00
Andrej Butok
52948667f9 drivers: hwinfo: nxp: fix CMC hwinfo_get_reset_cause
Fixes CMC module variant (mcxw7x) which does not have
CDOG and JTAG source of reset.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-03-18 12:45:54 +09:00
Petr Buchta
887474be01 boards: nxp: frdm_mcxa577: Fix MCUboot header size
The default value 0x200 wasn't compatible with IVT alignment which  was
set to 0x400 due to large number of ISR.

Signed-off-by: Petr Buchta <petr.buchta@nxp.com>
2026-03-18 12:45:32 +09:00
Jackson Farley
7d809cb73a samples: rtc: add overlays for MSPM0
Added overlays for MSPM0 boards to have appropriate aliasing for RTC
examples

Signed-off-by: Jackson Farley <j-farley@ti.com>
2026-03-18 12:45:11 +09:00
Jackson Farley
e1cb120eb0 rtc: mspm0: updated devicetree for mspm0gx51x and lx22x
updated the devicetere for mspm0x515 and lx22x to mention the rtc-x
property which identifies it as the RTC_A or RTC_B variant.

Signed-off-by: Jackson Farley <j-farley@ti.com>
2026-03-18 12:45:11 +09:00