Commit graph

126,787 commits

Author SHA1 Message Date
Khoa Nguyen
5dcd9926a9 dts: arm: renesas: ra: Update the OFS defination for FSP migration
Update OFS defination to align with FSP 6.0.0

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
46853e89c2 soc: renesas: ra: Remove .code_in_ram section for Renesas RA SoC
Since the `.code_in_ram` section is not being used,
we would like to remove it.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
836e55f724 drivers: ethernet: Update the variable type for R_ETHER_CallbackSet
- Update the variable type for R_ETHER_CallbackSet in
eth_renesas_ra.c
- Update HAL callback event handler to be compatible with FSP 6.0.0

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
f9918ad203 drivers: mdio: Update the change from migrating FSP 6.0.0
Midify to use ``p_phy_lsi_cfg_list`` in ``ether_phy_cfg.p_extend``
instead of using ``phy_lsi_type`` and ``phy_lsi_address``
in ``ether_phy_cfg``. Update for mdio_renesas_ra

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
8b768cec4a drivers: flash: Update modification of macro define for RA OSPI
Update modification of macro define for Renesas RA OSPI

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
168ca66c77 drivers: mipi_dsi: Update the modification of FSP migration
Update modification of FSP 6.0.0 for dsi_renesas_ra

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
3aa72e4e9e drivers: Update p_context for all Renesas drivers
The p_context no longer has the const type, so all
Renesas-supported drivers need to be updated accordingly.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Khoa Nguyen
48174229aa manifest: Update migrate FSP 6.0.0 revision for hal_renesas
Update migrate FSP 6.0.0 revision for hal_renesas

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-08 11:52:13 +03:00
Tyler Joseph Huffman
e57dd8e12d Bluetooth: Controller: Adds path loss monitoring functionality
This functionality is implemented in the HCI-facing side of the
controller and the ULL. LLL functionality is not implemented in this
commit.

Furthermore, this removes a dependency for LE Power Control, as the
features are related, but not necessarily required.

Signed-off-by: Tyler Joseph Huffman <tyhu@demant.com>
2025-08-08 11:52:03 +03:00
Mohamed Moawad
4c8a69df1a tests: lib: cobs: Fix test setup failure with minimal libc
Set CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=256 for COBS tests to ensure
malloc() succeeds during test fixture allocation in cobs_test_setup().

When using minimal libc, CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE defaults
to 0, causing malloc() to fail and the zassume_not_null(fixture)
assertion to trigger test setup failure.

Fixes test execution with minimal libc configurations.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2025-08-07 20:57:32 -04:00
Thomas Stranger
eb0818a126 docs: update cmsis rtos and cmake cache link
- CMSIS RTOS v1: link to the dedicated page in arm-software cmsis 5 docs
  - the old link was forwarded to the overview page of CMSIS v6
- CMSIS RTOS v2: link to the dedicated page in arm-software cmsis 6 docs
  - the old link was forwarded to the overview page of CMSIS v6

- CMake Cache: link to the mastering cmake - cmake cache section
  - the old link was forwarded to the generic https://cmake.org/resources/

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-08-07 20:57:02 -04:00
Bjarki Arge Andreasen
0c853738e5 tests: drivers: spi_loopback: nrf54h20/cpurad add missing pm runtime
Add missing zephyr,pm-device-runtime-auto; property to spi130 of
nrf54h20/cpurad required for device pm runtime to work.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-08-07 20:56:39 -04:00
Robert Robinson
fa7e02d290 drivers: clock_control: nordic: Enable calibration from LFRC peripheral
For some nordic devices the LFRC peripheral is used to calibrate
the LFCLK clock instead of NRFX_CLOCK peripheral. This commit
adds support for the changes already made in nrfx drivers.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2025-08-07 20:56:19 -04:00
Emilio Benavente
8d08da892c dts: arm: nxp: rt11xx: Updated ADC indexing
Updated the LPADC instance numbers in the
device tree to line up with the indexing
done in the RM.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:56:01 -04:00
Bastien Beauchamp
16298e9c21 tests: drivers: dac: add xg23 and xg24 boards to dac tests
Add board overlays and defines to the test sources files to execute
the dac_api and dac_loopback tests on xg23_rb4210a, xg24_dk2601b,
xg24_ek2703a and xg24_rb4187c.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
c65a98d8a5 boards: silabs: update board support for DAC driver
The xg24_dk2601b, xg24_ek2703a, xg23_rb4210a and
xg24_rb4187c board yaml files were updated
to support the DAC driver.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
576fdee126 boards: silabs: enable VDAC nodes for xg2x boards
Set status to okay for VDAC nodes for xg23 and xg24 boards.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
b725bd2096 dts: arm: silabs: instantiate VDAC nodes for xg2x parts
Defines a VDAC node for xg23 and xg24 parts, which are all
compatible with the silabs,vdac binding.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
9dbbe3b0da drivers: dac: implement the silabs_vdac compatible driver
This implements the DAC driver for silabs VDAC peripherals
using the silabs,vdac compatible binding.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
e138061ec4 dts: bindings: dac: define silabs,vdac bindings
Defines bindings that are compatible with Silabs VDAC.
Reference your part's design book when configuring
values for the properties.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
fee3511eec include: zephyr: dt-bindings: dac: silabs: generate VDAC
Generates bindings that define VDAC auxiliary output.
These bindings can be used in devicetree sources to configure
the aux-output property.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
c970b2f650 modules: hal_silabs: enable VDAC module in series 2 hal
This enables Silabs Series 2 HAL source files for the Silabs
VDAC module to be compiled when the SOC_SILABS_ACMP
configuration is selected.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Bastien Beauchamp
2b8d074724 include: zephyr: dt-bindings: clock: silabs: fix clock branch
Updated CLOCK_BRANCH bindings to stay in sync with the enum
sl_clock_branch_t in the Silicon Labs HAL.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Nikodem Kastelik
8285cc02f6 drivers: spi: nrfx_spis: fix buffer freeing on error
Bounce buffers should be freed rather than user buffers.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-07 20:55:32 -04:00
Nikodem Kastelik
8423b908b8 tests: drivers: spi: controller_peripheral: add direct variant
Direct variant of this test disables intermediate buffer
in the nRF SPI driver and verifies whether devices like nRF54H20,
which can peform DMA transcations only from specific memory regions,
are handled properly.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-07 20:55:32 -04:00
Nikodem Kastelik
304e19f958 drivers: spi: nrfx_spim: use dmm
Some nRF SoCs (i.e. nRF54H20) can peform DMA transfers
only from specific memory regions - `dmm` facilitates that.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-07 20:55:32 -04:00
Van Petrosyan
422fdf46a9 samples: modem_cellular: add auto-APN detection and race-free DNS wait
This update makes the cellular-modem sample usable out-of-the-box on
SIMs that require different APNs, without rebuilding the firmware.

