Commit graph

115340 commits

Author SHA1 Message Date
Camille BAUD
7521971de8 dts: bflb: Enable efuse driver on bl60x
This enables the driver by default, it will be needed at init in the future

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-05-19 10:11:58 +02:00
Camille BAUD
88387b44dc drivers: syscon: Introduce BFLB Efuse driver
This introduces a driver used to access bouffalolab efuses via syscon API

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-05-19 10:11:58 +02:00
Camille BAUD
22fa13083a west.yml: update hal_bouffalolab revision
This sets revision to the one with vendor headers from final hal version

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-05-19 10:11:58 +02:00
Connor Weekes
b5934e8dfe dts: bindings: adc: add io-channel-cells property to ti,ads1119
Added io-channel-cells to the binding as is standard for
the ads1x1x binding. Additionally, this prevents an issue where
you cannot compile due to the length of this property being
longer than expected.

Signed-off-by: Connor Weekes <cweek24@gmail.com>
2025-05-17 19:26:13 +02:00
Andrew Davis
f32bfb3116 boards: ti: sk_am64: Fix M4 DRAM memory offset
The memory offset starts the second DRAM memory area as if the resource
table took a whole 1MB, but it only takes 1KB. Shift the region start
address back to the right spot.

Update the docs to make the memory sizes more clear.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-05-17 19:26:03 +02:00
Maureen Helm
25c7fa4e63 boards: shields: adi: Add missing board images
A couple of ADI boards/shields were missing images. The images come from
their respective product pages on analog.com and then converted to webp
format.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-05-17 14:12:07 +02:00
Ederson de Souza
9741c25715 twister: More restrictive regex for log markers
Some simulators - like simics - may end up adding extraneous suffixes to
logged lines. This may cause some regex that match too much fail. This
patch fixes two such cases:

  - regex to find RunID changed to only match valid hexadecimal
    characters;
  - regex to match start of testsuite changed to only match valid word
    characters (0-9A-Za-z_).

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-05-17 14:11:45 +02:00
Benjamin Cabé
a58e65908c dts: bindings: add title property
This adds a proper, concise, title property to a bunch of bindings for
which the first sentence of their description (which used to be a
makeshift title) was really long

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-17 14:11:35 +02:00
Benjamin Cabé
51006fbe05 dts: input: Rework futaba,sbus description and title
A binding documentation shouldn't be referring to "driver", so this
commit reworks the description accordingly, and sets a title now that
binding files can have one.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-17 14:11:35 +02:00
Tahsin Mutlugun
fd3b73068b manifest: Update hal_adi to grab UART driver fixes
Pull in UART driver fix that will allow MAX32 UART driver work without
full libc.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-05-17 14:11:15 +02:00
Olexander Grin
5491bbf71a dts: boards: esp32c3_supermini: Fix active led level
Fix led active level to low according to schematic

Signed-off-by: Olexander Grin <alexander.grin.dev@gmail.com>
2025-05-17 14:10:49 +02:00
Anas Nashif
2aacbcaab5 style: add missing curly braces in if/while/for statements.
Add missing curly braces in if/while/for statements.

This is a style guideline we have that was not enforced in CI. All
issues fixed here were detected by sonarqube SCA.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-17 14:10:33 +02:00
Daniel Mangum
3675ff2c14 tests: lib: p4wq: turn of time slicing
Turns off time slicing as these tests do not expect time slicing and
previously operated without time slicing, but now fallback to the new
default of a time slice size of 20 added in e337b7b. This explicitly sets
the time slice size to 0.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-17 14:10:13 +02:00
Daniel Mangum
71c4476332 tests: kernel: usage: turn off time slicing in thread runtime stats tests
Turns off time slicing as these tests do not expect time slicing and
previously operated without time slicing, but now fallback to the new
default of a time slice size of 20 added in e337b7b. This explicitly sets
the time slice size to 0.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-17 14:10:13 +02:00
Wajdi ELMuhtadi
6353ba88b6 drivers: sensor: wsen_itds_2533020201601: add sensor driver
Add wsen_itds_2533020201601 driver with
the corrected name and compatibility with
the hal update as well as added new features.

