Commit graph

136,983 commits

Author SHA1 Message Date
Ayush Singh
5e2e40f64c boards: beagleboard: pocketbeagle_2: m4: Add rpmsg uart
- Add rpmsg uart in dt.
- Not enabling it by default yet.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-03-16 18:58:35 -05:00
Ayush Singh
c1e14900b0 drivers: serial: Add RPMSG UART
A lot of BeagleBoard.org boards contain SOCs with co-processors such as
M4F in AM62x (PocketBeagle 2 [0]), R5s in AM67A (BeagleY-AI [1]). In such
targets, the application is normally loaded by the Linux host using
remoteproc.

There have been some out of tree patches to have micropython and other
Zephyr applications output to allow having a console without requiring
manual connections. This patch attempts to provide a more concrete and
upstream way to have that functionality.

The implementation uses existing rpmsg service subsystem.

Only implemented poll_out

Tested on PocketBeagle 2 M4F core.

[0]: https://docs.zephyrproject.org/latest/boards/beagle/pocketbeagle_2/doc/index.html
[1]: https://docs.zephyrproject.org/latest/boards/beagle/beagley_ai/doc/index.html

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-03-16 18:58:35 -05:00
Ayush Singh
4979d81f75 ipc: rpmsg_service: Add openamp resource table support
Use resource table when CONFIG_OPENAMP_RSC_TABLE is enabled.

Tested with PocketBeagle 2 (M4 core running Zephyr)

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-03-16 18:58:35 -05:00
Cherrence Sarip
79e6e32f79 drivers: pwm: add support for MAX2221X pwm
Implements PWM driver support for the MAX22216/MAX22217 device.
This driver integrates with the Zephyr PWM API and uses the parent
MFD device to perform register access.

Signed-off-by: Cherrence Sarip <cherrence.sarip@analog.com>
2026-03-16 10:09:16 -04:00
Cherrence Sarip
d5c0edf4fb drivers: misc: add support for MAX2221X misc
Add MISC driver support for the MAX22216/MAX22217 device.
The driver provides miscellaneous functions and uses the parent
MFD device for register access.

Signed-off-by: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
Signed-off-by: Cherrence Sarip <cherrence.sarip@analog.com>
2026-03-16 10:09:16 -04:00
Cherrence Sarip
5aa97fbc7b drivers: mfd: add support for MAX2221X multi-function device
Implements SPI-based register access (read, write, update) for the
MAX22216/MAX22217 multi-function device.

Signed-off-by: Cherrence Sarip <cherrence.sarip@analog.com>
2026-03-16 10:09:16 -04:00
Jiafei Pan
17d344c660 boards: imx91_evk: add spsdk runner support
Added SPSDK runner support, it could be used to flash Zephyr image.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-16 10:09:06 -04:00
Jiafei Pan
2785fcfd2d boards: frdm_imx91: add spsdk runner support
Added SPSDK runner support, it could be used to flash Zephyr image.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-16 10:09:06 -04:00
Jiafei Pan
dd9748f623 west.yml: update hal_nxp revision
Update hal_nxp to include imx91 boot firmware blob.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-16 10:09:06 -04:00
Felipe Neves
89de9b7ca9 video: ov5640: fix out of bounds
control initialization by setting the control array first.

Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
2026-03-16 10:08:54 -04:00
Emil Gydesen
1c676bea8a doc: releases: Add entry for BT_TBS_SUPPORTED_FEATURES
The option was removed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:08:42 -04:00
Emil Gydesen
b908885ec9 Bluetooth: TBS: Remove BT_TBS_SUPPORTED_FEATURES
Remove the Kconfig option BT_TBS_SUPPORTED_FEATURES as it was
not used by the subsystem, but only by applications.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:08:42 -04:00
Emil Gydesen
f8b573e7a3 Bluetooth: CCP: Modify get_bearer_uci to use output buffer
Modify bt_ccp_call_control_server_get_bearer_uci to
store the bearer UCI in an output buffer, instead of just
providing the pointer.

The reason for this is to make the result thread safe, and
avoid the user/application having a direct pointer to
internal storage.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:08:29 -04:00
Filip Kokosinski
f15880782b boards/hifive_unmatched: remove deprecated commands
Otherwise, the following warnings were reported:

    Open On-Chip Debugger 0.12.0-01018-gb89d626c6 (2025-08-15-10:01)
    Licensed under GNU GPL v2
    For bug reports, read
    	http://openocd.org/doc/doxygen/bugs.html
    DEPRECATED! use 'ftdi device_desc' not 'ftdi_device_desc'
    DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'
    DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'
    DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2026-03-16 10:08:20 -04:00
