Commit graph

126,787 commits

Author SHA1 Message Date
Raffael Rostagno
724929eec5 dts: esp32s3: Add USB-OTG support
Add USB-OTG peripheral support to ESP32S3.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-09-16 16:04:03 +02:00
Raffael Rostagno
9dcc2d8086 drivers: usb: dwc2: Limit RX FIFO size allocation
Limit RX FIFO size allocation to a percentage of the total
SPRAM available, to cap allocation according to memory size.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-09-16 16:04:03 +02:00
Raffael Rostagno
41cac25632 drivers: usb: dwc2: esp32: Add support
Add USB device driver support for ESP32 devices with
USB-OTG peripheral.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-09-16 16:04:03 +02:00
Tomasz Moń
0748b4e47d drivers: udc_dwc2: Control D+ pull-up on nRF54H20
Disable D+ pull-up on core disable to make sure that device does not
indicate its presence to host before the stack is ready (software
initializes controller and clears SftDiscon bit).

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-09-16 14:05:18 +02:00
Lyle Zhu
bcf9a088f4 Bluetooth: tester: Add SDP discover command
Add commands `BTP_SDP_SEARCH_REQ`, `BTP_SDP_ATTR_REQ`, and
`BTP_SDP_SEARCH_ATTR_REQ`.

Add service record handle report event
`BTP_SDP_EV_SERVICE_RECORD_HANDLE`.

Handle the commands and call function `bt_sdp_discover()` to start the
SDP discovery.

And report the discovered service record handle if the request type is
`BTP_SDP_SEARCH_REQ`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-09-16 14:05:09 +02:00
Lyle Zhu
9d386edb4a Bluetooth: tester: Add service for SDP
Add service id BTP_SERVICE_ID_SDP=0x1f for SDP.

Implement function `tester_init_sdp` and `tester_unregister_sdp`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-09-16 14:05:09 +02:00
Thomas Stranger
9fad64c754 github: workflows: stale-workflow no branch filter for wf dispatch
workflow_dispatch can't filter on branches therefore remove it.
To keep the intended behaviour add a condition on main
to the job of the stale-workflow-queue-cleanup workflow.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-09-16 06:56:26 -04:00
Thomas Stranger
ecad2e9e27 github: workflows: bug_snapshot no branch filter for wf dispatch
workflow_dispatch can't filter on branches therefore remove it.
To keep the intended behaviour add a condition on main
to the job.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-09-16 06:56:26 -04:00
Thomas Stranger
29254eb655 github: workflows: compliance: remove ineffective check
The commit 7b1e610cc7 ("ci: move PR body check to a different workflow")
moved the step this depends on to the do_not_merge workflow,
so it no longer has any effect.

This extra message was initially added to the fail step to make it
easier to spot the issue. But I don't think it's necessary
in the do_not_merge workflow either now.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-09-16 06:56:16 -04:00
Gerson Fernando Budke
44406aea91 MAINTAINERS.yml: Remove nandojve as GD32 maintainer
Due to may current activities and lack of time I can not perform
anymore as GD32 maintainer. At same time, promoting soburi as new
maintainer.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-09-16 06:56:02 -04:00
Gerson Fernando Budke
0a091ef8fb MAINTAINERS.yml: Remove nandojve as BouffaloLab maintainer
The Bouffalo Lab has been evolved since it was introduced. It can now
grow in the hands of community. The platform is not isolated and there
is an active maintainer which is active working.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-09-16 06:55:16 -04:00
Andrew Davis
819479911d MAINTAINERS: Add dts/vendor/ti to TI K3 Platforms
This directory was added for the DT items common to both ARM (dts/arm) and
ARM64 (dts/arm64) cores for TI devices.

For now the only TI devices that share DT nodes between cores of different
architectures is the K3 family. If other TI devices start using this dir
then we can get more granular in the MAINTAINERS entry here. Until then
mark the whole directory as part of "TI K3 Platforms".

