Commit graph

136,983 commits

Author SHA1 Message Date
Nhut Nguyen
f671c98b08 bindings: pinctrl: Remove required tag from Renesas RZ
Remove required tag from `req` and `reg-names` as the pinctrl node is
changed into a dummy node to avoid cycle in devicetree between irq,
gpio and pinctrl so these properties are not required for Renesas
RZ/A,G,V series.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
ad2ca49df7 dts: renesas: Update renesas,rz-ext-irq nodes
Added `#irq-cells` to `renesas,rz-ext-irq` nodes to reflect the update
of `renesas,rz-ext-irq` binding.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
2537ee030a drivers: intc: renesas: Update external interrupt of RZ family
Added a condition to check trigger type as high-level detection is not
supported by Renesas RZ external interrupt.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
1de74c98e2 bindings: intc: Update Renesas RZ external interrupt
Add `#irq-cells` to Renesas RZ external interrupt binding
`renesas,rz-ext-irq`.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
76d3333d22 dts: renesas: Add interrupt controller nodes for RZ family
Add interrupt controller `intc` and `tint` nodes for Renesas RZ family.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
982231a8fe drivers: intc: renesas: Add gpio interrupt (tint) for RZ family
Add support for gpio interrupt (tint) for Renesas RZ familiy.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Holt Sun
0037a5fc4b boards: frdm_ke17z: Add power management support
Enable power management using LPTMR0 as the idle timer.

- Set zephyr,cortex-m-idle-timer to lptmr0
- Remove redundant stop state DTS overrides
- Add power_mgmt_soc test configuration and overlay

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 13:25:01 +00:00
Holt Sun
8260974216 soc: nxp: ke1xz: Add power management support
Implement power management with IDLE, STOP, PSTOP1, and PSTOP2 modes.

- Add power state definitions with timing parameters
- Implement pm_state_set() with proper SLEEPDEEP handling
- Add XIP-safe WFI execution from RAM
- Enable SMC driver and power mode protection
- Remove forced timer Kconfig defaults

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 13:25:01 +00:00
Chris Friedt
e59a65386e doc: release: 4.4: deprecate CONFIG_XOPEN_STREAMS (again)
Deprecate the CONFIG_XOPEN_STREAMS Kconfig option in favour of
CONFIG_XSI_STREAMS, which matches the naming conventions of other XSI
Kconfig options and the actual Option Group name in the specification.

Please use CONFIG_XSI_STREAMS instead.

Note: this option was originally deprecated prior to 4.3.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Chris Friedt
c2cad209a3 posix: xsi_streams: add tc-provides-xsi-streams kconfig option
Enable the toolchain to provide the XSI_STREAMS Option Group.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Chris Friedt
25c2aaef9b posix: xsi: streams: deprecate CONFIG_XOPEN_STREAMS (again)
CONFIG_XOPEN_STREAMS does not follow the pattern of other XSI Option
Groups, where the Option Group name is not the same as the feature
test macro that indicates it is supported by the implementation.

Deprecate CONFIG_XOPEN_STREAMS and rename it to CONFIG_XSI_STREAMS.

For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/\
V1_chap02.html#tag_02_01_05_09

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Emil Gydesen
a25598eab9 Bluetooth: CSIP: Fix set member register issue
Fix issue with re-registering CSIS where it relied on
a stack allocated value during the service unregistering
and reset. To fix this properly, and to allow for further
optimization, the register function was refactored to dynamically
create the service, rather than relying on a static allocation
and dynamically remove unwanted characteristics.

Additionally this new approach also allow us to rely on
IS_ENABLED and remove some #if defined, as well as reducing
both ROM and RAM memory usage.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:23:28 +00:00
Lyle Zhu
ef7b132bfd Bluetooth: Classic: Fix initialization to support re-initialization
In current implementation, the Classic L2CAP server list will be
cleared when the function `bt_enable()` called. It causes the
registered Classic L2CAP servers are unregistered. However, the
higher-ups were completely unaware of this behavior. It causes the
Classic L2CAP server cannot work after executing the sequence
`bt_enable()`, `bt_disable()`, and `bt_enable()`. Also this behavior
is inconsistent with LE L2CAP server.

Remove the initialization of Classic L2CAP server list from function
`bt_l2cap_br_init()` to fix the issue.

Make Bluetooth Classic profile initialization functions idempotent
by adding static initialized flags to prevent re-initialization.
Change return type from int to void since errors are now logged
but not propagated.

