Commit graph

126,787 commits

Author SHA1 Message Date
Armin Kessler
3b3f283b3f driver: video: esp32: add set/get_frmival callbacks
forward set/get_frmival api calls to source device.

Signed-off-by: Armin Kessler <ake@espros.com>
2025-09-30 15:27:12 +03:00
Mario Paja
5ab7ef6ccd dts: st: h7: fix dma stream
This change fixes DMA stream ID for H7xx series.
DMA stream ID should be in range 1..N

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-09-30 15:27:01 +03:00
Immo Birnbaum
99d9a42d60 arch: arm: cortex_a_r: specify icache/dcache for Cortex-A9
Specify that the Cortex-A9 CPU has both an L1 dcache and icache.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-09-30 15:26:51 +03:00
Adam Kondraciuk
6f7a1834d5 soc: nordic: nrf54h: Implement idle with cache retained state
Add new idle state with cache retention enabled.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-09-30 15:26:40 +03:00
Pieter De Gendt
c3bb498f86 drivers: sensor: st: iis3dwb: Update RTIO callbacks with result argument
Commit bc8d66d538931e650dd2855fabe768720dcb4b02 introduced a
result argument to some RTIO callback handlers. Update for the IIS3DWB
sensor.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-30 15:26:27 +03:00
Fin Maaß
4a69c1b8a8 drivers: serial: litex: add support for rx-fifo-rx-we
add support for rx-fifo-rx-we, whci got added to
LiteX in https://github.com/enjoy-digital/litex/pull/2319

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-09-30 11:03:15 +02:00
Fin Maaß
a39ab55c9d drivers: serial: litex: only ack tx event, when full
only ack tx event, when full, so we don't
have to fill the fifo with zeros as a workaround.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-09-30 11:03:15 +02:00
Fin Maaß
087cb96025 drivers: serial: litex: remove redundant rx pending
flushing rx pending already happens in
uart_litex_fifo_read, which should be called
by the callback, so don't do it again, also
it can lead to the drop of chars, as flushing
removes the current entry in the fifo.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-09-30 11:03:15 +02:00
Peter Wang
060e05e22b boards: frdm_mcxa366: enable sample and test
1. enable enable sample and test for frdm_mcxa366

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Peter Wang
711af9863c boards: frdm_mcxaxx6: add frdm_mcxa366 board
1. the three boards share the same board schematic
   - frdm_mcxa266, frdm_mcxa346, frdm_mcxa366
2. board dts,kconfig and cmake file could share
3. add MCXA366 soc and frdm_mcxa366 board

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Peter Wang
f3a82fc7ea boards: frdm_mcxa266, frdm_mcxa346: create common dtsi for soc and board
1. nxp_mcxa266_a346_a366_common.dtsi created for soc dts
2. frdm_mcxa266_a346_a366_common.dtsi.dtsi created for board dts

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Peter Wang
b7ff3e1dc8 boards: frdm_mcxa: get SYS_CLOCK_HW_CYCLES_PER_SEC in soc dts
1. get SYS_CLOCK_HW_CYCLES_PER_SEC in soc dts

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Emil Gydesen
87e6bff4ef Bluetooth: CAP: Shell: Change to use default_unicast_group
Use default_unicast_group everywhere in the CAP shell, and mark
all creation of it as default_unicast_group.is_cap = true.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-30 11:02:29 +02:00
Emil Gydesen
ca80d25bd9 Bluetooth: CAP: Shell: Move ac_create_unicast_group to CAP
Move the function bap_ac_create_unicast_group to the CAP
shell, as that was the only user of it, and rename it to
cap_ac_create_unicast_group, and make it use the CAP API.

Also rename bap_unicast_ac_param to cap_unicast_ac_param

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-30 11:02:29 +02:00
Emil Gydesen
bf19edc8d8 Bluetooth: BAP: Shell add common unicast_group struct
Add a common unicast_group struct for both the BAP and
CAP shell, similar to the broadcast_source.

