Commit graph

116624 commits

Author SHA1 Message Date
Sudan Landge
5a3c4941a2 pinctrl: add support for mps4
Add MPS4 pinctrl support by referring to
`mps4/common/partition/platform_base_address.h`
from TF-M's main branch.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Sudan Landge
d1e830fe0d boards: arm: add support for MPS4 Corstone-320
Add initial support for the MPS4 Corstone-320 platform, including board
and SoC definitions. This platform features a Cortex-M85 CPU with an
Ethos-U85 NPU and runs in simulation using the FVP_Corstone_SSE-320
Fixed Virtual Platform.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Raffael Rostagno
5ba88753cc wifi: esp32s3: Fix IRQ allocation
Update HAL to fix wifi IRQ allocation for ESP32-S3.
HAL code depends on ESP_WIFI_TASK_CORE_ID symbol to properly build
the reserved IRQs table. If define is not present, IRQ 0 (wifi) is
not reserved, causing interrupt allocation problems.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:33:12 -07:00
Gang Li
306d9afa90 boards: shields: nxp_m2_wifi_bt: add nxp_m2_2ll_wifi_bt module
Added seperate shield overlay for supported M.2 2LL module to enable
BT or WIFI or Both.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Guotao Zhang
b2c4397185 drivers: bluetooth: hci: nxp: add Kconfig for IW610
Add Kconfig BT_NXP_IW610.

Signed-off-by: Guotao Zhang <guotao.zhang@nxp.com>
2025-06-09 14:30:04 -07:00
Gang Li
6b62df129b drivers: wifi: nxp: add Kconfig for IW610
Add Kconfig NXP_IW610, NXP_IW610_MURATA_2LL_M2,
NXP_IW610_RD_USD

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Gang Li
299ebfb812 manifest: update hal_nxp to add support for IW610
Add support for IW610

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Chaitanya Tata
f4b58982e7 manifest: nrf_wifi: Pull TX optimization
Pull fix to free TX packets early once handed over to nRF70.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-06-09 14:29:25 -07:00
Julien Racki
31460e667a arch: arm: clear r7 to match aarch64 smp implementation
move mov r7, #0 to use it on both branches as aarch64
implementation uses wzr which returns 0 on read
but r7 might have an undefined value after a reset.

Signed-off-by: Julien Racki <julien.racki@st.com>
2025-06-09 14:28:50 -07:00
Harris Tomy
ab6c6b44f3 dts: stm32u5: Removes trailing 'U's in dt props
Integers in devicetree are always signed.
See https://github.com/zephyrproject-rtos/zephyr/pull/89978#discussion_r2124113613

signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Harris Tomy
d280d89214 dts/kconfig: stm32u5: add f9 and clean up dts node locations
Adds skeleton dtsi for u5f9 for u5g9 to inherit from

Moves the peripheral nodes into dtsi's that actually has the peripheral
and includes them for SoC's higher in the series where applicable.

signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Harris Tomy
97876b5d1e dts: stm32u5: add memory package variants
Corrects stm32u53/45xx variants and adds u575Xg and u599Xi

Signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Fabio Baltieri
c1b36d7ea7 boards/shields: arduino: add few zephyr_i2c labels
Some of these are allegedly ESLOV connectors and have an extra
identification pin, but there's adapters on the market to use them with
qwiic modules, let's label them so they can be used with other
zephyr_i2c shields.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
c90c2eb0ea boards: add the zephyr_i2c to a bunch of adafruit and sparkfun boards
These boards have a JST SH I2C connector, add the zephyr_i2c label so
they can be used with shields made for those modules.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
3df8b15db7 boards: use zephyr_i2c instead of grove_i2c
These are equivalent and there's adapters on the market, having a single
label allows using it shields with any other board with connectorized
i2c busses.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
34954d19be boards: use zephyr_i2c instead of stemmma_qt_i2c
Change the two current instances of stemma_qt_i2c to zephyr_i2c, using
an unified label allows using this in shields.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Jordan Yates
25249a010a dts: st: stm32l4p5: re-add SDMMC idma property
The `idma` property added in 94847be1 was removed in the re-organisation
in 306dea6f. Re-add the property at a more generic location.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:27:03 +01:00
Pieter De Gendt
e5759f469a scripts: zephyr_module.py: Take EXTRA_ZEPHYR_MODULES variable into account
When running purely with Python, the extra modules set with environment
variables are not taken into account.
If left empty, check the environment variables.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 10:26:54 +01:00
Phuc Pham
8b438d2288 tests: drivers: gpio: Add support for RZ/G2UL-SMARC
Enable GPIO driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
14ab7d8494 drivers: gpio: Add support for RZ/G2UL
Add GPIO support for RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
6c15907b7a tests: drivers: serial: Add support for Renesas RZ/G2UL-SMARC
Enable serial driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
da26dbd08a drivers: pinctrl: Add support for Renesas RZ/G2UL
Add pinctrl support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
82b4a05946 boards: renesas: Add minimal support for Renesas RZ/G2UL-SMARC
Add minimal support for board Renesas RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
872d5cfc14 dts: arm: renesas: Add support for Renesas RZ/G2UL
Add devicetree to support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
adeaad5e6f soc: renesas: Add initial support for Renesas RZ/G2UL
Add initial support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Takuya Sasaki
330848cfdc dts: scobc_a1: Add FPGA related definitions
Adds SC-OBC Module A1 FPGA System Register and System Monitor
definitions to DTS.

  - System Register
    Registers for system control of SC-OBC Module A1
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#org19067cd

  - System Monitor
    Module for monitoring the SC-OBC Module A1 system
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#org8832978

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
cf1dc334f5 boards: scobc_a1: Fix YAMLLint error
Fixes the YAMLLint error as below:

   YAMLLint (indentation):wrong indentation: expected 4 but found 2
   File:boards/sc/scobc_a1/board.yml
   Line:12
   Column:3

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
3638c435af boards: scobc_a1: Change HRMEM and UART definitions
The following changes have been made in the FM (Flight Model) of the
`SC-OBC Module A1`:

  - Change in the UART Core register address
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#orgecb2e01

  - Change in the size of HRMEM (High-Reliability Memory)
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#orgc3b1ecc

