Commit graph

136,983 commits

Author SHA1 Message Date
Pieter De Gendt
7e4235ff21 scripts: ci: check_compliance: Skip generated Devicetree Kconfig symbols
Do not generate a compliance error when referring to generated Kconfig
symbols from Devicetree.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-03 11:45:00 +01:00
Aleksandr Khromykh
00fdcf0582 bluetooth: mesh: lpn shouldn't relay messages received over friendship
Commit fixes the issue when lpn device relays
broad- and group cast messages received over
friendship queue. This is specification violation,
see Table 3.13: Network layer Network PDU retransmission
requirements. Also, it does not have sense since
sending messages have already happened and lpn
just consumes extra power to retransmit useless data.
In general, lpn device will be more power efficient after
this fix.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-12-03 11:44:34 +01:00
Haoran Jiang
e73f231ef8 dt-bindings: pinctrl: sf32lb52: Add SA port pinmux definition
Add SA port pinmux definition

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-12-03 11:44:28 +01:00
Haoran Jiang
6d4900d0b9 drivers: pinctrl: sf32lb: Preserve the SR/IS definition for each register
Only modify the definitions that need to be changed in the pinmux register;
SR/IS will retain their default values after reset.

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-12-03 11:44:28 +01:00
Haoran Jiang
7ebf5091c2 soc: sifli: sf32lb52x: Add pinctrl definition
- Add helper macros related to sifli,analog
- Standardize driver level descriptions to `DS` instead of `DS0`

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-12-03 11:44:28 +01:00
Haoran Jiang
f71beede1a dts: bindings: pinctrl: Modify pinmux binding definitions in sf32lb
- Add sifli and analog definitions
- Modify the drive-strength definition to use the original register
    definition instead of the physical current value, as different I/O
    pins may have different definitions

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-12-03 11:44:28 +01:00
Biwen Li
e6c9feabef tests: app_dev: ram_context_for_isr: fix irq_num
This commit fixes build issue when multi level interrupts is enabled,
define TEST_IRQ_NUM as (CONFIG_2ND_LVL_ISR_TBL_OFFSET - 1)
  - CMSIS/Core/Include/core_cm33.h:2438:15: error: array subscript 24
    is above array bounds of volatile uint32_t[16]

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-03 11:44:03 +01:00
Chaitanya Tata
8981e4ed6b manifest: nrf_wifi: Pull fix for set station failure
Fixes issue with authentication in nRF71 set station.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-03 11:43:30 +01:00
Zhaoxiang Jin
a3663c8c7f drivers: counter: mcux_lptmr: add alarm support
LPTMR is a commonly used wake-up source for many NXP MCUs and
may be used as the companion low-power timer for the Cortex-M
systick. This commit enabled LPTMR set and cancel ALARM functions.

Enabling single-shot alarm support requires reprogramming
the hardware compare register (COMPARE/CMR), which is the same
resource used for the periodic TOP callback. Because of this
hardware limitation, we added Kconfig 'CONFIG_COUNTER_MCUX_LPTMR_ALARM'
to select whether alarm support is enabled. When alarm support is
enabled the driver will not allow support set TOP operation at runtime
(attempts to set TOP will return -ENOTSUP); When alarm support is
disabled the driver will not allow set and cancel ALARM operation
at runtime (attempts to set and cancel ALARM will return -ENOTSUP).
Choose the configuration that matches your application's requirements.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-03 11:43:22 +01:00
Zhaoxiang Jin
10b529709b west.yml: update hal_nxp to MCUX SDK latest release
update hal_nxp to MCUX SDK latest release (25.12.00 pvw2)

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-03 11:42:11 +01:00
Make Shi
8a5657427e Bluetooth: AVRCP: Mask invalid bit in absolute volume
PTS may send absolute volume values with bit 7 set, which exceed the
valid range. Instead of rejecting these values, mask the invalid bit
to ensure compatibility.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-12-03 11:41:55 +01:00
Make Shi
d58782fe1a Bluetooth: AVRCP: Return INVALID_COMMAND when PDU ID is invalid
Added a check in the vendor dependent handler to ensure the PDU ID
matches supported command handlers. If the PDU ID or command type
is invalid, respond with BT_AVRCP_STATUS_INVALID_COMMAND.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-12-03 11:41:55 +01:00
Chris Friedt
de917358aa libc: minimal: add missing ctype.h functions
Add the functions below to the minimal libc ctype.h since they are
missing, and are required as of C89 (C99 for `isblank()`)