The purpose of this is to be able to use the appropriate type
for both the CAP and BAP shells, instead of using the BAP
unicast group for the CAP shell.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-30 11:02:29 +02:00
Luis Ubieda
91c57f1eca icm45686: stream: Add missing INT disable on error completion
Multi-shot request should re-enable it shortly.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
63fe2def28 icm45686: stream: Optimize stream data-handling
Process all in one callback, in order to reduce latency.
The following changes have been done:
- Process FIFO read-out and/or Data-ready in GPIO callback.
- FIFO Full is handled on completion if needed.
- Omit fifo-count fetching, to optimize cycles. The watermark
count is the number of samples we're going for.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
9c4d1c5c4c icm45686: stream: Only enable GPIO interrupts when stream is active
Otherwise a lot of spurious callbacks may trigger shortly after
rebooting.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
214bdfd31a icm45686: rtio: Expand bus RTIO queue size
To handle streaming under stress scenario.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
60eceef41b icm45686: stream: Improve tracking of state transitions
By introducing three states: Off -> On -> Busy -> (Offf)

This allows us to more clearly guard on-going events and detect
overlapping triggers.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
b87f0ffbf3 icm45686: stream: Remove run-time variability of samples on FIFO WM
Since the driver knows how many samples it wants (because of the
watermark threshold), stick to that per event in order to facilitate
batches of N number of samples.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
836e6fb882 icm45686: stream: Remove memset when completing stream event
As it's not required, so we rather spare the cycles.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
ea708cf9e1 icm45686: Add warning log when event triggered while busy
In order to detect when events are being missed.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
7921ca4090 icm45686: stream: Add missing call to drop RTIO Bus queue when full
Not handled otherwise.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
fdc359547b icm45686: stream: Refactor completion actions through helper function
In order to simplify code-logic.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
532c80a764 icm45686: Replace assert for check-if when buffer alloc fails
In order to allow the error-handling scheme to take action, instead
of crashing when asserts are enabled. Now possible since we have RTIO
error handling for streaming mode.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Luis Ubieda
bab0723972 icm45686: Update RTIO bus API to simplify async transfers
Similar pattern applied to other in-tree sensor drivers, where
preparing a set of SQEs for writing/reading on registers is a recurrent
syntax.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-30 11:02:12 +02:00
Armando Visconti
b390cbd6b2 drivers/sensor: iis3dwb: add streaming capabality
Add read_and_decode streaming APIs support.

Triggers supported:
    - SENSOR_TRIG_FIFO_WATERMARK
    - SENSOR_TRIG_FIFO_FULL
    - SENSOR_TRIG_DATA_READY

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-09-30 11:01:12 +02:00
Armando Visconti
93a30e7806 drivers/sensor/st: add support to IIS3DWB accel
The IIS3DWB is a system-in-package featuring a 3-axis digital vibration
sensor with low noise over an ultrawide and flat frequency range.
The wide bandwidth, low noise, very stable and repeatable sensitivity,
together with the capability of operating over an extended temperature
range (up to +105 C), make the device particularly suitable for vibration
monitoring in industrial applications.

Datasheet: https://www.st.com/en/mems-and-sensors/iis3dwb.html

This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).

This driver is based on stmemsc HAL i/f v2.9.1.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-09-30 11:01:12 +02:00
Tobias Kässer
9cbcdda587 drivers: sensor: adxl345: Add support for motion trigger
Adding minimal support for using motion trigger interrupts
with the adxl345

Signed-off-by: Tobias Kässer <t.kaesser@gmail.com>
2025-09-30 11:00:14 +02:00
Alexander Apostolu
1f50947271 include: zephyr: drivers: sensor.h: update decode doxygen
Update sensor_decoder_api.decode Doxygen to reflect changes in the
parameters, including the change from the channel parameter to
channel spec.

Signed-off-by: Alexander Apostolu <apostolu240@gmail.com>
2025-09-30 10:59:47 +02:00
Alexander Apostolu
35c45a66e8 include: zephyr: drivers: sensor.h: corrected name of chan_spec parameter
Change name of the struct sensor_chan_spec paramater from "channel" to
"chan_spec" to reflect its type.

Signed-off-by: Alexander Apostolu <apostolu240@gmail.com>
2025-09-30 10:59:47 +02:00
Anthony Williams
bfa6f4a102 sensor: rm3100: Fix typo in DT yaml
Rename RM33100 to RM3100 in yaml comment to align
with rm3100.h defines.

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-09-30 10:59:21 +02:00
Anthony Williams
e6ff45d38a sensor: rm3100: Add support for SPI
Add support for SPI

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-09-30 10:59:21 +02:00
Bill Waters
95dc13d1e1 drivers: i2c: add pdl driver for Infineon devices
- Add the pdl-based version of the i2c driver for infineon devices
  like the one found on the kit_psc3m5_evk board.
