Commit graph

136,983 commits

Author SHA1 Message Date
Trond F. Christiansen
049d368524 sensor: bmm350: Fix I2C register write to use single transaction
The bmm350_prep_reg_write_rtio_async() function was incorrectly using two
separate SQEs for register writes, creating two distinct I2C transactions:
Before: [START][ADDR+W][REG][RESTART] + [START][ADDR+W][DATA][STOP]

Change to use a single SQE for the entire write:
After: [START][ADDR+W][REG][DATA][STOP]

Signed-off-by: Trond F. Christiansen <trond.christiansen@nordicsemi.no>
2025-12-15 17:09:32 +00:00
Xavier Razavet
2264f9901c soc: nxp: MCXW7x configuration updated for CSL
The default MCXW7x platform's clock uncertainty in microseconds for
Coordinated Sampled Listening (CSL) timing synchronization in
OpenThread shall be set to 20.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Xavier Razavet
aef5728e57 drivers: ieee802154: mcxw ieee802154 driver updated
To support the SSED attachment, the IEEE802154_MCXW_CSL_ACCURACY
default value shall be 50.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Xavier Razavet
f6b3101db8 dts: arm: nxp: MCXW72 corrected on the lptmr clock frequency
The lptmr clock frequency was wrong and equal to 32000.
The clock frequency is 32.768KHz (32768).

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Xavier Razavet
536c937162 samples: openthread: shell: .conf files updated
frdm_mcxw71.conf: LOGs removed for RAM size optimization.
prj-ot-host.conf: LOGs removed because already in prj.conf.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Xavier Razavet
91079cf825 drivers: ieee802154: SSED attachment management
Few functions have been corrected to the SSED attachment for the
MCXW72 as leader :
- mcxw_tx():
  tx_frame.tx_delay corrected.
  Adjusts the scheduled transmission start time to account for the SHR
  duration (160us) as requested by the OpenThread radio API.

- mcxw_rx_thread():
  Stores the frame counter and key ID from a
  security-enabled enhanced ACK into the received packet's metadata
  for cryptographic verification.

- mcxw_tx_started() added:
  Notifies the registered event handler that a frame transmission has
  started, passing the frame buffer as context.

- pd_mac_sap_handler(): timestamp corrected

- mcxw_configure(): IEEE802154_CONFIG_EVENT_HANDLER case updated

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Fabrice DJIATSA
f09282ecde release: migration-guide: 4.4: add entry about mcuboot mode
STM32 platforms now use the default MCUboot operating mode
swap using offset instead of swap using move.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
2f48c25e98 tests: drivers: flash: stm32: handle conflict for storage partition
Since the addition of a new storage partition definition in
the nucleo_f746zg dts, there is no need to have this configuration
in the overlay file.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
bdc79574c5 tests: boot: with_mcumgr: update testcase.yaml file
Add STM32 supported boards for the test.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
81c93141dd tests: boot: test_mcuboot: update testcase.yaml file
Add STM32 supported boards for the test.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
602baf6829 samples: sysbuild: with_mcuboot: update sample.yaml file
Add STM32 supported boards for the test.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
d55fc5b857 boards: st: add support for boards compatible with swap using scratch
SomeSTM32 series, like F2, F4, and F7, do not have homogeneous flash
sector sizes; they include very large sectors such as 128 KB
and even 256 KB.

The scratch partition needs to be large enough to hold the largest
sector size ( 256k for F7 and 128k for F2).

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
b348fd4d7a boards: st: add support for boards compatible with swap using offset
- Swap using offset requires that slot1 has one extra sector size
compared to slot0

- Additionally, add a storage partition with at least 3 sectors for
NVS if needed.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Fabrice DJIATSA
b152f71aaa modules: kconfig: mcuboot: make SWAP_USING_OFFSET the default for STM32
Update MCUboot configuration so that STM32 no longer defaults to
SWAP_USING_MOVE. Instead, SWAP_USING_OFFSET becomes the default mode
for STM32 boards.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Chaitanya Tata
5018d2456e modules: hostap: Workaround for BTM failure
Fixes WFA QT BTM test case.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-15 17:07:37 +00:00
Farsin Nasar V A
dd53e383e0 tests: drivers: pwm: Add SAM E54 test support for TC
Added overlay files for sam_e54_xpro TC nodes
Added sam_e54_xpro platform allow in testcase.yaml.
Added an extra scenario to testcase.yaml

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2025-12-15 17:07:24 +00:00
Muhammed Asif
b17128e517 boards: microchip: sam_e54_xpro: Add tc node with pwm support
- Adds the tc node and its pinmuxing to the board files

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-12-15 17:07:24 +00:00
Muhammed Asif
20d7d23d53 drivers: pwm: microchip: add support for pwm tc g1
Add pwm driver using tc g1 peripheral.
Adds the support for generating pwm output.
Supports 8-bit, 16-bit and 32-bit mode of tc peripheral

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-12-15 17:07:24 +00:00
Muhammed Asif
b926d85535 dts: bindings: microchip: add tc binding for pwm peripheral
Adds binding YAML for pwm using tc peripheral

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-12-15 17:07:24 +00:00
Muhammed Asif
79d841a600 dts: arm: microchip: add dts nodes of tc peripheral
Adds binding yaml for tc peripheral
Adds the dts nodes for tc peripheral for same5xd5x series and its
default configurations.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-12-15 17:07:24 +00:00
Johan Alfvén
5df9d8d176 MAINTAINERS: add hal_ethos_u collaborator
Add johan-alfven-arm as collaborator for hal_ethos_u driver

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2025-12-15 17:07:01 +00:00
Jordan Yates
6b8ad0b48b samples: lora: send: display packet airtime
Display the expected airtime of the transmitted packet at the start of
the sample.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
Jordan Yates
3514ff9fe2 samples: lora: zero initialise config structure
Zero initialise the configuration struct to ensure non-set fields are
zero.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
Jordan Yates
08f74a2638 lora: add lora_airtime
Add a simple function that exposes the airtime of a packet of a given
length.

