Commit graph

136,983 commits

Author SHA1 Message Date
Holt Sun
d90169ab0a MAINTAINERS: Add Holt Sun as Counter driver collaborator
Add Holt Sun as a collaborator for "Drivers: Counter".

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-07 07:43:54 +01:00
Benjamin Cabé
1c7ce910a8 doc: kernel: threads: fix mistake in "What Cannot be Expected to Work"
Correct the description in the "What Cannot be Expected to Work" section
to state that the listed functionality fails when CONFIG_MULTITHREADING
is **disabled**, as the previous wording implied the opposite.

Fixes zephyrproject-rtos/zephyr#101718

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-06 16:10:04 -06:00
Lane Westlund
abd7a17424 doc: ztest fix verb tense
Fixes a small typo with verb tense and sentence structure in the ztest doc

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-06 16:09:16 -06:00
Gaetan Perrot
4da063bad0 drivers: cache: fix typos in comments
Fix typos in comments in cache_andes and cache_aspeed.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 16:08:40 -06:00
Jamie McCrae
024d49d55f doc: hardware: porting: board_porting: Fix typo
Fixes a small typo in the example which, if copied, would result
in a error in the python file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-06 16:08:18 -06:00
Gaetan Perrot
d7ff9afbfd drivers: display: co5300: fix missing GPIO error check
gpio_pin_set_dt() return value was not assigned when pulling the
reset GPIO high, making the subsequent error check always false.

Store the return value to properly detect and report failures.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 16:07:56 -06:00
Sebastian Panceac
9af59a6e23 doc: Fix reference to generated event when calling uart_tx_abort()
This commit replaces in the documentation of uart_tx_abort()
function, the generated event type `UART_TX_DONE` with the
correct one: `UART_TX_ABORTED`.

Signed-off-by: Sebastian Panceac <spanceac@gmail.com>
2026-01-06 16:07:26 -06:00
Zhaoxiang Jin
04e9d4a5e6 tests: power_mgmt_soc: enable test for frdm_mcxaxx6 boards
frdm_mcxaxx6: frdm_mcxa266, frdm_mcxa346, frdm_mcxa366

1. enable power_mgmt_soc test for NXP frdm_mcxaxx6 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
fae1642248 soc: nxp/mcxa: Add power management support for MCXAxx6
MCXAxx6: MCXA266, MCXA346, MCXA366

Add power management support for MCXA/MCXAxx6.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
7a3df0ed4e dts: arm: nxp: mcxa: Add power state nodes for mcxaxx6
mcxaxx6: mcxa266, mcxa346, mcxa366.

1. Add power state nodes for mcxaxx6, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxaxx6, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxaxx6.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
a1184d66fb dts: arm: nxp: mcxa344: Add power-states for mcxa344
1. Add power-states for mcxa344
2. Add PM related-nodes for mcxa344.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
0d763f928c tests: power_mgmt_soc: enable test for frdm_mcxa153
1. enable power_mgmt_soc test for NXP frdm_mcxa153 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
af13581dcc soc: nxp/mcxa: Add power management support for MCXA153
Add power management support for MCXA/MCXA153.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
f8a94fbc6a dts: arm: nxp: mcxa: Add power state nodes for mcxa153
1. Add power state nodes for mcxa153, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxa153, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxa153.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
a364dd66c4 tests: power_mgmt_soc: enable test for frdm_mcxa156
1. enable power_mgmt_soc test for NXP frdm_mcxa156 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
0bfc30a2cf soc: nxp/mcxa: Add power management support for MCXA156
Add power management support for MCXA/MCXA156.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
5056de4af6 dts: arm: nxp: mcxa: Add power state nodes for mcxa156
1. Add power state nodes for mcxa156, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxa156, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxa156.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Yasushi SHOJI
3866fb8ce7 boards: scobc_v1: Use DT_FREQ_M() macro from freq.h
Use the convenient DT_FREQ_M() macro from freq.h to improve readability.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-06 16:06:05 -06:00
Yasushi SHOJI
02ac74d97c boards: scobc_v1: Remove uart0
UART0 is not currently used by Zephyr running on RPU. Remove it.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-06 16:06:05 -06:00
Andrej Butok
26eaab1019 dts: nxp: move nxp,imx-gpt.yaml to the counter folder
- Moves nxp,imx-gpt.yaml from the timer to the counter folder,
  as this is the binding for the counter driver
  drivers/counter/counter_mcux_gpt.c