Changes include:
- Add initialized flag to prevent multiple initialization
- Change return type to void for init functions
- Mark err variables as __maybe_unused where appropriate
- Improve error logging with error codes
- Handle -EEXIST and -EALREADY errors for re-registration
- Initialize connection pools before checking initialized flag
  in AVRCP to support re-initialization scenarios
- Remove unnecessary sys_slist_init in bt_l2cap_br_init

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-20 13:23:14 +00:00
Lyle Zhu
4146c053d2 bluetooth: shell: Fix error code formatting in BR/EDR shell
Fix incorrect error code formatting in Bluetooth BR/EDR shell commands.
Error codes are already negative values, so remove the redundant negation
when printing error messages. Also update PSM registration message to
print the PSM value in hexadecimal format for consistency.

Changes:
- Remove negation of error codes in shell_error() calls
- Change PSM format specifier from %u to %04x for hex display
- Affects l2cap_disconnect, l2cap_send, l2cap_credits, l2cap_echo_reg,
  l2cap_echo_unreg, l2cap_echo_req, and l2cap_echo_rsp commands

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-20 13:23:03 +00:00
Jamie McCrae
7a18e3a8cc scripts: dts: gen_dts_cmake: Add DT_UNIT_ADDR to pickled CMake
Adds a new property which outputs the absolute address of a dts
device (if it is available) which will take the parent nodes into
consideration without a user having to manually trawl through
devices (which is error prone depending upon how they are layered)

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:22:53 +00:00
cyliang tw
df32725c46 boards: nuvoton: add support for numaker m55m1
Add new development board numaker_gai_m55m1 for m55m1x series.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-01-20 13:22:40 +00:00
Farsin Nasar V A
d5317f5d42 tests: drivers: watchdog: Adds pic32cxsg test support files
- Adds pic32cx_sg41_cult.overlay for wdt test projects.
- Adds pic32cx_sg41_cult platform allow in testcase.yaml.
- Adds wdt board specific configuration in main.c

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
a6335e34e2 samples: drivers: watchdog: Adds pic32cx_sg61_cult board overlay file
- Adds the overlay file for pic32cx_sg61_cult board for supporting
   watchdog sample application

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
c6b8d5c470 boards: microchip: pic32cx_sg61_cult: Add watchdog tag in board file
- Add watchdog tag in the board yaml file section to allow
   CI run watchdog tests on this board.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
a207f0d8a8 samples: drivers: watchdog: Adds pic32cx_sg41_cult board overlay file
- Adds the overlay file for pic32cx_sg41_cult board for supporting
   watchdog sample application

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
7dc784a3f9 boards: microchip: pic32cx_sg41_cult: Add watchdog tag in board file
- Add watchdog tag in the board yaml file section to allow
  CI run watchdog tests on this board.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
96c4de16ca dts: arm: microchip: pic32cx_sg: Add dts node of watchdog
- Add the watchdog node for pic32cx_sg device

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Håvard Reierstad
f5f7bb4461 Bluetooth: Host: Add bt_keys config flag
Adds a flag `cfg_flags` to the `bt_keys` struct  and a version field
`cfg_version` in order to be able to detect configuration changes
between firmware updates. This is needed because the `bt_keys` struct
has fields which are compiled in depending on which Kconfig options are
enabled, enabling the possibility of stored data being intepreted
wrongly if the struct changes.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2026-01-20 13:22:05 +00:00
Yasushi SHOJI
6006b3b32a MAINTAINERS: Add Space Cubics Platforms entry
Register Space Cubics on-board computer platforms in MAINTAINERS.yml.

Mark the area as maintained, set yashi as maintainer, and scope it to
boards/sc/. Add a short description for the platform group.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-20 13:21:46 +00:00
Jamie McCrae
3233c2915a arch: arm: core: cortex_m: timing: Remove stray comment
Removes a stray comment mentioning a Kconfig which actually has
nothing to do with the code

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
8c093a08f5 doc: release: migration_guide: 4.4: Add note on NRF Kconfig change
Adds a note on required changed for SOC_SERIES_NRF Kconfigs with
an X in them

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
2d0f632c31 soc: nordic: kconfig: Deprecate SOC_SERIES_NRF Kconfigs with X in
Deprecates these Kconfigs, as they have been replaced

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
70fcffd5de tests: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
9700579f6a bluetooth: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
a7e099f20b scripts: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
cc9287d291 samples: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
723476370d modules: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
3a9189aa3e drivers: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
212b63a6ca soc: nordic: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
03e8e88d79 soc: nordic: Add SOC_SERIES_NRF* Kconfigs without X suffix
This is to start the process of fixing the issue of the SoC series
not matching the value in the soc.yml file, which is needed to
support future build system features for automatically creating
SoC Kconfigs by the build system.
This also fixes some oddities with how the Kconfigs were set out,
which included duplicated Kconfigs and duplicate selections and
having them in the wrong (or differing) files, to actually follow
how HWMv2 should define these Kconfigs.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Kyra Lengfeld
ed5683250c Bluetooth: Host: make TX processor stack size configurable
While the tx processor thread is needed to prevent deadlocks and is as
such always enabled, its stack size may be adjusted based on need.
What is needed is dependent on which features are enabled in the
zephyr host as well as other project configurations impacting the
zephyr host.