Signed-off-by: Wajdi ELMuhtadi <wajdi.elmuhtadi@we-online.com>
2025-05-16 22:56:06 +02:00
Peter Mitsis
38243564b8 doc: Add reference to time slice Kconfig options
Updates the scheduling documentation to include references to the
time slicing Kconfig options to make them easier to notice.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-05-16 22:55:56 +02:00
Daniel Mangum
f47330edd8 tests: kernel: set timeslice size to 0 in tests that do not exercise it
Sets CONFIG_TIMESLICE_SIZE=0 for tests that previously expected to run
without timeslicing enabled, and now fail with the default
CONFIG_TIMESLICE_SIZE=20. Note that timeslicing functionality is still
included, but no actual timeslicing is performed.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-16 22:55:49 +02:00
Daniel Mangum
e337b7b65d kernel: sched: default TIMESLICE_SIZE to 20
Sets the default for CONFIG_TIMESLICE_SIZE to 20 to approximate the
historical clamping behavior that was removed in 405611d.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-05-16 22:55:49 +02:00
Rubin Gerritsen
577a004b32 drivers: spi: nrfx: Add explicit dependency to GPIO
This dependency was always there but not explicitly defined.
By adding the explicit dependency it becomes more obvious
what is wrong when SPI is enabled but GPIO disabled.

This was found when building `samples/bluetooth/peripheral`
for `nrf54l15dk/nrf54l15/cpuapp` with `CONFIG_GPIO=n`.

Before we got:
 - A linker error in `spi_nrfx_common.c` failing
   to reference some nrfx_gpiote APIs.
 - A linker error in `spi_nrfx_spim.c` failing to reference
   the GPIO dts entry.

Now we will get a warning of that GPIO is not enabled
With this it becomes more obvious that SPI driver is enabled by
default because of the external flash mounted on the DK.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2025-05-16 22:55:38 +02:00
Jamie McCrae
a1e66b4952 sysbuild: image_configurations: Add firmware loader dtc overlay file
Adds a devicetree overlay file for the firmware loader image which
sets the code partition to slot 1, which is where the firmware loader
image resides

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-05-16 21:37:01 +02:00
Jamie McCrae
1e73b581c6 sysbuild: Add support for image configuration dtc overlay files
Adds support for using image-specific configuration devicetree
overlay files

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-05-16 21:37:01 +02:00
Scott Worley
356827e4f4 tests: drivers: spi: loopback: Add Microchip MEC174x and MEC175x boards
Add Microchip MEC5 HAL based mec_assy6941 evaluation board to
the Zephyr SPI loopback driver test.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-05-16 21:36:50 +02:00
Scott Worley
53e17c4c22 drivers: spi: microchip: Add SPI driver for MEC5 HAL quad SPI
SPI driver for Microchip MEC5 HAL based QSPI controller. QSPI
hardware supports full duplex, dual, and quad operation. MEC5
QSPI controller also includes three local DMA channels per
direction to off load firmware. The driver API supports full
or half-duplex. Due to QSPI hardware not supporting one wire
half-duplex, this driver supports full-duplex only. QSPI hardware
design requires it to control chip select and current hardware
supports up to two chip selects. Zephyr's SPI DT macros store the
child SPI device's reg properity as the "slave" member of the SPI
configuration structure. The driver uses the "slave" value as the
chip select. Additional timing settings specific to SPI flash devices
are in a new SPI device YAM file: "microchip,mec5-qspi-device.yaml"
which includes the standard "spi-device.yaml". If the new YAML is not
used, the QSPI controller will use default timing values for chip
select and I/O line taps.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-05-16 21:36:50 +02:00
Luis Ubieda
035e651af0 tests: sensor: i2c: Add rm3100 to Build-all testsuite
For build-time validation.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-16 21:36:23 +02:00
Luis Ubieda
a13be2f320 sensor: rm3100: Add streaming mode
Compatible trigger: DRDY.

Tested with Sensor Shell commands.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-16 21:36:23 +02:00
Luis Ubieda
4dfe251986 sensor: rm3100: Add ODR build-time setting through DTS property
Using pre-defined values displayed on datasheet's table 5-4 for
CMM Update Rates.

Please note that datasheet specifies these Update-Rates may have
up to 7% standard deviation, which may be significant for certain
applications.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-16 21:36:23 +02:00
Luis Ubieda
c1f3e2c712 sensor: rm3100: Basic functionality
This patch introduces rm3100 magnetometer sensor, with basic
support (only read-decode).

This driver has bus support for I2C.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-16 21:36:23 +02:00
Yunshao Chiang
8f8b223ff2 drivers: crypto: add it51xxx sha256 driver
Implement a crypto sha256 driver for it51xxx series.

Signed-off-by: Yunshao Chiang <Yunshao.Chiang@ite.com.tw>
2025-05-16 19:07:37 +02:00
Erwan Gouriou
cec116c83f drivers: flash: xspi: Put delay block config under specific bit
On some series, use of Delay Block could be possible on OSPI device but
not on HSPI one (which uses this drivers).
As a quick fix check the presence of XSPI Delay Block by-pass
configuration bit instead of the Delay Block presence.

