Commit Graph

117866 Commits

Author SHA1 Message Date
Iuliana Prodan
9db96e8a04 lib: open-amp: Add vendor-specific config options
Add config options for vendor-specific resource tables.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Iuliana Prodan
222297ee07 lib: open-amp: Add base support for resource table
Introduce macros to define initialization
routines for OpenAMP resource table entries.

This will allow to extend the default OpenAMP
resource table with vendor-specific data structures.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Iuliana Prodan
e8a702026a lib: open-amp: Allow vendor specific resource table definition
Enhance flexibility by allowing vendors to define their own
resource tables. This is achieved by moving the vdev and vring
functions into the source file, requiring each vendor to
implement these functions within their specific resource
table definitions.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Iuliana Prodan
a50ddace58 lib: open-amp: Replace struct fw_resource_table with void
Switching to void allows greater flexibility in supporting
vendor-specific resource tables.

This change reverts commit 39863b66bd, and adds some fixes.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Benjamin Cabé
dc140c09ad SDK_VERSION: Use Zephyr SDK 0.17.2
This commit updates SDK_VERSION to point to the recently released Zephyr
SDK 0.17.2 release.
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.17.2

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 12:15:09 +02:00
Anas Nashif
4ca1f3eb4e ci: use 0.28.1 docker image with 0.17.2 sdk
Use new docker with SDK 0.17.2.

SDK 0.17.2 has a new Qemu with improved support for RX architecture.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-06-25 06:06:36 -04:00
Peter Wang
55db18bc06 boards: frdm_mcxa166, frdm_mcxa276: add i3c support
1. enable i3c driver and sensor p3t1755
2. verified samples/sensor/thermometer

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-06-25 10:53:50 +02:00
Pan Gao
e53ceeb86b net: l2: wifi: fix ap rts_threshold cmd parameter count
fix the number of mandatory arguments for command Wi-Fi ap RTS threshold,
3 to 2.

Signed-off-by: Pan Gao <pan.gao@nxp.com>
2025-06-25 10:53:40 +02:00
Benjamin Cabé
d30adebf91 drivers: espi: espi_mchp_xec: fix typo in receive_oob error checking
Check error using the proper RX mask

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 10:53:09 +02:00
Khoa Nguyen
6d910647e0 samples: modules: tflite-micro: Update Ethos-U driver config
Update Ethos-U driver config for sample app `tflm_ethosu`

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 10:52:48 +02:00
Khoa Nguyen
edb1840f64 drivers: misc: ethos_u: Create the ethos_u_common for every vendor
Seperate the ``ethos_u_common`` for every vendor and
``ethos_u_arm`` for sepcific Arm's boards. Enable vendors
to self-configure the init flow and IRQ handler.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 10:52:48 +02:00
Khoa Nguyen
c99f456cf1 modules: hal_ethos_u: Update ARM_ETHOS_U config
- Update to use ETHOS_U config instead of ARM_ETHOS_U
- Update prefix ETHOS_U_ for all configs that use ARM_ETHOS_U_

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 10:52:48 +02:00
Phi Tran
42b2624531 tests: pwm: Add overlay to support pwm on RX130
Add pwm property in tests/pwm to support PWM on RSK-RX130-512KB board.

Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
2025-06-25 10:52:34 +02:00
Quy Tran
e771f0094c boards: renesas: rx: Add MTU node property on RX130 board
Enables MTU on board on RSK-RX130

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-06-25 10:52:34 +02:00
Phi Tran
26f9fdf384 dts: renesas: update dts node in SoC layer to support pwm on RX130.
This commit to add node on RX130 dts to support pwm with MTU modules.

Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
2025-06-25 10:52:34 +02:00
Phi Tran
d8ab33ae96 drivers: pwm: Add support for PWM driver on RSK_RX130_512KB
This is initial commit to support PWM driver
on Renesas RX130 with MTU modules.

Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
2025-06-25 10:52:34 +02:00
Khaoula Bidani
065900b11f tests: drivers: uart: async_api: add stm32u3 boards overlays
Add UART test overlays for Nucleo U385RG-Q board.
Remove non serial boot conf file since they are now unnecessary.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-25 10:50:08 +02:00
Khaoula Bidani
73de66ba1a boards: st: stm32u3: update documentation for stm32u3 boards
update documentation to indicate that UART is
available on Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-25 10:50:08 +02:00
Alex Bucknall
6e79a94c4b boards: blues: Update Programmers Cygnet & Swan
Adds STM32Cube programmer to Swan and prioritises openocd