Use the new internal implementations of the airtime function when
calculating TX durations inside the send functions to reduce code
duplication on a complex function.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
Jordan Yates
fab5f57455 lora: optional disable CRC
Add the option to disable the builtin 16 bit CRC on the LoRa payload.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
zjian zhang
e369c524c3 MAINTAINERS: Add hal_realtek as a new HAL module
This commit adds maintainers for hal_realtek repository

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
1d36710436 boards: add rtl872xda_evb board
add initial version of rtl872xda_evb board

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
e788c98af6 drivers: gpio: add amebadplus gpio driver
GPIO driver for amebadplus

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
53bba6df01 drivers: serial: add amebadplus loguart driver
loguart driver for amebadplus

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
d21b2aa15d drivers: pinctrl: add amebadplus pin controller driver
add amebadplus pin controller driver

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
e6d690a983 soc: add realtek amebadplus SOC integration
Add initial version of Amebadplus Soc integration

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
56d6012c96 dts: arm: introduce amebadplus SOC Devicetree
add initial version of devicetree for amebadplus SOC.
amebadplus devicetree file is main platform dtsi file, which should
be included from board dts (e.g rtl872xda_evb.dts)

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
zjian zhang
8ee8509533 west.yml: Add Realtek HAL as a new HAL module
Realtek HAL (Hardware Abstraction Layer) provides
a low level peripheral configuration function.

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-15 17:06:38 +00:00
Muhammad Waleed Badar
44eaeb0119 samples: ocpp: add DNS lookup before SNTP request
Added dns_query() function to perform DNS lookup before attempting
SNTP synchronization. This ensures the SNTP server hostname is
properly resolved to an IP address before making the time request.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-12-15 07:31:20 -05:00
Lucien Zhao
fefb283730 boards: nxp: frdm_mcxe247: support cmp feature
- Enable CMP0_IN0 as input channel
- Enable gpio_loopback case

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-15 07:31:06 -05:00
Lucien Zhao
d90ca00c6a boards: nxp: frdm_mcxe247: add adc feature
- enable adc0 channel 0/1
- enable samples cases: adc_dt/adc_squence
         test case: adc_api

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-15 07:31:06 -05:00
CHEN Xing
297ab7ac15 samples: drivers: counter: alarm: add support for pit64b1
Add support for pit64b1 counter device.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
fd0f0f3c60 samples: drivers: counter: alarm: add definition for alarm flag
Counter devices can use this definition to specify alarm flags.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
b7268f9c3b boards: microchip: sam: add and enable pit64b1
Add and enable pit64b1 counter device.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
773cf7a141 soc: microchip: sam: update mmu for sama7g5 pit64b
Update mmu region for mchp sam pit64b
Add gclk configuration for mchp sam pit64b

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
14b2a1dfa2 drivers: counter: add support for sama7g54 PIT64B
Add driver for sama7g54 PIT64B
Use PIT64B as a zephyr counter device

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
8cad3fd382 dts: arm: microchip: sam: add pit64b device to sama7g5
Add pit64b1 ~ pit64b5 counter devices to sama7g5

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
TOKITA Hiroshi
c7cac1373f tests: drivers: display: read_write: Fix tile eendering test
The buffer size calculation was not rounded up to what it needed.
We fixed it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-15 07:30:31 -05:00
TOKITA Hiroshi
11d3fc4143 drivers: display: display_sdl: Reimplementing tile rendering
The current implementation has a bug in the calculation of
tile offsets, causing them to be calculated incorrectly.
This is particularly evident when there are fractional rows or columns.
Also, there was an assertion that assumed vtiled.

The logic has become too complicated,
so we'll reimplement to simplify this.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-15 07:30:31 -05:00
Josia Strack
287ca5b9eb drivers: gpio: pcf857x: ensure input pins default high for open-drain
Ensure that pins configured as inputs are driven high in the port
output register, consistent with open-drain operation. This prevents
inputs from being driven low unintentionally and aligns behavior
with hardware expectations.

Signed-off-by: Josia Strack <j.strack98@gmail.com>
2025-12-15 07:30:23 -05:00
William Tang
4f152eeb37 drivers: can: mcux: flexcan: fix prop_seg for enhanced bit timing
Move the no propagation segment configuration and prop_seg must be 0
logic from the general timing configuration to only apply within the
CAN FD specific sections.

This ensures that for classic CAN mode or platfrom without enhanced
bit timing, prop_seg is always decremented by 1.

The previous implementation incorrectly applied the enhanced bit timing
logic to classic CAN mode, which could cause timing misconfiguration
on devices with enhanced bit timing register support when operating in
classic CAN mode.

Fixes #99746

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-15 07:30:06 -05:00
Jason Yu
184e031163 drivers: timer: ostimer: Fix run fail when no deep_sleep_counter
Only access deep_sleep_counter when it is available.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-15 07:29:59 -05:00
Jason Yu
c9a1e0fd91 drivers: timer: ostimer: Change to use reset API
Use reset API to reset OSTIMER for better portability.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-15 07:29:59 -05:00
Jason Yu
4e760db893 dts: bindings: os-timer: Add resets in device tree binding
Add resets in OSTIMER device tree binding

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-15 07:29:59 -05:00
Jason Yu
2bff5bdef0 dts: nxp: resets: include the reset header
Include the header so that resets can be added in
each driver node, for such platforms: mcxaxxx6, mcxa344.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-15 07:29:59 -05:00