Signed-off-by: Kyra Lengfeld <kyra.lengfeld@nordicsemi.no>
2026-01-20 13:21:17 +00:00
Tomasz Gorochowik
e5126a0874 doc/develop/manifest/external: add grvl
Add grvl [1] as an external module to Zephyr.

1: https://github.com/antmicro/grvl

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2026-01-20 13:21:08 +00:00
Emil Gydesen
a6c54dcf68 doc: releases: Add note about UTF8 for CONFIG_BT_AUDIO
CONFIG_BT_AUDIO now depends on CONFIG_UTF8. Add instructions
on how to (easily) migrate.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:20:52 +00:00
Emil Gydesen
d74f5d7d23 Bluetooth: Audio: depend on UTF8
Add a dependency for UTF8 for LE Audio. Since (nearly?) all
string in LE Audio are UTF8 and that the stack wants to be
able to check and validate strings coming both from remove
deviecs and from the application, it will depend on the utf8
API that is guarded by CONFIG_UTF8.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:20:52 +00:00
Jamie McCrae
7d54f9c7c5 soc: arm: mps4: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
fcb77f2491 soc: arm: mps3: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
13bcf52b29 soc: arm: mps2: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
bf5460b661 soc: arm: musca: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the 2 boards in zephyr meaning it should not
cause any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Kyra Lengfeld
4ae5f63aa9 Bluetooth: Host: Give option to disable TX processor thread
It is not recommended to disable the tx processor thread as otherwise
deadlocks may occur, but it has been observed that some boards and
configurations may have too little RAM to accommodate the TX processor
thread stack.
As such BT_TX_PROCESSOR_THREAD gets a prompt.

Signed-off-by: Kyra Lengfeld <kyra.lengfeld@nordicsemi.no>
2026-01-20 13:20:04 +00:00
Flavio Ceolin
15d6ab8ae8 pm: device: Acknowledge unused variable
action_cb is not used in pm_device_driver_deinit is
not used when CONFIG_PM_DEVICE is enabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 13:17:37 +00:00
Flavio Ceolin
96c44c540b pm: device_runtime: Fix possible inconsistent state
In pm_device_runtime_get, when resume fails after the domain as claimed,
the flag PM_DEVICE_FLAG_PD_CLAIMED is not cleared (but the domain is
released). This leaves this flag in a consistent state and in a further
resume this device won't resume its domain leading to bigger problems.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 13:17:37 +00:00
Jingxing Lai
0fa079d81e boards: seeed: xiao_nrf54l15: enable key SoC peripherals and HFXO config
Enable and configure essential peripherals that are typically required
for meaningful use of the XIAO nRF54L15 board, especially for wireless
and sensing applications:

- Configure HFXO with internal load capacitors (16 pF) for better
  RF performance/stability
- Enable IEEE 802.15.4 radio support
- Enable temperature sensor
- Enable radio core
- Enable NFCT (NFC tag)
- Enable clock controller

These changes make the board usable out-of-the-box for Bluetooth LE,
Thread, Matter, NFC and basic temperature monitoring use cases.

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:16 +00:00
Jingxing Lai
dcfa19b3cf boards: seeed: xiao_nrf54l15: fix IMU device tree driver binding
Fix the device tree configuration for the IMU sensor to ensure proper
driver binding.

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:01 +00:00
Jingxing Lai
52ac7438e7 boards: seeed: xiao_nrf54l15: add more GPIO mappings
Add GPIO mappings for D11 to D15

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:01 +00:00
Gaetan Perrot
1efa88e51a drivers: ethernet: phy: phy_tja11xx: remove dead error handling
phy_tja11xx_get_link_state() always returns 0, making callers' error
checks ineffective.

Remove the unused return variable and drop the dead conditional in
invoke_link_cb() to silence static analysis warnings and simplify
the code.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 13:16:02 +00:00