As a result, we have defined the EM board revision as `1.0.0` and the
FM as `2.0.0`. The EM configuration has been moved to
`scobc_a1_1_0_0.overlay`.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
bfabc50da4 boards: scobc_a1: Increase number of IRQs
Increase number of IRQs for SC-OBC Module A1 to 32, including
reserved entries.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
9c97bdd373 doc: scobc_a1: Rename board name
Rename the board name to `scobc-a1`, and update the board's full name
to `SC-OBC Module A1`. And update the output of the `Hello World`
sample to match the latest Zephyr version.
Then, The supported feature section was replaced with a hw-directive
block.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
479ea7a387 boards: scobc_a1: Rename board name to scobc-a1
In the EM (Engineering Model), the board was referred to as
"Space Cubics Module 1". Starting with the FM (Flight Model) release,
we are officially renaming it to:

  `SC-OBC Module A1`

Accordingly, the board name is updated from `scobc_module1` to
`scobc_a1`.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Fabrice DJIATSA
054efe6f7a tests: drivers: adc: adc_api: boards: turn of time slicing
set CONFIG_TIMESLICE_SIZE to 0 to disable time slicing.

Certain boards like nucleo_g071rb, nucleo_f091rc,
nucleo_l073rz will not start consecutive samplings as fast
as possible.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-06-09 10:26:03 +01:00
Jordan Yates
5f5a534445 tests: adc: adc_rescale: test adc_raw_to_microvolts_dt
Test that the output of `adc_raw_to_microvolts_dt` matches the output of
`adc_raw_to_millivolts_dt` to the resolution of the latter.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00
Jordan Yates
c0ca636692 adc: add microvolt conversion functions
Add a family of functions that convert to microvolts instead of
millivolts. The resolution of an ADC with a 600 mV reference and a 12
bit output (nRF SAADC for example) is an order of magnitude better than
millivolts (0.146 mV), even before considering non-unity gains.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00
Jordan Yates
8ab300d63e adc: 64bit gain inversion function
Add a variant of `adc_gain_invert` that operates on an `int64_t` instead
of `int32_t`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00
Chris Friedt
4b52921df5 tests: posix: xsi_single_process: remove unnecessary min_ram filter
The xsi single process test suite requires something like 256 bytes
of heap space. There is no legitimate reason to require 24kB of
ram.

This gets rid of a twister error

```
Error found: portability.xsi.single_process.newlib on
qemu_cortex_m0/nrf51822 (Not enough RAM but is one of the integration
platforms)
```

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-09 08:57:14 +02:00
Benjamin Cabé
4524bdf9f5 drivers: clock_control: rpi_pico: fix frequency count typo
fixed what looked like a copy-paste error

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 08:56:33 +02:00
Benjamin Cabé
998ee87635 drivers: flash: use negative errno in Renesas RA HP
fixed an incorrect "return EINVAL" where it should
be -EINVAL.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 08:56:19 +02:00
Loic Domaigne
0cc0034eba boards: arduino: uno_r4: enable all ioports needed by the arduino header
The arduino Uno R4 has only ioport1 enabled in the dts. The arduino
header however uses ioport0,1,3 [minima variant] and ioport 0,1,3,4
[wifi variant]. This causes a build failure for some of the pins.

This change makes sure than an application can use any arduino pins.

Signed-off-by: Loic Domaigne <tech@domaigne.com>
2025-06-09 08:56:11 +02:00
Jiafei Pan
cc4b5ee048 boards: imx93_evk: refine board document
Refine the board document to address Zephyr could run both Cortex-A
Core and Cortex-M33 Core.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-09 08:55:58 +02:00
Tim Lin
9d67375d66 MAINTAINERS: Add maintainer for ITE EC platform and drivers
Add maintainer for ITE EC board, SoC, and driver files.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-06-09 08:55:44 +02:00
Arkadiusz Cholewinski
471aa1b477 PM: Record metrics in power management tests
Add metrics recording functionality to power management tests.

Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
2025-06-09 08:55:31 +02:00
Pieter De Gendt
ffeca1695a scripts: logging: dictionary: log_parser: Fix linter issues
Fix issues reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
3a8106b598 scripts: logging: dictionary: utils: Fix redundant open flags
Fix issue reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
5759f5584e scripts: logging: dictionary: mipi_syst: Format imports
Fix format issue reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
57df7883b9 scripts: logging: dictionary: log_parser_v3: Fix linter issues
Fix issues reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
18a8e5c5b5 scripts: logging: dictionary: log_parser_v1: Fix linter issues
Fix issues reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
03fbe7fb3f scripts: logging: dictionary: log_parser: Format imports
Fix formatting issue reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
4fdd6c6cdc scripts: logging: dictionary: log_database: Fix linter issues
Fix issues reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00
Pieter De Gendt
00727ed5b1 scripts: logging: dictionary: data_types: Fix linter issues
Fix issues reported by ruff.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 08:55:14 +02:00