Signed-off-by: Andrew Davis <afd@ti.com>
2025-09-16 06:55:05 -04:00
Stephanos Ioannidis
f58de5f553 ci: maintainer_check: Check out "merged" MAINTAINERS.yml
When a pull request is based off an old commit in the base branch (usually
`main`), the MAINTAINERS file from the `pull/NUMBER/head` ref may contain
out-of-date changes, and running diff between it and the MAINTAINERS file
from the latest base branch may return more changes than what is actually
made in the pull request.

This commit updates the workflow to check out the MAINTAINERS file from the
`pull/NUMBER/merge` ref, which is a temporary ref created by GitHub with
the pull request commits merged into the base branch.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-09-16 06:52:28 -04:00
Anas Nashif
5ee0927540 ci: assigner: checkout merged west manifest
When a pull request is based off an old commit in the base branch (usually
`main`), the manifest file from the `pull/NUMBER/head` ref may contain
out-of-date changes, and running diff between it and the manifest file
from the latest base branch may return more changes than what is actually
made in the pull request.

This commit updates the workflow to check out the manifest file from the
`pull/NUMBER/merge` ref, which is a temporary ref created by GitHub with
the pull request commits merged into the base branch.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-16 06:52:17 -04:00
Piotr Pryga
eaede77351 dts: nrf54h20: Add zephyr,pm-device-runtime-auto; to uart instances
The uart driver for nRF54h20 doesn't call pm_device_runtime_enable().
During an uart driver init `pm_device_driver_init()` return early,
because the `pm_device_is_powered()` returns `false`. Power domains,
where uarts are instantiated, are disabled: `pm->domain->pm_base->state`
is not equal to `PM_DEVICE_STATE_ACTIVE`.

At the end of the day, an uart instance is left disabled.

This is a workaround to make the uart usable when CONFIG_PM,
CONFIG_PM_DEVICE and CONFIG_PM_DEVICE_RUNTIME are enabled.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2025-09-16 10:55:17 +01:00
Matthias Hauser
17e1429589 boards: we: update WE ophelia4 board definition
add support for gpregret1, nfct

Signed-off-by: Matthias Hauser <Matthias.Hauser@we-online.de>

Signed-off-by: Matthias Hauser <Matthias.Hauser@we-online.de>
2025-09-16 10:55:09 +01:00
Martin Hoff
0383b3cd9a tests: drivers: spi_loopback: Add xg29_rb4412a to spi rtio test
Included the xg29_rb4412a board in the list of tested platforms
for the SPI loopback rtio test.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-09-16 10:54:56 +01:00
Chun-Chieh Li
3f9b8e2010 drivers: misc: ethos_u: numaker: remove ethosu_set_basep_cache_mask
This follows change of ethos-u core driver (hal_ethos_u) which
removes cache flush/invalidate mask function ethosu_set_basep_cache_mask.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-09-16 10:54:34 +01:00
Etienne Carriere
1b5779f17c dts: arm: st: h7: remove HASH node from H755xx
Remove the hash node from STM32755x SoC DTSI. The node was broken
(wrong node name and compatible property) and seems unused and moreover
most STM32H7xx have an HASH peripheral so a proper fix would rather
be to add the node to all relevant SoC. This will be done later, if
the need arises and after proper validation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-09-16 10:54:26 +01:00
Matteo Vigni
caef47ba75 soc: st: stm32: stm32h7x: Add initialization of TCM
Add ITCM and DTCM initialization code in soc_reset_hook() on M7 core.

Signed-off-by: Matteo Vigni <mvigni@enphaseenergy.com>
2025-09-16 10:54:17 +01:00
Lyle Zhu
49157ea8fc Bluetooth: SDP: Check tail room of allocated buffer
In partial resolved notification case, there is a case that the tail
room of new allocated buffer is not bigger than the tail room of the
current receiving buffer. Since, the new allocated buffer has the same
size with the current receiving buffer, it means a complete SDP record
cannot fit into the allocated buffer. In this way, the following SDP
discovery should be stopped.