- Fixes: #100947

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-06 16:05:40 -06:00
Sara Touqan
5321cf1c81 samples: mspi_flash: add support for some boards
this commit enables building and running the sample on
stm32h573i_dk board,stm32h735g_disco board, arduino_giga_r1
board, and  b_u585i_iot02a board by providing the required overlay
and configuration updates.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Sara Touqan
304625e040 drivers: mspi: Support MSPI driver for STM32
This commit introduces support for the mspi and ospi drivers on STM32,
enabling functionality APIs for MSPI/OSPI/QSPI host controllers..

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Sara Touqan
48165b661c dts: bindings: mspi: Add MSPI configuration for STM32
This commit adds the main DTS configurations required
to enable MSPI/OSPI/QSPI support on STM32.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Fabio Baltieri
b3c1e115ec boards: motion_2350_pro: split the pwm_default pin list
Raspberry pi based boards are now using binary info by default
(96b9b0f2df), and that limits pinctrl groups to 4 or 6 nodes. Split
this node in multiple groups.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-06 19:31:42 +00:00
Martin Hoff
ba48c587cf samples: drivers: i2s: add overlay for rb4342 board
This patch enables the output sample for the board siwx917_rb4342a
by adding an overlay.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-01-06 19:16:36 +00:00
Gaetan Perrot
61dcab72a5 drivers: sensor: bosh: bmp581: fix redundant NULL check
set_iir_config() dereferences the device pointer before checking it
against NULL, making the defensive check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 19:16:27 +00:00
Jonas Berg
c9fc4f65be samples: servo-motor: Add support for Adafruit Prop-Maker RP2040 Feather
Add corresponding overlay file

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 19:15:31 +00:00
Jonas Berg
fdfb4a339a boards: Add support for Adafruit Prop-Maker RP2040 Feather
Product photo from https://learn.adafruit.com/assets/121788,
with the license CC BY-SA 3.0

Tested with the commands mentioned in index.rst

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 19:15:31 +00:00
Fabian Blatz
324b75928a tests: drivers: adc: adc_api: Enable adc node for Adafruit trinket m0
Enable the adc node to prevent undefined node reference error in adc_api
test.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-06 19:15:20 +00:00
Martin Hoff
5c064caf32 samples: drivers: memc: add support for siwx917 soc
This patch adds support for the QSPI memory controller (for the
SiWG917 SoC) in order to enable PSRAM testing. It also adds board
overlays for this family that include PSRAM.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-01-06 19:14:56 +00:00
Chris Friedt
3c855aeddd zvfs: eventfd: count eventfd file descriptors for fdtable size
Previously, eventfd file descriptors were not being counted against the
required size for the global file descriptor table, which would result
in the function `eventfd()` (and `zvfs_eventfd()`) failing due to
insufficient resources.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-06 19:14:47 +00:00
Tanguy Raufflet
23596814d0 drivers: i3c: stm32: include math.h to fix build warnings
This driver uses math functions that require the math.h header. If not
included a lot of implicit declaration warnings are generated during
build.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
2c1d36ae09 boards: st: stm32mp257fxx_*: add I3C node to the device tree
This commit adds the i3c4 node to the device tree for the
STM32MP257F-EV1 and the STM32MP257F-DK boards. This node corresponds to
the i3c exposed by the GPIO expansion connector [1], [2] and not used by
the cortex A35.

According to the STM32MP257F-EV1 and STM32MP257F-DK schematics, the I3C4
are connected to the same pins as the I2C8. Therefore, both nodes cannot
be enabled together.

[1]: https://wiki.st.com/stm32mpu/wiki/STM32MP257x-EV1_-_hardware_description

[1]: https://www.st.com/resource/en/user_manual/um3385-discovery-kit-with-stm32mp257f-mpu-stmicroelectronics.pdf
    Table 24. GPIO connector pinout

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
6ce3fd4ffa boards: st: stm32mp257f_dk_stm32mp257fxx_m33.dts: add I2C node
This commit adds the i2c8 node to the device tree for the
STM32MP257F-DK board. This node corresponds to the i2c exposed by the
GPIO expansion connector [1] and not used by the cortex A35.