Signed-off-by: Alex Bucknall <alex.bucknall@gmail.com>
2025-06-25 10:49:58 +02:00
Alex Bucknall
435ae981ff boards: blues: Updates Cygnet & Swan
Adds missing vref & vbat to cygnet, disables discharge pins.

Signed-off-by: Alex Bucknall <alex.bucknall@gmail.com>
2025-06-25 10:49:58 +02:00
Benjamin Cabé
97324c93f8 drivers: video: esp32_dvp: use inclusive language
Replaced the term "master clock" by "main clock"

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 10:49:41 +02:00
Benjamin Cabé
4aac7c16aa drivers: video: use inclusive language
Replaced the term "master" by "primary" in video_ctrls.c/.h

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 10:49:41 +02:00
Benjamin Cabé
03696a0344 doc: hardware: porting: soc_porting: use consistent YAML indentation
Make all YAML snippets use the same kind of indentation for block
sequences.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 10:49:22 +02:00
Zhang Xingtao
d5863c3211 doc: hardware: porting: soc_porting: Fix missing dash in SoC family name
Add missing dash in the demonstration code snippets.

Signed-off-by: Zhang Xingtao <zhxt@live.cn>
2025-06-25 10:49:22 +02:00
Oleksii Shcherbyna
35608e295d drivers: fuel_gauge: Fix incorrect variable in bq27xx chem_id switch
The bq27xx driver incorrectly uses the 'val' variable in a switch()
statement that should operate on 'chem_id'. This leads to incorrect
behavior for fuel gauges such as the BQ27427, where the chemical ID
determines how properties are interpreted.

This commit replaces 'switch(val)' with 'switch(chem_id)' to ensure
proper handling of fuel gauge behavior across supported devices.

Signed-off-by: Oleksii Shcherbyna <oleksii.shcherbyna@droid-technologies.com>
2025-06-25 10:49:10 +02:00
Jiafei Pan
710e2fd243 boards: imx91_evk: add TPM counter support
Added counter in board yaml file, and enabled tpm2 by default.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 10:49:03 +02:00
Hou Zhiqiang
71c321dbed dts: arm64: nxp: imx91: add TPM device tree nodes
Added TPM device tree nodes.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 10:49:03 +02:00
Bartosz Miller
39b2451494 tests: boards: nrf: qdec: Disable testing of 2nd instance until fixed
Disable testing second QDEC instance until the issue with multiple
QDEC instances support is resolved

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-06-25 09:53:15 +02:00
Jiafei Pan
d5b9e74476 boards: imx8mp_evk: a53: enable FlexCAN on the board
Added dts nodes of FlexCAN1 and FlexCAN2 in SoC dts.
Added dts nodes and overlay in imx8mp_evk board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 09:52:56 +02:00
Jiafei Pan
298cfdac88 dts: bindings: flexcan: add rdc property
Add rdc property to let RDC driver to configure RDC for flexcan.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 09:52:56 +02:00
Jiafei Pan
ea24ec19e1 drivers: can: mcux: flexcan: add mmio mapping support
Use MMIO for device memory mapping, so that the driver can be used
both on MCU and MPU.

