Commit graph

116763 commits

Author SHA1 Message Date
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
Pieter De Gendt
6af247e227 scripts: logging: dictionary: database_gen: 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
Duy Nguyen
9e5aa827bb tests: drivers: spi: Add configuration for SPI test on RX130
Add device tree overlay for spi test on RSKRX130 board

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-06-09 08:55:05 +02:00
Duy Nguyen
87560b2f1a boards: renesas: Add SPI property node for RSK_RX130 board
This commit update pin control setup and spi node enable
for RSKRX130 board

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-06-09 08:55:05 +02:00
Duy Nguyen
e7c025db24 drivers: spi: Initial support SPI driver on Renesas RX130
Initial commit for SPI driver support on RSK_RX130@512KB board
with RSPI module

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-06-09 08:55:05 +02:00
Quy Tran
22b373cefd manifest: hal_renesas: Update commit ID for SPI HAL support
Update commit ID for hal_renesas for SPI support

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-06-09 08:55:05 +02:00
Benjamin Cabé
98ba754013 drivers: sensor: infineon: fix typo in calibration gain assertion
Corrected a typo in the calibration gain assertion

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-07 15:39:15 +01:00
TOKITA Hiroshi
77d1276446 tests: drivers: entropy: api: add qemu_cortex_a53 configuration
Add `qemu_cortex_a53` target which has the `virtio,entropy` device.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
TOKITA Hiroshi
dd9b85f749 tests: drivers: build_all: virtio: add VIRTIO MMIO build test
Add the `qemu_cortex_a53` configuration to run the build test
for the VIRTIO MMIO driver.
To add this test, we have split the virtio-pci and virtio-mmio test cases.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
TOKITA Hiroshi
a6dec8ee4a boards: qemu: cortex_a53: add virtio-mmio configuration
Add `virtio-mmio` nodes that are retrieved from qemu internal
devicetree dump, to dts.

Also, enable the virtio-rng device on the command line.

Note: Ideally, it would be possible to dynamically generate the
command line by looking at the devicetree state,
but this PR is a fixed implementation to simplify it.
This will be addressed separately.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
TOKITA Hiroshi
3f7e8f498e drivers: virtio: add VIRTIO MMIO transport driver
Add virtio-mmio driver

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00
TOKITA Hiroshi
3720c9b805 drivers: entropy: virtio: Unify the notation to VIRTIO
Since `VirtIO` is not the official notation,
unify the name to `VIRTIO`.
In the text, `Virtio` and `virtio` can also be used
depending on the context.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-06-07 15:39:06 +01:00