Filip Kokosinski
8b14fa7180 boards/hifive_unmatched: add support for west flash
Configure the OpenOCD runner to use ELF file type, and update the
documentation to point the user to the `west flash` command.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2026-03-16 10:08:20 -04:00
Erdem Simsek
4d6ac079d9 samples: subsys: ipc: ipc_service: icmsg: Extend support for nRF7120
Adds support to ipc_service:icmsg sample for nRF7120.

Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
2026-03-16 10:08:08 -04:00
Erdem Simsek
a71a9fd9d1 ipc_service: icmsg: Update state information before bound request
Set state before bound callback. The callback may trigger
icmsg_send which requires CONNECTED state.

Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
2026-03-16 10:08:08 -04:00
Andy Lin
6cb74ad968 arch: riscv: Add -msave-restore option to reduce code footprint
Add `-msave-restore` option to reduce the code footprint
of function prologue and epilogue.

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
2026-03-16 10:07:57 -04:00
Emil Gydesen
5f5f198289 Bluetooth: CAP: Make CAP cancel thread safe
The functions bt_cap_commander_cancel and
bt_cap_initiator_unicast_audio_cancel were not thread safe,
and calling these while handling e.g. a notifications
or a write response could cause fatal errors.

This commit modifies active_proc so that all access to it
is guarded by a mutex.

Some functions were modified to take the active_proc as an
argument, instead of calling bt_cap_common_get_active_proc
for performance reasons.

This also means that all the atomic fields can now be
treated like regular fields. This has not been done in this
commit to keep the changes minimal.

The design is that only the function that calls
bt_cap_common_get_active_proc should unlock it again.
If a function gets the actice_proc as an argument, it should
not unlock or complete it.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:07:47 -04:00
Tony Han
82c0b4ec69 boards: microchip: sama7g54_ek: fix the error "Filed to load MAC"
The error "Filed to load MAC" is introduced by commit cf0d1b877e
which does not update the MAC address support for sama7g54-ek. Fix
it by updating the dts nodes of gmac0 and gmac1.

fixes: #96598

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-16 10:07:40 -04:00
Emil Gydesen
6750321dfc Bluetooth: BAP: UC: Do not set up data path twice
Move the call to bt_bap_setup_iso_data_path to the state_changed
clause in unicast_client_ep_streaming_state.

bt_bap_setup_iso_data_path should only be called once, as calling it
again would be rejected by the controller.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:07:30 -04:00
Lauren Murphy
890eb11be9 llext: memblk kconfigs in docs
Adds missing descriptions of sys_mem_blocks heap Kconfigs.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-16 10:07:20 -04:00
Lauren Murphy
8bcc333e65 llext: custom sections for heap
Places heaps in custom sections with default placements.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-16 10:07:20 -04:00
Emil Gydesen
7eea50b0c6 Bluetooth: BAP: UC: Simplify disconnect handler
A recent change in the host made it so that CIS always
disconnect before the ACL. This means that we do not need
to handle the case when the ACL disconnects before the CIS,
and the ACL and CIS disconnect handlers can thus be
simplified.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:07:09 -04:00
Stanislav Poboril
e214a3a987 boards: frdm_mcxa577: add nxp_t1s_phy support
1. enable nxp_t1s_phy support
2. add board variant frdm_mcxa577_mcxa577_t1s using nxp_t1s_phy
3. verified using samples/net/zperf

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
2026-03-16 10:07:00 -04:00
Stanislav Poboril
71d1dd85d1 drivers: ethernet: phy: nxp_t1s_phy: add NXP 10BASE-T1S driver
Add driver for 10BASE-T1S digital PHY found on some NXP SoCs.

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
2026-03-16 10:07:00 -04:00
Stanislav Poboril
d625627578 dts: bindings: ethernet: phy: split PLCA settings
split dts bindings for reuse of 10BASE-T1S PLCA attributes

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
2026-03-16 10:07:00 -04:00
Stanislav Poboril
e36f597c96 boards: frdm_mcxa577: add enet_qos support
1. adjusted enet_qos driver to cope with features missing on mcxa577
2. enabled enet_qos support
3. verified samples/net/zperf

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
2026-03-16 10:07:00 -04:00
Stanislav Poboril
92b97cc596 drivers: ethernet: eth_nxp_enet_qos_mac: support for half-duplex mode
Mode is no longer fixed to full-duplex, it is set to half-duplex or
full-duplex in PHY callback.

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
2026-03-16 10:07:00 -04:00
Josuah Demangeon
c3de04ac09 doc: release: 4.4: video: add VIDEO_PIX_FMT_...8P16 formats
New formats added for the HM01B0 image sensor.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 10:06:44 -04:00
Josuah Demangeon
f527724abf drivers: video: add formats: 8-bit padded to 16-bit
Add padded formats as seen on Himax image sensors used with 8-bit
DVP receivers, where half of the pins are used, leading to empty
bits in memory. This replaces the Y4 format which is 8-bit despite
only giving 4-bit filled with data per byte.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 10:06:44 -04:00
Josuah Demangeon
a96e56c9fd drivers: video: code formatting fixups
Adjust some formatting and documentation glitches.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-16 10:06:44 -04:00
Emil Gydesen
ad2b15d23b doc: releases: Add entry for BT ctlr Kconfig adv feat changes
Some Kconfig values now don't depend on
CONFIG_BT_CTLR_ADVANCED_FEATURES.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:06:34 -04:00
Emil Gydesen
ead2218beb Bluetooth: Controller: Moved non-advanced Kconfigs from adv feats
Move BT_CTLR_ADV_AUX_SET, BT_CTLR_ADV_SYNC_SET and
BT_CTLR_ADV_DATA_BUF_MAX out from the menu "Advanced features"
as they are not really advances, and users should be able to
adjust these values without enabling BT_CTLR_ADVANCED_FEATURES.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:06:34 -04:00
Emil Gydesen
02ef624438 tests: Bluetooth: Audio: Shell: Fix ctlr bcast stream cnt
Set the CONFIG_BT_CTLR_SYNC_ISO_STREAM_MAX and
CONFIG_BT_CTLR_ADV_ISO_STREAM_MAX to match the
CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT and
CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT count.