Note: This fix works because we don't have cases today where this driver
is used for OSPI and HSPI instances with mixed DLYB compatibility.
This may have to be reviewed one day and may require a more complex fix
with instantiable configuration, but this day may never come as well.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-05-16 19:07:23 +02:00
Tiffany Hsieh
9c1ab4f876 modules: mbedtls: fix PSA Kconfig file generation on Windows
When running in a Windows environment, convert the slash direction to
match that used in config.psa and config-psa.h to eliminate the issue.

Signed-off-by: Tiffany Hsieh <thsieh@atmosic.com>
2025-05-16 19:07:10 +02:00
Benjamin Cabé
08206688fd scripts: runners: nios2 runner has been dropped
Remove `nios2` from list of available runners as it's just been dropped
with commit 5fe84d5b69

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-16 19:02:34 +02:00
Aksel Skauge Mellbye
b633265986 doc: migration-guide-4.2: Silabs SoC DTS restructure
Describe changes users need to do in their out of tree board definitions
after the SoC DTS files have been moved into subdirectories.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
a05567b3ab dts: arm: silabs: Refactor xg29 directory
Align xg29 directory with other Series 2 families, introducing
separate .dtsi files per device family inheriting the common
xg29.dtsi file.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
ea383dee9c dts: arm: silabs: Move efr32bg27 to xg27 directory
Introduce subdirectory for xg27 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
96df30829e dts: arm: silabs: Move efr32mg24 to xg24 directory
Introduce subdirectory for xg24 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
8ab2f34d96 dts: arm: silabs: Move efr32zg23 to xg23 directory
Introduce subdirectory for xg23 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
9cea156611 dts: arm: silabs: Move efr32bg22 to xg22 directory
Introduce subdirectory for xg22 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Aksel Skauge Mellbye
d3c1f2786a dts: arm: silabs: Move efr32mg21 to xg21 directory
Introduce subdirectory for xg21 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-05-16 19:02:25 +02:00
Fabrice DJIATSA
5f9f29542a boards: st: stm32u083c_dk: correct arduino pin header
Arduino pn D10 is connected to port A pin 15

according to UM3292 - Rev 2.

This pin is used in tests/drivers/gpio/gpio_basic_api.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-05-16 19:02:17 +02:00
Peter Wang
2fc2c1dd2a boards: frdm_mcxa166, frdm_mcxa276: add spi support
1. enable spi support
2. verified tests/drivers/spi/spi_loopback

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
8405754a30 boards: frdm_mcxa166, frdm_mcxa276: add i2c support
1. enable i2c support
2. verified tests/drivers/i2c/i2c_target_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Peter Wang
073e04ce32 boards: frdm_mcxa166, frdm_mcxa276: add adc support
1. enable adc support
2. verified samples/drivers/adc/adc_dt and tests/drivers/adc/adc_api

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-05-16 19:01:50 +02:00
Neil Chen
ee598f912e samples: sensor: Add support for temperature sensor on FRDM_MCXA153
Add sample.sensor.thermometer_i3c support for mcxa153

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:31 +02:00
Neil Chen
4a32f352cc boards: nxp: frdm_mcxa153: Support i3c for NXP frdm_mcxa153 board
Support i3c for NXP frdm_mcxa153 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:31 +02:00
Neil Chen
960e015aba dts: arm/nxp: Add i3c nodes to NXP MCXA153 dtsi file
Add i3c nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:31 +02:00
Neil Chen
7ed7b3cc57 boards: nxp: frdm_mcxa153: Support lptmr for NXP frdm_mcxa153 board
Support lptmr for NXP frdm_mcxa153 board.
Test using tests/drivers/counter/counter_basic_api.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Neil Chen
e66e545e06 dts: arm/nxp: Add lptmr nodes to NXP MCXA153 dtsi file
Add lptmr nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Neil Chen
4a0157f106 boards: nxp: frdm_mcxa153: Support ctimer for NXP frdm_mcxa153 board
Support ctimer for NXP frdm_mcxa153 board, correct Core clock
frequency to 96MHz.
Test using tests/drivers/counter/counter_basic_api.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Neil Chen
e2ad92583f dts: arm/nxp: Add ctimer nodes to NXP MCXA153 dtsi file
Add ctimer nodes to NXP MCXA153 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-16 19:01:21 +02:00
Alex Rodriguez
e9fd7ecf69 tests: drivers: wdt: basic_reset_none: frdm_rw612: Enable standby mode
Enables system PM and standby mode to
verify that the wdt driver correctly handles
PM3 mode.

Signed-off-by: Alex Rodriguez <alejandro.rodriguezlimon@nxp.com>
2025-05-16 19:01:08 +02:00