Commit graph

136,983 commits

Author SHA1 Message Date
Hoang Nguyen
17f27877c6 soc: renesas: Add initial support for Renesas RZ/G3E
Add initial support for Renesas RZ/G3E

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-03 13:28:32 +01:00
Lyle Zhu
7f8064f5bc bluetooth: classic: GOEP: refactor RFCOMM initialization
Extract common GOEP RFCOMM initialization logic into a separate function
to eliminate code duplication between accept and connect paths.

- Add new goep_rfcomm_init() function containing shared initialization:
  * MTU calculation and validation
  * Transport operations registration
  * RFCOMM DLC configuration
  * GOEP state setup
- Update goep_rfcomm_accept() to use the new init function
- Update bt_goep_transport_rfcomm_connect() to use the new init function

This refactoring reduces code duplication and ensures consistent
initialization behavior for both server (accept) and client (connect)
code paths.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-03 13:27:25 +01:00
Lyle Zhu
5103438833 bluetooth: classic: GOEP: refactor L2CAP initialization
Extract common GOEP L2CAP initialization logic into a separate function
to eliminate code duplication between accept and connect paths.

- Add new goep_l2cap_init() function containing shared initialization:
  * MTU calculation and validation
  * Transport operations registration
  * L2CAP channel configuration
  * GOEP state setup
- Update goep_l2cap_accept() to use the new init function
- Update bt_goep_transport_l2cap_connect() to use the new init function

This refactoring reduces code duplication and ensures consistent
initialization behavior for both server (accept) and client (connect)
code paths.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-03 13:27:25 +01:00
Mert Vatansever
867a5afd4d boards: adi: Enable rtc counter on MAX78000 boards
Enable rtc counter on MAX78000EVKIT and MAX78000FTHR boards.

Signed-off-by: Mert Vatansever <mert.vatansever@analog.com>
2026-03-03 11:29:58 +01:00
Y Huynh
41ab6863e0 soc: renesas: rx: Init RX clocks in soc_early_init_hook
The clock initialization for RX devices is not appropriate when it is
placed under the root clock node. Without an external fixed clock on the
board, the clock is never initialized. Therefore, the clock
setup must be handled inside soc_early_init_hook.

Signed-off-by: Y Huynh <y.huynh.xw@renesas.com>
2026-03-03 11:29:36 +01:00
Dong Wang
eff76ca0d8 manifest: hal_intel: Update hal_intel to latest version
Two important changes:
- i2c: Add work-around to make i2c scan work
- dma: Add axi dma driver for ISH 5.8.0

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2026-03-03 11:29:15 +01:00
Hui Bai
1ea2e5be64 drivers: wifi: nxp: Reconfigure bandcfg when disabling AP
Reconfigure the bandcfg when disabling AP so that the band
configurations are match between hostapd and wifi driver.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2026-03-03 11:28:51 +01:00
Mustafa Taher
6a4d18b036 drivers: stepper: gpio_stepper: fixing naming inconsistency
rename gpio_step_dir.c to gpio_step_dir_stepper_ctrl.c
rename h_bridge_stepper.c to h_bridge_stepper_ctrl.c
remover zephyr prefix from gpio_step_dir_stepper_ctrl.c structs
add ctrl suffix to h_bridge_stepper_ctrl.c structs and function
rename in kconfig to match
adds a prefix STEPPER_ in cmake to comply the changes in the kconfig

Signed-off-by: Mustafa Taher <mustafataherramp@gmail.com>
2026-03-03 11:28:12 +01:00
John Batch
304fdce920 drivers: gpio: Infineon: enable input+output mode and bug fixes
- Enables GPIO input+output mode to enable gpio_api_1pin test
- Retains current pin state when no output init flag specified.
- Adds pull up register validation, sets pull up register in
  both pull-up and pull-up+pull-down cases.

Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-03 11:26:53 +01:00
John Batch
ff093ee750 drivers: gpio: Infineon: refactor drive mode selection into helpers
Refactors the drive mode selection logic for input and output pins into
dedicated helper functions.

Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-03 11:26:53 +01:00
Maochen Wang
6427718226 manifest: update hal_nxp to fetch RW612 and IW610 FW
update RW612 FW version to 6.p55
update IW610 FW version to 5.p89

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-03-03 11:26:19 +01:00
Raffael Rostagno
72fb9bf4b0 drivers: systimer: xtensa: Add CCOUNT compensation
Add CCOUNT compensation for time spent in LPM mode (CPU stalled).
Add sys_clock_idle_exit() for dticks announcement when leaving LPM.
Add hooks for SoC specific implementation of LP timer timestamp call.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-03-03 11:17:51 +01:00
Alex Ciascai
e575733f4d bluetooth: tbs: fix Dialing -> Alerting transition handling for PTS VRC
This change ensure that TBS bearers promote dialing -> alerting
independently of GTBS. GTBS no longer blocks the state transitions,
promotion only waits for the bearer's own pending notifications to
clear, preserving notification ordering. GTBS continues to aggregate
the updated state correctly