In partial resolved notification case, if the tail room of the new
allocated buffer is not more the tail room of the current receiving
buffer, reports the error `-ENOMEM` and stop the following SDP
discovery.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-09-16 09:56:13 +02:00
Lyle Zhu
624407840f Bluetooth: SDP: Partial resolved if no space for next SDP SSA discover
The minimum receiving buffer size is 0x0007. The following SDP
discovery should not be started if the space of the receiving buffer
is less than 0x0007.

If there is no more space of the receiving buffer for the next SDP SSA
discovery, try to notify the upper layer with the partial resolved.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-09-16 09:56:13 +02:00
Lyle Zhu
22c14df4dc Bluetooth: Classic: SDP: Check max attr byte count for req and rsp
In the SDP specification, the `MaximumAttributeByteCount` of SA and
SSA should be in range 0x0007-0xffff. But in the current
implementation, this value is not checked both SDP server and client
sides.

Check the `MaximumAttributeByteCount` when receiving the SA or SSA
request on SDP server side.

Check the tail room of the receiving buffer before sending the SA or
SSA request on SDP client side.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-09-16 09:56:13 +02:00
Paweł Pelikan
1192dbf24a tests: kernel: sleep: Adjustments for NRF54H20 PPR
Adjusting the max shortest ticks value for slow PPR core.

Signed-off-by: Paweł Pelikan <pawel.pelikan@nordicsemi.no>
2025-09-16 09:55:58 +02:00
Utsav Munendra
9c78de037f drivers: audio: codec: Include errno.h in header
Header uses errno so include it right here.

Signed-off-by: Utsav Munendra <utsavm@meta.com>
2025-09-16 09:55:39 +02:00
Joel Guittet
e475b43660 documentation: detail k_timer_start period update to be updated
k_timer_start is not updating the period of the timer if the duration
is K_FOREVER.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2025-09-16 09:55:21 +02:00
Phuc Pham
304194ed00 samples: boards: renesas: Add OpenAMP sample for Renesas RZ/V2L
Add OpenAMP sample support for board Renesas RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
5a193b2f7d soc: renesas: Add linker support for OpenAMP sample on Renesas RZ/V2L
Add linker support for OpenAMP sample on Renesas RZ/V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
f29a984b85 tests: drivers: mbox: Add MBOX support for Renesas RZ/V2L
Add MBOX test support for Renesas RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
84cc87fb04 boards: renesas: Add MBOX support for Renesas RZ/V2L
Add MBOX support for board Renesas RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
6151fb4d2b boards: renesas: Update document link for Renesas RZ/G3S
Update document link for board Renesas RZ/G3S-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
3b23090b88 dts: renesas: Add MBOX support for Renesas RZ/V2L
Add MBOX nodes to Renesas RZ/V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Phuc Pham
62116a7e74 manifest: Update commit id for hal_renesas
Update commit id for hal_renesas

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-16 09:54:57 +02:00
Jeremy Dick
0494e3c7f8 dts: arm: renesas: ra: Separate the OFS memory into individual regions
Create separate memory regions for each OFS register. With a single
region the linker will gap fill the load segment with zeros between
each option setting section that gets placed in the region when
generating the .elf file.

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-16 09:54:25 +02:00
Evan Perry Grove
3d224cf827 doc: boards: st: nucleo_f722ze: Improve documentation photo
The photo included in the documentation for the Nucleo F722ZE is of
poor quality. Replace it with a better photo.

Signed-off-by: Evan Perry Grove <evan@4grove.com>
2025-09-16 09:54:09 +02:00
Dmitrii Sharshakov
82e4fd84f4 jwt: fix signature length for JWT_SIGN_RSA_LEGACY
Fix the reference to the Kconfig item.