* `isblank()`
* `islower()`
* `ispunct()`

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-12-03 11:41:43 +01:00
Chris Friedt
6b6a259b78 libc: minimal: ctype: remove unnecessary casts
A review comment in the PR below requested that unnecessary casts were
removed from ctype.h in the PR below.

https://github.com/zephyrproject-rtos/zephyr/pull/99451

Tested with manual compilation in C and C++ mode with the arguments
```shell
gcc -Wconversion -Werror -Wall -Wextra -Wint-conversion
clang -Wconversion -Werror -Wall -Wextra -Wint-conversion
gcc -Wconversion -Werror -Wall -Wimplicit--Wextra
clang++ -Wconversion -Werror -Wall -Wextra
```

and also with `-- -DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y`

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-12-03 11:41:43 +01:00
Chris Friedt
6b393c7106 libc: minimal: ctype: express ctype limits in more direct fashion
Based on review feedback, it was suggested to express ctype
character checks in a more direct fashion, rather than using
arithmetic, and allow the compiler to optimize as it sees fit.

https://github.com/zephyrproject-rtos/zephyr/pull/99451#\
discussion_r2530339430

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-12-03 11:41:43 +01:00
Chris Friedt
8a2442fadd libc: minimal: ctype: use unsigned int instead of unsigned
The "check warns" workflow in CI warned over the use of `unsigned` as a
shorthand for `unsigned int` in several locations in
`lib/libc/minimal/include/ctype.h`.

```
 UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
File:lib/libc/minimal/include/ctype.h
```

Adjust `unsigned` to `unsigned int` to avoid linter warnings.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-12-03 11:41:43 +01:00
Bindu S
473db1d26e boards: intel: adl: Added alias for pwm
Added pwm alias for ADL-N platform.

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-12-03 11:41:33 +01:00
Bindu S
64a3e11ee0 samples: drivers: uart: async_api: Added overlay to support ADL-n platform
Added support for async api application on ADL-n platform

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-12-03 11:41:33 +01:00
Holt Sun
888bd699d5 soc: nxp: mcx: mcxe24x: enable LMEM I-cache and cache management
Select CPU_HAS_ICACHE and HAS_MCUX_LMEM_CACHE.
Default CACHE_MANAGEMENT=y and select EXTERNAL_CACHE.
Prepares MCXE24x to use the LMEM cache driver.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-03 11:41:13 +01:00
Holt Sun
e179f48a8c drivers: cache: add NXP LMEM cache driver
Add LMEM cache driver implementing instruction cache ops.
Wire driver into cache Kconfig menu and CMake build.
Enables I-cache control on SoCs with NXP LMEM controller.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-03 11:41:13 +01:00
Holt Sun
e881029ae8 modules: hal_nxp: mcux: add HAS_MCUX_LMEM_CACHE and hook LMEM for MCXE24X
Select cache_lmem component for MCXE24X devices.
This exposes the LMEM cache API needed by the Zephyr driver

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-03 11:41:13 +01:00
Sreeram Tatapudi
d0cda31dc4 MAINTAINERS: Adding airoc wifi driver
Adding Infineon AIROC drivers to the Infineon Platforms

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-12-02 21:00:55 -05:00
Yongxu Wang
0626d57441 MAINTAINERS: Add Yongxu Wang as Firmware collaborator
Add myself as a collaborator for the firmware drivers subsystem.
I have been actively contributing to SCMI protocol implementations
and will continue developing new features, reviewing patches,
and testing firmware functionality

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-12-02 21:00:12 -05:00
James Roy
44106ac05f edtlib: binding: Add a examples keyword
Add an `examples` keyword to the binding to
provide a minimal example node for the binding.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2025-12-02 20:53:01 -05:00
Mathieu Choplain
d770c6ce13 docs: bindings-syntax: re-add note about title being optional
When originally introduced in [1], `title` was described as optional, but
this information was lost when the documentation was reworked in [2], even
though the underlying behavior in edtlib is unchanged.