* Automatic APN selection
  * New Kconfig options
    * `CONFIG_SAMPLE_CELLULAR_MODEM_AUTO_APN` - enable logic
    * `CONFIG_SAMPLE_CELLULAR_APN_X` - APN for profile X
    * `CONFIG_SAMPLE_CELLULAR_IMSI_LIST_X` - IMSI list for profile X
  * The application now subscribes to the new
    `CELLULAR_EVENT_MODEM_INFO_CHANGED` event, waits for the IMSI, looks
    up the matching MCC+MNC and calls `cellular_set_apn()`.

* DNS-server detection
  * `NET_EVENT_DNS_SERVER_ADD` may fire together with
    `NET_EVENT_L4_CONNECTED`; the previous wait timed out.
  * Replaced the two consecutive waits with a single call that waits for
    both events (`DNS_SERVER_ADD | L4_CONNECTED`) in any order.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-08-07 20:55:14 -04:00
Van Petrosyan
17b57957b1 drivers: modem_cellular: make APN configurable at run-time
* Implement the new cellular_set_apn() driver hook.
  The API validates the string, stores it in the driver’s
  private data and raises an internal event so the state
  machine can resume.

* Insert MODEM_CELLULAR_STATE_WAIT_FOR_APN between DLCI2 open
  and the APN-script step.
  – If CONFIG_MODEM_CELLULAR_APN is defined and non-empty the
    driver skips WAIT_FOR_APN (behaves exactly as before).
  – Otherwise the driver parks in WAIT_FOR_APN until the
    application calls cellular_set_apn().

* Add event-callback support (CELLULAR_EVENT_MODEM_INFO_CHANGED)
  so an app can subscribe to IMSI availability and kick its own
  APN selection logic.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-08-07 20:55:14 -04:00
Van Petrosyan
0a444c61e0 drivers: cellular: add event notification API
Introduces cellular_set_callback() and the first event
CELLULAR_EVENT_MODEM_INFO_CHANGED.  Drivers call the registered
callback whenever any modem-info field is updated.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-08-07 20:55:14 -04:00
Van Petrosyan
26492d89ff drivers: cellular: introduce cellular_set_apn() API
Add a driver-level hook that lets applications provide (or override)
the APN string at run-time instead of hard-coding it in individual
drivers.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-08-07 20:55:14 -04:00
Guilherme Costa
da5eef665a drivers: modem: deprecate MODEM_QUECTEL_BG9X
The modem_cellular implementation should suffice to handle the base
usage of generic BG9x family devices, so deprecate the quectel-bg9x.c
implementation.

Signed-off-by: Guilherme Costa <guilhermecosta@stratioautomotive.com>
2025-08-07 20:54:45 -04:00
Guilherme Costa
5bd812de46 drivers: modem: Add support for Quectel BG96
Added support for compatible 'quectel,bg96' in modem_cellular.c

Renamed BG95-specific variables to BG9x, since the initialization
for BG95 and BG9x is similar.

Signed-off-by: Guilherme Costa <guilhermecosta@stratioautomotive.com>
2025-08-07 20:54:45 -04:00
Guilherme Costa
6fd5518f48 dts: bindings: Add 'quectel,bg96'
Add a compatible for Quectel BG96 to be used in the modem_cellular
subsystem.