Signed-off-by: Alex Ciascai <alexandru.ciascai@nordicsemi.no>
2026-03-03 11:17:18 +01:00
Mathieu Choplain
9ec2cd318f drivers: usb: dc: stm32: don't invoke callbacks from ISR context
Modify driver to process interrupts from upper half ISR then signal a
bottom half ISR thread which performs callback invokation. This ensures
callbacks run in thread context which is necessary for proper operation of
various classes.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-03 11:16:21 +01:00
Emil Gydesen
f04042714d Bluetooth: BAP: Unicast Client: Handle unexpected ASE IDs
If we receive a control point notification with an ASE ID that
does not match any existing streams, i.e. audio_stream_by_ep_id
returns NULL, we should not continue by calling the subsequent
functions like unicast_client_notify_ep_config with a NULL stream.

A single notification may contain multiple ASE IDs; if any of them
are unknown, we can either reject the entire notification, or
we can ignore the specific ASE ID. For now, ignore the
specific ASE ID to do a best effort to continue with
any other changes.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-03 11:15:45 +01:00
Vincent Tardy
789bc91302 west.yml: update hal_stm32 revision for cube wba release 1.8.0
Update hal_stm32 revision to support
stm32wba cube release 1.8.0

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Vincent Tardy
05f7e6ab0e drivers: bluetooth: hci: stm32wba: fix semaphore issue in send process
In the bt_hci_stm32wba_send() function, in case of the function
bt_buf_get_evt() fails, call k_sem_give() before return.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Vincent Tardy
0bc65088a3 drivers: ieee802154: Restore channel during driver start api
Restore the channel in the stm32wba_802154_start()
function because channel is reset by the link layer
when the stm32wba_802154_ral_sleep() is called
in the stm32wba_802154_stop() function.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Vincent Tardy
9b5182fea1 drivers: ieee802154: Manage continuous reception config in start/stop
Disable continuous reception when ieee802154 stop
is called.
Configure continuous reception when ieee802154 start
is called.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Vincent Tardy
584bc2f3cb soc: st: stm32wba: hci_if: Add AES CCM Computation
Add BLEPLAT_AesCcmCrypt() function required by
the stm32wba ble library in the release
STM32Cube_FW_WBA_V1.8.0

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Vincent Tardy
dee7f1d701 drivers: flash: stm32wba: add Flash Module initialization
Add FM_Init() function call in the Flash driver initialization
to initialize the Flash Module.
This function is introduced by the STM32Cube_FW_WBA_V1.8.0
release.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Rasmus Moeller
99a10b3cbc samples: bluetooth: hap_ha: add PACS locations and stream enable
This change introduces:

- Registration of stream \`enabled\` callback and automatic start of sink
  ASEs when the client enables them.
- Initialization of PACS locations for both Sink and Source directions,
  including proper handling of HA_LEFT / HA_RIGHT / Banded profiles.
- Publication of Supported and Available Audio Contexts for Sink and
  Source, ensuring the sample exposes the correct capabilities.
- Stream ops registration for all allocated streams.
- Minor cleanup around capabilities and PACS registration flow.
- Add board config for nrf5340 audio,

Signed-off-by: Rasmus Moeller <rslm@demant.com>
2026-03-03 11:11:58 +01:00
Emil Gydesen
6eb77788af Bluetooth: MCS: Dont discard notifications on read
Remove calls to atomic_clear_bit on reads. Even if a characterstic
is read while there is a pending notification, we shall
(as per the MCS spec) still send the notification.

There are 3 special cases for long (string) values, where we
need to know the difference between a changed value (pending
for notification), and a value that has changed since last
read. To support this, these 3 cases now have _DIRTY flags
to indicate that the values are dirty and must be read from
the beginning again.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-03 11:11:03 +01:00
James Liu
7a03e6e36b boards: shields: Add mchp_rnbd451_bt
Add board support for the Microchip RNBD451 shield.
This shield is compatible with a development board that includes a
mikroBUS socket.

Signed-off-by: James Liu <James.Liu2@microchip.com>
2026-03-03 11:10:15 +01:00
James Liu
25483ee02a boards: microchip: sam_e54_xpro: Add SERCOM ports
Expand SERCOM serial ports in the sam_e54_xpro board. This add and
enable sercom0, sercom1 and sercom5 ports which are located in the
xplained pro header. It makes use of the microchip,xpro-header to
easy use with shields.

Signed-off-by: James Liu <James.Liu2@microchip.com>
2026-03-03 11:10:15 +01:00
James Liu
e3b3a1747c boards: microchip: sam_e54_xpro: Binding to xprpo-header
Add xprpo-header support in sam_e54_xpro

Signed-off-by: James Liu <James.Liu2@microchip.com>
2026-03-03 11:10:15 +01:00
James Liu
c4e6ec699e dts: bindings: Add xprpo-header
The Xplained Pro layout provide a standard 20 pin header.  A board
can have one or more headers and can share pins.  The extension
headers are given names EXTn where n ϵ [1…7], n is determined by
which ID pin is connected to the embedded debugger.

Signed-off-by: James Liu <James.Liu2@microchip.com>
2026-03-03 11:10:15 +01:00
Yongxu Wang
8a4046610a drivers: mcux_lptmr_timer: support tickless function
When tickless is enabled, it is necessary to ensure
that lptmr can be set for a period of time instead of generating
an interrupt at one tick.

LPTMR hardware does not synchronize writes to the
compare register (CMR)
If CMR is changed exactly when the counter increments,
the hardware may compare part of the counter against
the old CMR value and part against the new one, leading to TCF
being set incorrectly on some SoCs.

Reorder the update sequence to:
- disable the LPTMR interrupt,
- clear TCF,
- write the new CMR,
- re-enable the interrupt.

This provides a safe workaround for tickless mode case.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
c3ecf9b959 drivers: timer: mcux_lptmr: add prescaler bypass support
Add support for prescaler bypass configuration via devicetree
property. This aligns the timer driver with the counter driver
implementation.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
0bea1d7223 soc: nxp: imx95: use lptmr as system tick
use lptmr timer as system tick source

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
f4a0a7cfec test: counter_basic_api: add imx95 evk m7 support
Enable lptmr interface to support counter_basic_api test case

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
19b13ee696 board: nxp: imx95_evk: set lptmr1 interface
enable lptmr1 interface as default for system timer

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
6db6526708 dts: arm: nxp: imx95_m7: add lptmr1 node
add lptmr1 node into imx95 m7 dts which locate on Always On
domain and can continue work when whole soc enter system sleep mode

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Yongxu Wang
a761cdeee1 test: ram_context_for_isr: remove imx95 flash target
fix twister build issue, remove imx95 flash target from this test case

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Fin Maaß
28b719792e MAINTAINERS.yml: add maass-hamburg to networking ethernet area
The ethenernet drivers area is deeply connected to the ethernet
networking area, therefore add me here as a collaborator.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-02 16:01:33 -08:00
Marc Herbert
9fd3aa04e6 west: zcmake.py: do not drop CMake outputs on failure, log them instead
When everything goes well, run_cmake() returns the combined stdout+stderr
from CMake. But when CMake fails, it was raising a Python exception with
the barely useful exit status and discarding all messages. Use log.err()
to print CMake outputs on failure.

This issue was reported on Discord: someone had a Python version lower
than the minimum currently required by listsdk.cmake and there was zero
useful message. Running listsdk.cmake directly showed the issue.  Error
handling: never tested much.

Fixes commit 31bdad5299 ("west: Implement CMake helpers in
scripts/west_commands")

Signed-off-by: Marc Herbert <marc.herbert@gmail.com>
2026-03-02 16:01:17 -08:00
Tim Pambor
db35a360bd drivers: mspi: stm32_xspi: fix error for valid CE polarity
Logic for error handling for CE polarity was inverted, causing
configuration to incorrectly return early without completing
the configuration when a valid CE polarity was provided.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-02 16:00:25 -08:00
Robert Perkel
e4cb24ccdd samples: sensor: mtch9010
Added reference to app note

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2026-03-02 15:59:56 -08:00
Tahsin Mutlugun
b3c0247789 drivers: counter: max32: Correctly handle external clock frequency
On MAX32 SoCs, some timer instances can use an external clock input.
This commit ensures that when the external clock is selected as the
source, its frequency is read and used correctly.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-02 15:59:25 -08:00
Tahsin Mutlugun
c86873dae1 dts: arm: adi: max32: Add fixed-clock nodes for LPTMR external inputs
Some low-power timers (LPTMR) on MAX32 SoCs support external clock
sources. Add fixed-clock nodes to the devicetree files of such SoCs
to represent these external clock inputs.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-02 15:59:25 -08:00
Tahsin Mutlugun
e6c6866c70 manifest: update hal_adi for low-power timer external clock fixes
Update the hal_adi module to include recent fixes related to external
clock input configuration for low-power timer instances.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-02 15:59:25 -08:00
Tahsin Mutlugun
2226976c56 drivers: counter: max32: Add pinctrl support for timer I/O signals
MAX32 timers can optionally use external input/output pins.
Enable pinctrl support in the counter driver so these pins
can be properly configured via device tree.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-02 15:59:25 -08:00
Pete Johanson
cbce2868e5 boards: adi: Expose feather SPI/I2C bus nodes for MAX32655FTHR
Add feather_spi/feather_i2c node labels to the configured buses, and adjust
the power source for those pins to ensure compatability with feather(wing)
shields using SPI/I2C.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-02 15:58:59 -08:00
Pisit Sawangvonganan
a8791c8c4d settings: make NVS and ZMS store interface instances const
Mark `settings_nvs_itf` and `settings_zms_itf` as `const` since
they are statically defined interface tables that are never
modified at runtime.

This lets the compiler place them in read-only storage and
trims RAM usage.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-03-02 15:58:35 -08:00
Pete Johanson
0e3fcdfeb0 drivers: ad559x: Make reset-gpios optional
Properly handle the scenario where the reset GPIO is not connected, and
simply rely on software reset during init.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-02 15:57:40 -08:00
Adam Wojasinski
5b32348c1b net: ptp: Fix undefined bitwise shift in port management
Add bounds checking to PTP management interval parameters to prevent
undefined behavior from bitwise shift operations.

The port_timer_set_timeout() and port_timer_set_timeout_random()
functions perform left and right shift operations using the
log_announce_interval and log_sync_interval values as shift counts.
Without bounds validation, these int8_t parameters could be set to
extreme values (e.g., via PTP management messages) that exceed the
valid shift range, causing undefined behavior.

(C11, 6.5.7p3)
> If the value of the right operand is negative or is greater than
or equal to the width of the promoted left operand,
the behavior is undefined

(C++11, 5.8p1)
> The behavior is undefined if the right operand is negative,
or greater than or equal to the length in bits of the promoted
left operand.

Limit both log_announce_interval and log_sync_interval to the range
[-63, 63] using MIN/MAX macros when accepting values from PTP management
frames. This range is preventing shift operations outside
the 64-bit width used in the timeout calculations.

Fixes: GHSA-3v98-458v-388r

Signed-off-by: Adam Wojasinski <awojasinski@baylibre.com>
2026-03-02 15:57:04 -08:00
Jamie McCrae
62030ada2f dts: vendor: nordic: Rename nrf54l05 partition file
Renames this file to have the CPU core in the filename to align
with other files, this seemingly was missed when the other files
were renamed

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-02 15:56:29 -08:00
Michał Stasiak
b379badf41 drivers: audio: nrfx_pdm: allow requesting ACLK clock
Now that requesting ACLK made it into PDM driver,
allow it on target with CLKSELECT as long as
clock control is enabled.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-02 15:55:59 -08:00
Michał Stasiak
4b0191ae6c modules: hal_nordic: add support for more PRS boxes
Added Kconfig options to select more PRS boxes.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-03-02 15:55:16 -08:00
Tommi Kangas
f7f9830638 boards: nordic: nrf9280pdk: Add workaround for SoC1.1 GRTC issue
Added a workaround for nRF9280 SoC1.1 GRTC related issue.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
2026-03-02 15:54:49 -08:00