Commit graph

126,787 commits

Author SHA1 Message Date
Alberto Escolar Piedras
789a0a8da7 boards/raytac: Change Nordic license to Apache
For yaml files we do not normally even add a license, but if any it
should be Apache2 and not the Nordic one.
Note there is plenty of examples of yaml files very similar to this
in the Zephyr tree. So even if the author/submitter of the original
commit could have used as starting point a file from NCS, it would have
been the same if he would have used a Zephyr one.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-06-24 15:39:38 -05:00
Alberto Escolar Piedras
570f73f20e boards/ezurio: Change Nordic license to Apache
For yaml files we do not normally even add a license, but if any it
should be Apache2 and not the Nordic one.
Note there is plenty of examples of yaml files very similar to this
in the Zephyr tree. So even if the author/submitter of the original
commit could have used as starting point a file from NCS, it would have
been the same if he would have used a Zephyr one.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-06-24 15:39:38 -05:00
Fin Maaß
67e736a58c drivers: ethernet: phy: phy_qualcomm_ar8031: fix speeds undeclared
fix `speeds` undeclared.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-24 15:38:45 -05:00
Marc Lasch
86dbcd2cf2 net: lwm2m: Make Bootstrap on Registration Failure configurable
The fallback to Bootstrap on a Registration Failure might not be desirable
for some applications. This change makes the default behavior configure
through Kconfig.

An alternative to configure "Bootstrap on Registration Failure" would be to
set the server object resource id 16 at runtime. However, this is tedious
and error-prone, as it will be reset when the server object is deleted and
might have to be set at different locations in the client code.

Signed-off-by: Marc Lasch <marc.lasch@husqvarnagroup.com>
2025-06-24 15:38:27 -05:00
Marc Lasch
4c46b0bc8b net: lwm2m: Fix typo in bootstrap_on_fail
Bootstrap vs. Boostrap.

Signed-off-by: Marc Lasch <marc.lasch@husqvarnagroup.com>
2025-06-24 15:38:27 -05:00
Youssef Zini
baf53b3328 boards: add uart5 as console and shell-UART
Add UART5 as zephyr console and shell-UART device by default and ensure
its corresponding GPIOG node is enabled.
Add USART6 as a disabled node for potential use.
Enable UART support to the STM32MP257F-EV1 board configuration and add
the shell feature in the yaml.

Signed-off-by: Youssef Zini <youssef.zini@savoirfairelinux.com>
2025-06-24 15:37:57 -05:00
Youssef Zini
be12fa104f dts: arm: st: stm32mp2_m33.dtsi: add uart/usart
Add UART/USART nodes in non-secure context to the device tree for
STM32MP2 SoC.

Signed-off-by: Youssef Zini <youssef.zini@savoirfairelinux.com>
2025-06-24 15:37:57 -05:00
Youssef Zini
03d3075dc8 drivers: clock_control: add uart clock handling
Add clock bindings for UART/USART (1-9) peripherals in the
`stm32mp2_clock.h`.
Add UART/USART clocks rate reading to the STM32MP2 clock driver.

Signed-off-by: Youssef Zini <youssef.zini@savoirfairelinux.com>
2025-06-24 15:37:57 -05:00
Youssef Zini
98b4f4e62e dts: arm: st: stm32mp2_m33.dtsi: add rctl node
Add the reset controller node to the STM32MP2 M33 device tree source
file.

Signed-off-by: Youssef Zini <youssef.zini@savoirfairelinux.com>
2025-06-24 15:37:57 -05:00
Youssef Zini
a2d09e61a3 dt-bindings: stm32mp2_reset.h: add reset bindings
Add reset bindings for UART/USART (1-9) peripherals for the STM32MP2
series.

Signed-off-by: Youssef Zini <youssef.zini@savoirfairelinux.com>
2025-06-24 15:37:57 -05:00
Eric Mechin
62a1b8a306 drivers: flash: STM32WBA flash_stm32wba_fm.c: fix sector erase error
The STM32WBA Flash Manager driver is failing to erase a sector, instead of
erasing one sector, two sectors are erased.
Fix it by correctly calculating the number of sectors to erase