Signed-off-by: Guilherme Costa <guilhermecosta@stratioautomotive.com>
2025-08-07 20:54:45 -04:00
Emilio Benavente
1d666872e1 tests: drivers: pwm: Add MCXWX flexio-pwm testing
Enabled testing for the flexio pwm on MCXW7X Platforms.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:54:15 -04:00
Emilio Benavente
93185f3655 dts: arm: nxp: Added flexio pwm to dts
Updated the nxp_mcxw7x dts to include a
flexio_pwm node.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:54:15 -04:00
Emilio Benavente
8467f557f9 drviers: pwm: Update flexio pwm update duty cycle
Updated the nxp flexio pwm driver to account
for when the duty cycle is 100% or 0%.
We switch off the counter of the flexio and
manually set the GPIO High or Low. Otherwise
Flexio Peripheral with default to a 50% duty
cycle behavior.
Factored out timerOutput variable.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2025-08-07 20:54:15 -04:00
Alberto Escolar Piedras
dece77924f net: ocpp: Fix multiple issues detected by clang
Fix multiple warnings detected by clang:
* implicit conversions back and forth from enumeration type
  'enum ocpp_notify_reason' to 'enum ocpp_pdu_msg'
  in ocpp_internal_handler()
* label followed by a declarations
* variable declared after one switch case and used in another
* mapping a int to uint and later using it in < 0 comparisons
  and with negative values

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-08-07 16:20:41 +02:00
Johann Fischer
1747bd7f14 samples: openthread: uset new USB device stack in coprocessor sample
Use CDC ACM serial backend from the new USB device stack.
It was surprising to find out that the porting layer does not only use
the UART API. The legacy USB device stack API used in the porting layer
has been deprecated and is causing CI failures.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-07 15:46:37 +02:00
Łukasz Stępnicki
a5c0ba853b drivers: clock control: ironside dvfs hsfll
Extended clock control driver to support new DVFS service
from IronSide secure domain. Added new compatible nrf-iron-hsfll-local
which can be used to enable new DVFS service support in local
domain.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2025-08-07 08:58:54 -04:00
Håvard Reierstad
3c6fe5c519 MAINTAINERS: Add HaavardRei and PavelVPV
Adds HaavardRei and PavelVPV as collaborators for BLE Host and HCI.
Both are working actively on the Zephyr BLE Host.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-08-07 08:58:24 -04:00
S Mohamed Fiaz
dd83b64524 tests: gpio: boards: add overlay for GPIO test driver
Added the xg29_rb4412a.overlay for GPIO API 1-pin
This overlay sets the configuration
needed to validate the GPIO driver on the
xg29_rb4412a board during test execution.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-08-07 08:58:14 -04:00
S Mohamed Fiaz
306c13e421 soc: silabs: series_s2: Kconfig updates for EFR series 2 devices
Updated Kconfig for EFR series 2 devices.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-08-07 08:58:14 -04:00
S Mohamed Fiaz
bbd9631db6 drivers: gpio: silabs: gpio driver for EFR series 2 devices
Added the gpio driver for EFR series 2 devices.

The SILABS_SISDK_GPIO symbol is added to enable
support for the new GPIO driver.
The SOC_GECKO_GPIO symbol is retained for now to
maintain compatibility with existing drivers and
will be removed in a subsequent commit.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-08-07 08:58:14 -04:00
Camille BAUD
a91b959dd4 tests: drivers: display: fix SSD1322 in build_all
This adds new SSD1322 parameters

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-07 13:16:06 +02:00
Camille BAUD
ce9e9f0a9d drivers: display: Add greyscale to SSD1322
This adds greyscale to SSD1322

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-07 13:16:06 +02:00
Camille BAUD
8608f09bf0 drivers: display: Various fixes and additions to ssd1322
Fixes possible init issue with unlock
Add many missing configuration settings

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-07 13:16:06 +02:00
Jaro Van Landschoot
1a23d459bc modbus: serial: Divide by zero check
Check if the baudrate is not 0 before dividing by it
to get the rtu_timeout.

Signed-off-by: Jaro Van Landschoot <jaro.vanlandschoot@basalte.be>
2025-08-07 13:15:55 +02:00
Bjarki Arge Andreasen
015643d1a5 soc: nordic: fix validate_base_addresses NRF_GPIOTE0 for radiocore
Map definition of NRF_GPIOTE0 to NRF_RADIOCORE_GPIOTE when MDK
defines NRF_RADIOCORE_GPIOTE instead of NRF_GPIOTE0

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-08-07 13:15:45 +02:00
Krzysztof Chruściński
dd0db9b2af tests: drivers: gpio: basic_api: Add nrf54h20/cpurad GPIOTE0 config
Add configuration for testing GPIOTE0 instance on nrf54h20/cpurad.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-07 13:15:45 +02:00
Krzysztof Chruściński
5f69f77e16 tests: drivers: gpio: basic_api: Improve test
Add return code checking for gpio_pin_interrupt_configure functions.
Add disabling pin interrupt at the end of the test to restore pin
state.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-07 13:15:45 +02:00