Commit graph

118,807 commits

Author SHA1 Message Date
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
Alain Volmat
28e12468fb video: gc2145: switch to usage of video cci interface
Use video cci helper functions to access to the sensor.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Alain Volmat
49c5481aa5 video: gc2145: avoid odd even row switch by default
This bit would be used in order to generate several variants
of Bayer formats, however it shouldn't be enabled for YUV/RGB
formats by default.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Alain Volmat
8e8d7211f3 video: gc2145: fix wrong OUTPUT_FMT / SYNC_MODE macro used
Correct wrong macro GC2145_REG_OUTPUT_FMT / GC2145_REG_SYNC_MODE
being used while a different page is being accessed.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Alain Volmat
e511f8f44a video: gc2145: avoid useless register page change
Avoid some register page change when the right page is
already being accessible.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Alain Volmat
747d73c856 video: gc2145: use GC2145_REG_RESET macro for page selection
Help identify register page change by using GC2145_REG_RESET macro.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:12:51 -10:00
Tamas Jozsi
2f860e544c boards: seeed: fix the flash partition layout on the XIAO MG24
- Fixed the partition sizes in the comments
 - Updated the second partition base address to be correct

The layout now matches the Arduino Nano Matter
which was used for reference.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2025-06-24 20:12:01 -10:00
Paul He
f7979f6deb mgmt: mcumgr: remove redundant arguments for zephyr_library
No argument is needed for zephyr_library and a directory-inferred name will
be generated by default.

Signed-off-by: Paul He <pawpawhe@gmail.com>
2025-06-24 20:11:27 -10:00
Alain Volmat
04480c87fe video: stm32: dcmipp: use video_get_csi_link_freq helper
Rely on video_get_csi_link_freq for getting CSI phy bitrate
informations.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-24 20:10:23 -10:00
Kurt Eckhardt
52d1e2f0cd boards: arduino: Giga Display Shield, touch points
Currently the config option:
CONFIG_INPUT_GT911_MAX_TOUCH_POINTS

is not defined for the Giga display shield and defaults
to 1.   The valid range is 1-5, I have done most of my
own testing using 3 with the ArduinoGiga-zephyr

I have a PR against the ArduinoCore-zephyr project
which allows me to define a callback in the Arduino
system:
https://github.com/arduino/ArduinoCore-zephyr/pull/134

And a version of the Arduino touch library with some
support, the fork/branch
https://github.com/KurtE/Arduino_GigaDisplayTouch/tree/zephyr

And an example sketch that does touch paint.
https://github.com/arduino/ArduinoCore-zephyr/issues/92#issuecomment-2944385198

Note: my version of the Arduino touch library has no support
for gestures

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
2025-06-24 20:09:39 -10:00