[1]: https://www.st.com/resource/en/user_manual/um3385-discovery-kit-with-stm32mp257f-mpu-stmicroelectronics.pdf
    Table 24. GPIO connector pinout

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
ee7314b568 boards: st: stm32mp257fxx_m33.yaml: add missing supported features
The I2C and SPI features have been added to the supported features for
the stm32mp257f_ev1 but were missing from the stm32mp257f_dk board file.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
dffa529bf1 boards: st: stm32mp257f_*: add I3C to the supported features
The I3C is now supported on the STM32MP257F-DK and STM32MP257F-EV1
boards.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
2c5b8dc5cf dts: arm: st: stm32mp2_m33.dtsi: add I3C node
Add the node I3C4 in non-secure context to dtsi. Others I3C nodes cannot
be added as they rely on EXTI1 interrupt lines that is not supported yet
for the STM32MP2.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
96a6b8ca72 drivers: clock_control: stm32: add MP2xx clocks for I3C peripherals
Add I3C clocks rate reading to the STM32MP2 clock driver.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
b1a35c1df9 dt-bindings: reset: stm32mp2: add reset for I3C peripherals
Add reset bindings for I3C peripherals for the STM32MP2 series.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
f88f3637ff dt-bindings: clock: stm32mp2: add clocks for I3C peripherals
Add clock bindings for I3C peripherals for the STM32MP2 series.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
b54cef898a drivers: i3c: stm32: add support for combined interrupt
Since the STM32MP2 I3C controller uses a combined interrupt line for I3C
events and errors, add the support for handling this type of interrupt
in the I3C driver.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Ludvig Jordet
8b7eccb1c5 Bluetooth: Mesh: Test that vendor models can receive SIG opcodes
This adds a test case to the access BSIM tests to check that vendor
models can specify a handler for and receive messages using a
SIG-defined 1-byte opcode.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
9eb3a6ee81 Bluetooth: Mesh: Let vendor models receive messages with SIG opcodes
This fixes a limitation where the stack assumed that vendor models could
not specify handlers for SIG-defined (1- or 2-byte) opcodes. This
assumption does not exist in the specification. In fact, the
specification expects this very use-case to be possible, in MeshPRT 1.1,
section 3.8.3:

> To exchange messages with a Bluetooth SIG adopted model, a Vendor Model
> shall use the Access message defined for the Bluetooth SIG model.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
80b92850e3 Bluetooth: Mesh: Deprecate VND_MSG_CID_FORCE option
This deprecates CONFIG_BT_MESH_MODEL_VND_MSG_CID_FORCE. This option was
added to allow an optimization that a) only can apply in edge case
networks that use multiple vendor models with different CIDs, b) doesn't
really have much potential gains even in this case unless there is a
large number of opcodes in these vendor models, and c) makes it
impractical to implement support for vendor models handling SIG opcodes.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
23d8ec360b Bluetooth: Mesh: Fix compile warning when CID check is disabled
Since the entire cid checking function is conditionally included based
on KConfig, the usage site also needs to use #if instead of IS_ENABLED,
otherwise you get the following warning during compilation when the
option is disabled:

`error: implicit declaration of function
‘bt_mesh_vnd_mod_msg_cid_check’`

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Emil Gydesen
6345dab3de Bluetooth: Audio: Use BT_CONN_ROLE over BT_HCI_ROLE
Use the host defined roles, rather than the HCI defined ones.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 19:14:19 +00:00
Peter Korsgaard
845c3bb9be samples: drivers: target_eeprom: add a changed callback
And show the usages of the new _get_size() / _read_data() functions.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
54e586b75b samples: drivers: target_eeprom: drop unregistration
It is not very handy that the EEPROM stops responding after 1 second, so
drop that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
54eda2761a i2c: target: target_eeprom: make legacy functions wrappers
Implement eeprom_target_program() using eeprom_target_write_data() and
eeprom_target_read() using eeprom_target_read_data() to limit redundant
code.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
5aaa013351 i2c: target: target_eeprom: mark eeprom_target_program as deprecated
It does not provide an offset argument, so suggest
eeprom_target_write_data() instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00