Signed-off-by: Eric Mechin <eric.mechin@st.com>
2025-06-24 15:37:41 -05:00
Robert Hancock
f8b4a04186 drivers: mdio: mdio_xilinx_axienet: Add access timeouts
Previously if the MDIO access failed to complete, the driver could enter
an infinite busy loop. Add timeouts to fail the operation if the
hardware fails to respond within a reasonable time.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2025-06-24 15:37:24 -05:00
Robert Hancock
e673f1851f drivers: mdio: mdio_xilinx_axienet: Reduce log levels
Reduce log messages which can be triggered noisily by some PHY
drivers to debug level.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2025-06-24 15:37:24 -05:00
Kapil Bhatt
900a7a915f doc: networking: Add wifi credentials library document
Add document for wifi credentials library, which use to load
and store credentials.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-06-24 15:36:34 -05:00
Sylvio Alves
36fdcfd761 samples: counter: add esp32c2 soc overlay
esp8684_devkitm board build is failing due to
missing overlay file, which enables timer/counter.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-06-24 15:36:15 -05:00
Gang Li
75ac644ee3 drivers: wifi: nxp: enable net monitor mode on IW610
Enable CONFIG_NXP_WIFI_NET_MONITOR,
       CONFIG_NXP_WIFI_HOST_TXRX_MGMT_FRAME,
       CONFIG_NXP_WIFI_MMSF on IW610.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-24 15:36:04 -05:00
Vinayak Kariappa Chettimada
fe348bce8e Bluetooth: Controller: Fixup ticker reschedule with drift
If the next ticker is too close then hop over it when
rescheduling a ticker with drift in slot window is used.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-06-24 15:35:51 -05:00
Lucien Zhao
7f45bbed3c samples: drivers: i2s/i2s_codec: support case on rt700
put __16kHz16bit_stereo_sine_pcm buffer into nocache region
Do some settings for rt700 cm33_cpu0 core

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Lucien Zhao
63a7a9308e boards: nxp: support sai0 instance
enable sai0 clock
config sai0 pin
add codec8962 support

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Lucien Zhao
fc293803f3 dts: arm: nxp: support sai instances on rt700 cm33 cpu0
add 3 sai instances on cm33 cpu0
add pinmux-cells in lpc-syscon.yaml

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Lucien Zhao
2bcec4c67e soc: nxp: imxrt7xx: set I2S_HAS_PLL_SETTING as n
The existing SAI diver cannot initialize the PLL on the
board, so the PLL settings will not be performed in the
driver.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Lucien Zhao
585a85ac55 drivers: clock_control: support rt700 getting sai clock
There are multi sai instance shared on clock source on
cm33_cpu0, clock driver don't need index parameter, so
modify clock driver to adapt clock driver.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Lucien Zhao
7101c7257c drivers: dma: dma_mcux_edma.c: add xcache support for tcd pool
XCACHE has been designed for RT700, tcd pool need to be put in
noncache region, update driver to support

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Miguel Gazquez
798dc5c976 soc: wch: Add packages for the ch32v303
Add the different packages of the CH32V303

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2025-06-24 15:34:42 -05:00
Miguel Gazquez
de0ef827cd dts: wch: add gpioe bank to ch32v303
Adds the gpioe bank to the ch32v303 devicetree.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2025-06-24 15:34:42 -05:00
Miguel Gazquez
1f5a281e9b dts: wch: fix ngpios for some WCH SoCs
The CH32V20x and CH32V30x SoCs have 16 pins per GPIO bank, but in the
devicetree, `ngpios` was incorrectly set to 8.
Fix the devicetrees by setting the correct value.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2025-06-24 15:34:42 -05:00
Emil Gydesen
4adabb49da Bluetooth: BAP: Use IN_RANGE in bt_bap_base_get_base_from_ad
This simplyfies the checks in the function a bit, and makes
Sonarcloud happy.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-06-24 15:34:17 -05:00
Emil Gydesen
c8ac20f2b2 Bluetooth: Audio: Add missing default case for bt_audio_dir_str
The switch was missing a default case as per the coding
guidelines.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-06-24 15:34:01 -05:00
Emil Gydesen
ae6b33be07 Bluetooth: CSIP: Remove excess + at start of link for test_k
Removed the excess +.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-06-24 15:33:41 -05:00
Yunshao Chiang
5a2765da26 drivers: comparator: add it51xxx_evb analog comparator driver
Add analog comparator driver for ITE it51xxx chip.

Signed-off-by: Yunshao Chiang <Yunshao.Chiang@ite.com.tw>
2025-06-24 15:33:17 -05:00
Chris Friedt
97519002ad sys: clock: re-apply change to Z_IS_TIMEOUT_RELATIVE
A mid-air collision between two different changes to sys_clock.h
resulted in a test failure.

```shell
tests/kernel/timer/timer_api/src/main.c:763:
  timer_api_test_timeout_abs: Z_IS_TIMEOUT_RELATIVE(t2) is false
```

Re-apply the change that was added in