Update the documentation to indicate that that `title` is optional. While
at it, fix a little typo in modified paragraph.

[1]: ee17657ad3
[2]: 3a2f839d45

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-02 20:52:49 -05:00
Anton Puppe
043a725b1f edtlib: Fix unformatted error message
Adds a missing f in the second line of a multiline f-string.
Previously, having the wrong top-level keys in a DTS binding YAML file
could cause a partially unformatted error message to be printed.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
on-behalf-of: @ZEISS anton-noel-flynn.puppe@zeiss.com
2025-12-02 20:52:34 -05:00
Mathieu Choplain
18b62a567f doc: kconfig: document "named choices" as a language extension
When creating a "choice" block, it is possible to associate a name to the
choice, resulting in a so-called "named choice" being created. This allows
modification of the choice after its initial declaration - for example, its
default value can be overridden from another Kconfig file.

This feature originates from Linux and is supported by Kconfiglib; however,
since [1] (first found in release v6.9), Linux no longer supports this
feature. Critically, this means that the feature is no longer covered by
the Linux Kconfig Language documentation [2], even though it is supported
and used in Zephyr.

Add "named choices" to the Kconfig language extensions documentation page
since it has de facto become an extension after its support was dropped
from Linux.

[1] c83f020973bc72d9eec65474d8c47495191aef20 (on Linux source tree)
[2] https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-02 19:02:38 -05:00
Mahesh Mahadevan
2c7d560c71 MAINTAINERS: Update the NXP maintainers list
Update the NXP area maintainers and collaborators

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-12-02 18:45:35 -05:00
Fabian Blatz
25d96b2589 modules: lvgl: Prevent false pointer input events
Fixes an issue where input events which have the sync flag set but are
neither X/Y coordiante updates nor press/release updates triggers a false
reporting of input to LVGL.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-12-02 18:41:42 -05:00
Scott Worley
8824b288dd boards: microchip: mec_assy6941: Add MEC1653B to board docs
We added information about MEC1653B to the mec_assy6941 board
documentation.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-12-02 18:41:18 -05:00
Scott Worley
c00ca4497b boards: microchip: mec_assy6941: Add support for MEC1653B
We added support for the MEC1653B daughter card on the
mec_assy6941 EVB base board. We removed variant specific
kconfig files since none of the boards require board
specific settings.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-12-02 18:41:18 -05:00
Scott Worley
91e7959c94 soc: microchip: mec: Add MEC165xB chip series
We add Microchip MEC165xB SoC series.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-12-02 18:41:18 -05:00
Scott Worley
e9e8d1ee52 dts: arm: microchip: mec: Add MEC165xB chip device tree files
We add MEC165xB chip device tree files. We are sharing the
same base mec5.dtsi which required modifications due to
peripherals not present in MEC165xB.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-12-02 18:41:18 -05:00
Alexander Kozhinov
fa5a2c7d94 tests: lib: devicetree: api: add new macro tests
add tests for DT_STRING_TOKEN_BY_IDX_OR macro
add tests for DT_INST_STRING_TOKEN_BY_IDX_OR macro

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-12-02 18:41:09 -05:00
Alexander Kozhinov
047cec8a34 zephyr: devicetree: add string token helper macros
This commit introduces the DT_INST_STRING_TOKEN_BY_IDX_OR()
and DT_STRING_TOKEN_BY_IDX_OR() macros, which allow
specifying a default value if the indexed string token is not
defined.

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-12-02 18:41:09 -05:00
Adrien Lessard
87d52f4993 drivers: serial: stm32: fix locked pm state
When not using the async API, the rx_woken flag can be set but cannot be
cleared, leading to an indefinitely locked pm state. This commit
prevents the flag from being set when not using the async API.