This also fixes a compile issue since
CONFIG_BT_ISO_MAX_CHAN=2 and the controller configs
cannot be higher than this.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 10:06:22 -04:00
Jimmy Zheng
78a516dfd4 tests: riscv: clear-pmp-unlocked-entries: filter out switch through ecall
This test attempts to clear all non-locked PMP entries, including the
PMP catch all entry required by the PMP stack guard.

When CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL is enabled, this trigger
stack guard in is_kernel_syscall after the test finishes and attempts to
switch out.

This doesn't happen when CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL is
disabled, because the atch all entry is restored before the stack guard
is enabled.

Therefore, only filter out CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL in
this test.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2026-03-16 10:06:11 -04:00
Jimmy Zheng
9e4def9ba1 arch: riscv: pmp: fix PMP stack guard failure when switch through ecall
When CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL and CONFIG_PMP_STACK_GUARD
are enabled, the first context switch enables the stack guard
(mstatus.MPRV and MPP) in is_kernel_syscall. However, there is no proper
catch-all PMP entry during early kernel initialization.

This change uses CONFIG_PMP_KERNEL_MODE_DYNAMIC (selected by
CONFIG_MEM_ATT, CONFIG_PMP_NO_LOCK_GLOBAL, and CONFIG_PMP_STACK_GUARD) to
configure a catch-all PMP entry in pmp initialization.

Although a catch-all entry is not required when
CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL is disabled, using it keeps the
PMP setup simpler and more consistent.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2026-03-16 10:06:11 -04:00
Krzysztof Chruściński
0ca8d2cbd0 drivers: spi: nrfx_spis: Add missing pinctrl initial stage
Driver initialization is expected to keep the driver in the
suspended stage before calling pm_device_driver_init. It means
that initialization should set pinctrl SLEEP stage. Nordic SPIS
driver was not doing that. If device runtime PM was enabled it
resulted in pins being in the default state when it was expected
that they are in the sleep state.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-03-16 10:06:00 -04:00
Peter Ujfalusi
4d8b77c6c3 logging: mtrace: Reset host and dsp pointer during init
After power on the slot memory used for mtrace has not been initialized
and it's content is filled with 0xff.
The first log out will try to use 0xffffffff as host and dsp pointer, which
is not something which should be done.

Set both pointers to 0 as after DSP reset this is the expected value on
host side and also on firmware side.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2026-03-16 10:05:50 -04:00
Michał Stasiak
1038bd14b0 drivers: mspi: allow using MSPI type for nrf-qspi-v2 binding
MSPI type is just a rename of QSPI type. Code
provided for nrf-qspi-v2 binding should work with both.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
374598306e soc: nordic: nrf54h: update bicrgen range
HFXO.STARTUPTIME is the last register to generate
BICR from.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
139f3f528f modules: hal_nordic: nrfx: add nrfx TDM driver
Added Kconfig option to allow using nrfx-based
Time Division Multiplexed audio interface driver.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
19e4189ad9 modules: hal_nordic: nrfx: add nrfx KMU driver
Add Kconfig option enabling nrfx KMU driver
so that it can be used.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
f20fee2431 soc: nordic: gppi_init: change included header
Name of included header has changed.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
19d6a35eef modules: hal_nordic: introduce nRF91 anomaly 36 config
Added Kconfig that allows enabling nRF91 anomaly 36
workaround. Added translation to MDK-based symbol
in mdk_config.h.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
649d99a3dc modules: hal_nordic: add mdk_config file
Adding mdk_config header which will work as
a glue layer between nrfx-based MDK and Kconfig
symbols.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Michał Stasiak
16ed748c3d manifest: update hal_nordic revision to integrate nrfx 4.2.0
Updated hal_nordic manifest.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-16 10:05:41 -04:00
Arthur Gay
65af02827e net: lib: http_server: Fix missing error check for websocket key
The call to psa_hash_compute may silently fail if Zephyr is not compiled
with support for the SHA1 algorithm enabled. This leads to an invalid
Sec-WebSocket-Accept response header.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-03-16 12:33:22 +01:00
Arthur Gay
bb1cf2579f net: lib: http_server: Fix missing dependency
The websocket server needs SHA1 algorithm to compute response header
Sec-Websocket-Accept.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-03-16 12:33:22 +01:00
Tien Nguyen
9e59e1479d drivers: spi: add missing p_reg initialize in extended configurations
add missing p_reg initialize in extended configurations

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-16 12:32:50 +01:00