Fixes #73329

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-09-16 09:53:44 +02:00
Tom Chang
76d54c1a37 drivers: dma: npcx: add gdma support
This commit adds support for the GDMA functionality.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-09-16 09:53:30 +02:00
Tom Chang
62c38e0a0b dts: dma: npcx: add the gdma node and binding
This CL adds binding for npcx gdma and node to npck and npcx chip
series.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-09-16 09:53:30 +02:00
Tom Chang
f41532eb1b soc: npcx: update register definition for GDMA
This commit updates the GDMA register definitions to align with the
specifications of the chip series.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-09-16 09:53:30 +02:00
Tom Burdick
e8c676be47 rtio: More useful callback OPs
Callbacks now take a result parameter which may, if the callback was
linkd to by a previous submissions, have the result code from the last
submission.

Additionally the userdata is now const by default making it easier to
use the device pointer as the userdata which is very common.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2025-09-16 09:53:14 +02:00
Kai Cheng
3e03a658b0 Bluetooth: DID: add did profile
add did profile codes

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2025-09-16 09:52:53 +02:00
Benjamin Cabé
73ea9419c3 doc: contribute: guidelines: update copyright notice guidelines
Similar to SPDX-License-Identifier, there is a standard way to add
copyright notices to source code so update the guidelines so that
recommendation is that copyright notices are added using
SPDX-FileCopyrightText.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-15 19:47:16 -04:00
Adrian Bonislawski
8658ce5c9e drivers: dma: dw: Add power management state check in get_status
Add power management state validation in dw_dma_get_status() to ensure
the device is in active state before attempting to read DMA status.
Returns -EINVAL if device is not active, preventing potential issues
when accessing hardware registers while device is suspended.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2025-09-15 19:46:07 -04:00
Bjarki Arge Andreasen
5db84c7cb7 drivers: power_domain: introduce nrfs_swext device driver
Introduce nrfx_swext device driver for NRFS SWEXT power domain
device.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-15 19:45:44 -04:00
Bjarki Arge Andreasen
cf2e80d373 dts: bindings: introduce nordic,nrfs-swext
Introduce nordic NRFS SWEXT power domain bindings and add it to
relevant SoC devicetree files.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-15 19:45:44 -04:00
Emil Gydesen
15abc32ca0 doc: migration guide: Add entry for recent change to BT BAP SD
The Bluetooth BAP Scan Delegator had a minor behavioral change
that may affect a small subset of devices.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-15 19:45:23 -04:00
Emil Gydesen
397c8ee54c tests: Bluetooth: BAP: SD: Update test to set PA sync state
The Scan Delegator has been modified to not set the PA sync state
automatically anymore, so the test needed to be updated.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-15 19:45:23 -04:00
Emil Gydesen
64ea5334e4 Bluetooth: BAP: SD: Remove address lookups
Remove lookups in the Scan Delegator that relates to
the advertiser address. The reason for this, is that the
address is not considered a unique value for receive states,
since the address may change over time in the case of (N)RPAs.
Instead we shall rely exclusively on the address type, the sid
and the broadcast ID.

The implementation of the Scan Delegator and Broadcast Sink
has been updated to not use addresses for lookups anymore,
and there has been a minor API modification to set the
PA sync state as part of bt_bap_scan_delegator_add_src
as the higher layers are better suited to handle the
PA Sync state.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-15 19:45:23 -04:00
Ayush Singh
6f87c1c304 boards: beagle: pocketbeagle_2: mspm0l1105: Add debug
- Use GPIO bitbang using sysfsgpio openocd driver.
- Not using libgpiod driver since it does not support libgpiod v2 and
  above, which is what all the debian 13 images ship with.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-15 19:45:14 -04:00
Jordan Yates
295ccdb89d tests: drivers: build_all: test gain-extended-range
Validate the `current-sense-amplifier` driver builds when an instance
with `gain-extended-range` exists.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-09-15 19:44:36 -04:00