Add removed static MMU mapping in some platform accordingly.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 09:52:56 +02:00
Jiafei Pan
df0304ae09 drivers: clock_control: mcux_ccm: add flexcan clock support
Enable FlexCAN clock support on imx8mp.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-25 09:52:56 +02:00
Pisit Sawangvonganan
1757ea302c drivers: sensors: improve range check in sensor_value_from_float/double
Avoid undefined behavior caused by casting floating-point values outside
the int32_t range. The updated implementation explicitly validates input
bounds before performing conversions, ensuring consistent behavior across
platforms.

Added test cases to cover edge conditions near float rounding limits
and INT32 range boundaries.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-06-25 09:52:37 +02:00
Thao Luong
434d022742 soc: renesas: ra: Add support RA2L1 80 pins, 64 pins and 48 pins
Add support RA2L1 80 pins, 64 pins and 48 pins packages

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
040e4e85be dts: arm: renesas: ra2: Add support RA2L1 80 pins, 64 pins and 48 pins
Add support for RA2L1 80 pins, 64 pins and 48 pins packages.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
ee078f609b samples: drivers: dac: Add support ek_ra2l1 for dac sample
Add support ek_ra2l1 for dac sample

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
6f135938aa tests: drivers: dac: Add support ek_ra2l1 for dac test
Add support ek_ra2l1 on dac_api and dac_loopback tests.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
c040a9e6c4 tests: drivers: adc: Add support ek_ra2l1 for adc test
Add support ek_ra2l1 for adc_api and adc_accurarcy_test

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
741da64e97 tests: drivers: pwm: Add support ek_ra2l1 for pwm test
Add support for ek_ra2l1 on pwm_api and pwm_loopback tests.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
ac27c998d7 tests: drivers: i2c: Add support ek_ra2l1 for i2c_api test
Add support ek_ra2l1 for i2c_api test.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
e2267bd59e tests: drivers: spi: Add support ek_ra2l1 for spi_loopback test
Add support for ek_ra2l1 on spi_loopback.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
7dcdcf18cd drivers: spi: Add support for ra2l1
RA2L1 doesn't support for SPI Hardware Peripgheral Select.
Disable this config as default in RA2L1

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
3559cfe889 boards: renesas: ek_ra2l1: Add support for entropy, adc, dac and buttons
Add support for entropy, adc, dac and buttons (s1 and s2)

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thao Luong
6fedc33354 dts: arm: renesas: Add trng, spi, pwm, counter, i2c, adc and dac for ra2l1
Add support for trng, spi, pwm (gpt), counter (agt), i2c (iic_master),
adc and dac for RA2L1.
Add external interrupt for RA2L1.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Daniel DeGrasse
6f08a6ef5d tests: net: mgmt: define request handler properly
Define the request handler properly within the net mgmt test. This is
required for the alias() attribute to work correctly with clang. Also,
correct the handler signature to use size_t as expected. This resolves a
test failure seen with clang when building the net mgmt test for
native_sim.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-06-25 09:51:56 +02:00
Daniel DeGrasse
640958de1d drivers: sensor: npm13xx_charger: fix build warnings from native_sim
Fix the following build warnings highlighted in this driver while
building with clang targeting native_sim:

- exp() expects a double, so passing a float would cause type promotion
- variable declarations within C switch statements are a C23 specific
  extension

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-06-25 09:51:18 +02:00
Benjamin Cabé
350a5ef394 drivers: display: ssd1322: fix out-of-bound access
Fix memory corruption issue where buffer pointer was not being advanced
properly due to missing dereference.

Fixes Coverity issue CID 434607
Fixes zephyrproject-rtos/zephyr#81957

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-24 20:14:31 -10:00
Benjamin Cabé
1b93ce7226 drivers: sensor: paj7620: fix return value of paj7620_get_hw_id()
Use a local signed variable to store negative return values instead of
unsigned previously so that errors are actually detected/returned.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-24 20:13:57 -10:00
Alain Volmat
d9c935c00e video: gc2145: convert to multi-instance driver
Allow the driver to be instanciated multiple times.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Alain Volmat
96955744c6 video: gc2145: set default fmt at variable declaration
Set the default format at the moment of variable declaration
in gc2145_init function.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00