9075d53355

to keep tests running smoothly.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 11:25:51 -04:00
Khaoula Bidani
f2c37c4b13 tests: drivers: spi: spi_loopback: add stm32u3 boards overlays
add SPI loopback test overlays for Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-24 14:22:58 +02:00
Khaoula Bidani
df7d9ba90d boards: st: stm32u3: enable spi for stm32u3 boards
Enable SPI for Nucleo U385RG_Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-24 14:22:58 +02:00
Khaoula Bidani
29c7500360 dts: arm: st: u3: add spi
Add SPI support to STM32U3

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-24 14:22:58 +02:00
Tallplay Lin
da4b8ec802 drivers: gpio: Support gpio_pin_get_config_dt
Add CONFIG_GPIO_GET_CONFIG feature to gpio_cmsdk_ahb.c

Signed-off-by: Tallplay Lin <tlin@atmosic.com>
2025-06-24 14:22:49 +02:00
Tien Nguyen
7368758bd1 soc: renesas: rz: Update Renesas RZ/V2N, RZ/V2L according to RZ/V2H
Porting gp_renesas_isr_context variable used in FSP interrupt source
to unify with RZ/V2H and prevent build error since they share the same
hal_renesas source code.

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
7d21bdfb38 tests: drivers: gpio: Add support for RZ/V2H-EVK R8 core
Add support for RZ/V2H-EVK R8 core

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
23bf54f330 boards: renesas: Add support for Renesas RZ/V2H-EVK R8 core
Add support for Renesas RZ/V2H-EVK R8 core

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
cff21ea2be dts: arm: renesas: Add support for Renesas RZ/V2H R8 core
Add devicetree to support for Renesas RZ/V2H R8 core

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
9688b7510f soc: renesas: Add support for Renesas RZ/V2H R8 core
Add support for Renesas RZ/V2H R8 core

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
f0acbd6402 manifest: Update commit id for hal_renesas
Update commit id for hal_renesas

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Tien Nguyen
b8215ec539 dts: bindings: Add CPU device bindings for Cortex-R8
This commit adds device bindings for Cortex-R8

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-24 14:22:43 +02:00
Maochen Wang
1e5b21f487 drivers: wifi: nxp: add Kconfig of NXP_WIFI_AUTO_INIT
Automatically initialize NXP Wi-Fi driver and FW for Wi-Fi networking
operation. Disable this setting if Wi-Fi module will be used for
non-Wi-Fi use cases (manufacturing/calibration/test).

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-06-24 14:20:02 +02:00
Davi Herculano
c3dd356f1a soc: imxrt10xx: fix SAI3 pll clock config
Fix the sai3 case in imxrt_audio_codec_pll_init which
was using sai2 constants.

Signed-off-by: Davi Herculano <herculanodavi@gmail.com>
2025-06-24 14:19:43 +02:00
Benjamin Cabé
f3b028ac3a tests: drivers: disk: add test for loopback_disk_access_unregister
Make sure this previously uncovered function is tested.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-24 14:19:33 +02:00
Fabio Baltieri
1914050f3c bindings: uart-bridge: add PM hooks
Add PM hooks to release or reattach the serial ports from the bridge.
Does not save power per se but allows switch the lower level serial
ports for something else in runtime.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-24 14:19:24 +02:00
Fabio Baltieri
f2934c8b8a bindings: uart-bridge: add missing base include
Add missing base include for the uart-bridge binding.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-24 14:19:24 +02:00
Chris Friedt
c08544a87b sys: clock: merge sys_clock.h into sys/clock.h
Merge sys_clock.h into sys/clock.h and preserve the original header.

This allows us to use a slightly more intuitive name for the
sys/clock.h header, while reducing churn throughout the codebase.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00
Chris Friedt
45b3dbd008 samples: net: remove POSIX_TIMERS and XSI_SINGLE_PROCESS
Remove POSIX_TIMERS and XSI_SINGLE_PROCESS dependencies from the aws
cloud sample and the lwm2m client sample, as they are no longer
required.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00
Chris Friedt
03db50b79d net: remove dependency on posix for iso c time() function
The ISO C function time() should not depend on POSIX and this was
corrected recently via the common libc time() implementation.

Remove this dependency from the network subsystem where it has
been unduly needed for some time.

Similarly, XSI_SINGLE_PROCESS was a dependency for time() via
picolibc, because the time() implementation in picolibc relies
on the POSIX gettimeofday() call.

However, since Zephyr's common libc time() implementation no longer
depends on that, it can be removed as a dependency in the network
subsystem as well.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00