Signed-off-by: Adrien Lessard <adrien.lessard.42@gmail.com>
2025-12-02 18:40:58 -05:00
Radosław Koppel
9b35906861 Bluetooth: GATT: Simplify GAP write_name and apperance_write
Update write_name function to check the offset value against 0 as long
writes are not used here.
Simplify write_appearance function also to remove long writes support.
The appearance property is always 16 bit and is should not even support
long writes.

Signed-off-by: Radosław Koppel <r.koppel@k-el.com>
2025-12-02 18:40:50 -05:00
Ibrahim Abdalkader
78429c804b dts: arm: st: h7: delete ITCM/DTCM nodes from M4 devicetree
Delete the ITCM and DTCM nodes from all M4-specific devicetree.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2025-12-02 18:40:42 -05:00
Ibrahim Abdalkader
a794f8eb8b dts: arm: st: h7: add ITCM and DTCM memory regions for STM32H7
Add ITCM and DTCM memory region definitions to the common STM32H7
devicetree.

ITCM: 64 KB @ 0x00000000
DTCM: 128 KB @ 0x20000000

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2025-12-02 18:40:42 -05:00
Dmitrii Sharshakov
956063604b drivers: led: shell: avoid implicit conversion to boolean
Use a clear and style-adherent condition format.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-02 18:38:53 -05:00
Johan Hedberg
24842b852a MAINTAINERS: Remove Johan & Chris from release notes
Remove the 4.3 release managers from the maintainers list for the release
notes.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-12-02 18:38:45 -05:00
Yuvraj Khadke
b7dc36f186 sensors: dps310: Added dps368 node for CY8CKIT-062S2-AI
Enable DPS310 and I2C in DTS
for Infineon CY8CKIT-062S2-AI kit.

Fixes #97948

Signed-off-by: Yuvraj Khadke <yuvraj.khadke@infineon.com>
2025-12-02 15:49:39 -05:00
Holt Sun
ce186be5fa tests: settings: its: enable lpcxpresso55s69_cpu0_ns platform
Enable the lpcxpresso55s69_cpu0_ns board for the Internal Trusted
Storage (ITS) settings test case. This platform supports the required
settings subsystem functionality needed for ITS testing.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-02 15:49:22 -05:00
Szymon Janc
c37f0567b1 Tests: Bluetooth: tester: Update LL overlay configuration
Match number of supported periodic advertising instances with
configure extended advertising instances and increase number
of advertising buffers to match qualification tests requirements.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-12-02 15:24:00 -05:00
Camille BAUD
3b9007ad93 boards: Add flash to supported for bflb boards
Adds the flash to supported for testing

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-02 15:23:13 -05:00
Camille BAUD
20c16ee36b soc: bflb: Enable Flash Controller
Enable the flash controller. Relocation is required.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-02 15:23:13 -05:00
Camille BAUD
05520bcf9f dts: bflb: Enable Flash Controller
Enable the Flash Controller

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-02 15:23:13 -05:00
Camille BAUD
a2a7463ec0 drivers: flash: Introduce BFLB flash controller
Introduce Bouffalolab Flash Controller with support for bank 1

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-02 15:23:13 -05:00
McAtee Maxwell
61100bb14f drivers: clock_control: bugfix pse84 frequencies by fixing dpll support
- fix dpll_hp support
- add dpll_lp support for kit_pse84_*
- update kit_pse84_eval dts for dpll fixes
- update kit_pse84_ai dts for dpll fixes

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-02 15:23:03 -05:00
McAtee Maxwell
95184d330d drivers: clock_control: bugfix frequency on psc3 by adding dpll support
- add dpll_lp support to infineon clock_control drivers
- update psc3 dts for fix

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-02 15:23:03 -05:00