- In the pull request review it was decided that the
  I2C_INFINEON_CAT1_ASYNC option was not needed.  The driver would
  always be interrupt driven.  This meant that the existing driver
  had to be updated as well.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-09-30 10:58:31 +02:00
Fabrice DJIATSA
6ec1e7375d tests: drivers: flash: stm32: disable write protection after execution
Add a teardown function flash_stm32_teardown to ensure write protection
is disabled after test execution, avoiding side effects on subsequent
tests.

This prevents issues where write protection remains enabled
if a test fails before cleanup.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-09-30 10:58:22 +02:00
Yongxu Wang
c992e1a11e soc: nxp: imx943: implement basic PM flow for Cortex-M cores
Add initial power management support for i.MX943 M-core (M33/M7)
This lays the foundation for multi-core PM handling on i.MX943

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-30 10:57:43 +02:00
Yongxu Wang
bf712811bb dts: nxp: imx943: add CPU power states for M33 and M7 cores
Introduce power state definitions for i.MX943 Cortex-M cores in DTS

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-30 10:57:43 +02:00
Cristian Bulacu
ad4bac2f82 net: samples: openthread: border_router: Update project configuration
Generic:
- Enabled more OpenThread functionalities for Border Router application
NXP RCP:
- Set number of max RCP restoration count to 10

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-30 10:57:21 +02:00
Cristian Bulacu
642c258c0f openthread: platform: dns_upstream_resolver: Fix bug in platform code
Fix an incorrect type cast when trying to obtain an
otPlatDnsUpstreamQuery pointer from user data passed to dns resolver
module.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-30 10:57:21 +02:00
Alberto Escolar Piedras
8d7c2e115a tests native_sim reset_hw_info: Skip by now
This tests is failing in CI and at random locally.
While we understand why and how to fix it, let's disable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-09-30 09:49:36 +02:00
Seppo Takalo
b8541c53ee modem: modem_cellular: Allow PPP interface to wake up the device
Allow PPP device to wake up the underlying cellular modem.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-09-29 12:47:57 -04:00
Aksel Skauge Mellbye
f66dd94992 samples: bluetooth: peripheral_ht: Use dht0 temperature sensor
Use the temperature sensor with a dht0 alias if available in
the Bluetooth Health Thermometer sample. This alias is already
used by the sensor/dht_polling sample app for temperature
measurement, and is supported by several boards in the tree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-29 12:47:43 -04:00
Marek Matej
d49e6c12d8 soc: espressif: common: Fix startup loader message
Improve how segment information looks like for MCUboot and SimpleBoot.

* silently igonore padding segments (if VMA is 0x0)
* do not duplicate mapped segments lines (IROM and DROM)
* fix IROM segments taht was incorrectly labeled as IRAM

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-09-29 12:47:34 -04:00
Rafał Kuźnia
3d63165050 drivers: ieee802154: nrf5: Remove temporary API migration code
The new nrf-802154 now has the updated API signatures. The migration
code is no longer needed.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2025-09-29 12:47:02 -04:00
Rafał Kuźnia
a25abc3358 manifest: update hal_nordic to pull nrf-802154 changes
Updated the hal_nordic to bring the latest changes of the nrf-802154
component.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2025-09-29 12:47:02 -04:00
Hake Huang
fc23368673 driver: display: fix a return error on display_hx8394
hx8394_mipi_tx will return write size, so this can not used to
return init call.

fixes: #96547

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-09-29 12:46:43 -04:00
Aksel Skauge Mellbye
6e7db46386 modules: hal_silabs: Update to latest simplicity_sdk
Update hal_silabs to include simplicity_sdk v2025.6.2.
Modify Bluetooth controller configuration to match HAL changes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-29 12:46:09 -04:00
Zhaoxiang Jin
41a0865043 boards: nxp: Convert enum members to upper case.
1. Convert enum members to upper case.
2. Remove extra underscores from header names

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-29 12:45:50 -04:00
Michael Zimmermann
a039babf77 tests: net: mqtt_sn_client: test predefined topics
This add tests for both outgoing and incoming publishes on predefined
topics.

Signed-off-by: Michael Zimmermann <michael.zimmermann@sevenlab.de>
2025-09-29 12:45:15 -04:00