Commit graph

136,983 commits

Author SHA1 Message Date
Deepika aerlync
ccabf2457f boards: infineon: add CY8CPROTO-041TP board support
Add board porting for the Infineon CY8CPROTO-041TP evaluation kit:
- Board devicetree and pinctrl configuration
- Kconfig and YAML definitions
- Documentation
- Support for west build, west flash, and west debug (OpenOCD)

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
f54955f6d2 soc: infineon: add PSoC4100TP SOC support
Add SoC port for the Infineon PSoC4100TP series, including:
- Core initialization
- Kconfig files
- YAML device definitions
- SoC-specific pin control configuration

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Manojkumar Konisetty
6dfae9c9f7 dts: arm: infineon: add CY8C4147 MPN variants
Add devicetree support for CY8C4147 MPN variants including:
- AXI packages (T403-T493)
- AZI packages (T403-T475)
- AZQ packages (T415-T495)
- LQI packages (T403-T473)
- LQQ package (T493)

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
69ed4fc87d dts: arm: infineon: add CY8C4146 MPN variants
Add devicetree support for CY8C4146 MPN variants including:
- AXI packages (T403, T413, T453)
- AZI packages (T403-T455)
- AZQ packages (T413, T453)
- LQI packages (T403, T413, T453)

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
977f3f10ac dts: arm: infineon: add PSoC4100TP base devicetree
Add base devicetree support for Infineon PSoC4100TP series including:
- Core SoC devicetree (psoc4100tp.dtsi)
- CM0+ core configuration (psoc4100tp.cm0p.dtsi)
- Pin package variants (44-TQFP, 48-QFN, 48-TQFP, 64-TQFP)
- System clocks configuration (system_clocks.dtsi)

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
0add918ec9 modules: hal_infineon: add PSoC4 build support
Add CMake build configuration support for PSoC4 PDL and templates.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
592c22f25d modules: hal_infineon: add PSoC4 Kconfig support
Add Kconfig configuration support for PSoC4 family in hal_infineon module.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Deepika aerlync
007203965e manifest: hal_infineon: update rev to latest
Update hal_infineon revision to add PSOC4 family support

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
2025-12-10 15:46:35 +00:00
Josuah Demangeon
367c859ee9 usb: device_next: uvc: fix frame interval sorting
The qsort() function takes a callback argument that is having the
same semantics as strcmp(). Fix uvc_compare_frmival_desc() sorting
to make qsort() list frame intervals in increasing values.

Fix a bug where Windows would not enumerate devices when the video device
have multiple frame interval supported.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-12-10 15:46:09 +00:00
Henrik Brix Andersen
7703c31c98 code of conduct: change the title from the template
Change the Code of Conduct title from the one used in the template to
reflect that this is the Code of Conduct for the Zephyr Project, not the
Contributor Covenant project.

The attribution for the Contributor Covenant template is present at the
very last paragraph.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-12-10 15:45:56 +00:00
Jamie McCrae
949adae4f1 dts: vendor: nordic: Fix invalid nrf54lm20a partition layout
This device indicates 4KiB sector size and has an impossible
partition layout that starts part the way through a sector,
this fixes the issue by having proper partition alignment

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-12-10 15:45:37 +00:00
Gang He
32c1db7c15 samples: bluetooth: bap_broadcast_sink: add parameter checking
BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE option is only available when
BT_FEAT_LE_PER_ADV_ADI_SUPP is enabled in chipset.

Signed-off-by: Gang He <ganghe@sifli.com>
2025-12-10 15:44:43 +00:00
Gang He
9c8e72a0d9 samples: bluetooth: bap_broadcast_sink: format source code
Run clang-format to format sample source code.

Signed-off-by: Gang He <ganghe@sifli.com>
2025-12-10 15:44:43 +00:00
Gang He
2594859a0e bluetooth: host: Add parameter check when creating periodic adv sync
In option of HCI_LE_Periodic_Advertising_Create_Sync, bit 2
depend on Periodic Advertising ADI Support feature.

Signed-off-by: Gang He <ganghe@sifli.com>
2025-12-10 15:44:43 +00:00
Gang He
23d873188b bluetooth: host: scan: Format source code
Run clang-format on scan.c

Signed-off-by: Gang He <ganghe@sifli.com>
2025-12-10 15:44:43 +00:00
Mathieu Choplain
22a163f938 kconfig: source autogenerated Kconfig.dts earlier than defconfigs
In addition to the DT_HAS_<compat>_ENABLED options, the autogenerated
Kconfig.dts file also provides the DT_COMPAT_<compat> *macros* which avoid
manually declaring them when working around the no comma limitation. Unlike
options which can be referenced before their declaration, macros MUST
be defined before their usage (otherwise, they expand to nothing ("")).

Because the defconfig files were sourced before "dts/Kconfig", it was not
possible to use the DT_COMPAT macros from shields/boards/SoC defconfig;
this is not only confusing but also suboptimal because the macros must be
defined manually.

Include "dts/Kconfig" earlier to allow usage of the DT_COMPAT macros from
shields, boards and SoC defconfig. This should have no adverse effect
since there is no reason to override the options provided by the
autogenerated Kconfig.dts anyways.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-10 15:44:27 +00:00
Mathieu Choplain
df1677c8aa doc: kconfig: document DT_COMPAT_<...> macro variables
The DT_COMPAT_<...> macro variables are generated for every compatible
found in bindings: document them as existing and recommend using them
in various Kconfig documentation pages.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-10 15:44:07 +00:00
cyliang tw
518a21f59d MAINTAINERS: modify dts files to match Numaker
Modify dts/arm/nuvoton/m* to better align with Numaker platform
naming conventions. Also add one more collaborator.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-12-10 15:43:46 +00:00
Khoa Nguyen
e09d0adf57 samples: modules: lvgl: demos: Enable ek_ra8p1 CM85 using MIPI LCD
Enable ek_ra8p1_r7ka8p1kflcac_cm85 to run with rtkmipilcdb00000be
MIPI LCD shield

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-12-10 07:25:01 -05:00
Khanh Nguyen
d231118e7a boards: shields: add rtkmipilcdb00000be support for ek_ra8p1
Add support for the RTK MIPI LCD shield on EK-RA8P1:
- Add default display configuration in .conf
- Add overlay with MIPI DSI PLL, timing, gpio-hog, panel settings

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-12-10 07:25:01 -05:00
Khanh Nguyen
f4ff6f6ca1 boards: renesas: ek_ra8p1: add MIPI DSI support
Add MIPI DSI support for EK-RA8P1:
- Add default configs for MEMC, GLCDC framebuffer, and LVGL
- Update DTS:
  * Add zephyr,user node with mipi-dphy-en-gpios
  * Add mipi-dsi alias and MIPI connector node
  * Add interrupts for lcdif, and mipi_dsi
  * Add aliases for lcdif, mipi_dsi, and I2C
  * Add gpio-hog for mipi_phy_enable

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-12-10 07:25:01 -05:00
Khanh Nguyen
2e7115a45f drivers: mipi_dsi: Add support Renesas RA MIPI DSI for RA8P1
Update the Renesas RA MIPI DSI driver and bindings to align
with RA8P1 SoC support:

- Add SoC-specific PHY PLL multiplier ranges
  - RA8D1: 20–180
  - RA8P1: 40–375
- Correct t_init limit from 15 bits to 19 bits as specified in HUM
- Update devicetree bindings:
  - Clarify `pll-div` as input frequency divisor
  - Add `pll-out-div` property as output frequency divisor

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
2025-12-10 07:25:01 -05:00
Pieter De Gendt
ea85a8b841 drivers: ethernet: eth_lan865x: Support MAC address config
Update the microchip,lan865x ethernet driver to use a MAC address
configuration struct.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-10 07:24:43 -05:00
Qingsong Gou
3da552b2c7 drivers: i2c: sf32lb: add get_config() support
Add get_config() support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-10 07:24:34 -05:00
Robert Lubos
221699228a samples: net: lwm2m_client: Use cert-based DTLS overlay in twister
Make sure that certificate-based DTLS config is built by twister and
also mention it in the README file.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-10 07:24:26 -05:00
Robert Lubos
d9cc7845ec samples: net: lwm2m_client: Add missing PSA configs neeed for HS
Add missing PSA configs required for successful DTLS handshake with PSK.
Cert-based config also needed to enable some RSA support, as otherwise
mbed TLS throws errors about some undefined RSA error mapping.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-10 07:24:26 -05:00
Henrik Brix Andersen
573f4805c9 tests: drivers: can: api: canfd: use 75% for the data phase sample point
Use a sample point of 75% for the data phase timing to match the bitrate of
1Mbit/s.

Fixes: #100615

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-12-10 07:24:14 -05:00
Henrik Brix Andersen
f7786bba5f tests: drivers: can: api: relax CAN sample point accuracy requirements
Relax the CAN sample point location accuracy requirements in the CAN API
test suites by taking CONFIG_CAN_SAMPLE_POINT_MARGIN into account.

Fixes: #100615

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-12-10 07:24:14 -05:00
Camille BAUD
7830a76b7f dts: bflb: Add flash-controller chosen
Adds flash controller chosen to make CI happy

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-10 07:24:00 -05:00
Anas Nashif
79356f1385 ci: assigner: only run on main branch
See if this fixes the issue where this workflow runs on released
branches.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-12-10 07:23:52 -05:00
Pavel Vasilyev
fd38fde6c2 doc: bluetooth: mesh: Update supported Bluetooth Mesh Protocol version
Update Bluetooth Mesh Protocol supported version to 1.1.1.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-12-10 10:35:30 +00:00
Stephen Stauts
e260a69c61 samples: boards: nordic: Update command for checking ironside
Uses the modern nrfutil command for checking ironside versions
through the boot report, rather than hardcoded addressing.

Signed-off-by: Stephen Stauts <stephen.stauts@nordicsemi.no>
2025-12-10 10:35:21 +00:00
Tim Pambor
33f50ee90e drivers: clock_control: stm32: enable fractional divider for PLL2/3
Configure the fractional divider (FRACN) for PLL2 and PLL3
on STM32H5 series when specified in the device tree.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-12-10 10:35:14 +00:00
Tim Lin
e4f518b56a drivers/i2c: it8xxx2: Add port info to error logs
Improve I2C error logs by adding port number to all timeout and host
error messages, making it easier to identify which controller reports
failures.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-12-10 10:35:02 +00:00
Paweł Pelikan
82ed28fea6 manifest: Update hal_nordic
Manifest to update latest changes.

Signed-off-by: Paweł Pelikan <pawel.pelikan@nordicsemi.no>
2025-12-10 10:34:47 +00:00
Biwen Li
ab6c28fd98 soc: nxp: imx943: set dma tcd queue size to fix build issues
Set dma tcd queue size to 4 defaultly to fix build issues,
- error: static assertion failed: NUM_DMA_BLOCKS_RX_PREP must be
  < CONFIG_DMA_TCD_QUEUE_SIZE
  #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR),...
  drivers/i2s/i2s_mcux_sai.c:45: note: in expansion of
  macro BUILD_ASSERT
  BUILD_ASSERT(MAX_TX_DMA_BLOCKS > NUM_DMA_BLOCKS_RX_PREP,

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-10 10:34:30 +00:00
Sercan Erat
a57fcc12a8 boards: rakwireless: Adding rak11160 board support
The RAK11160 WisDuo module is a low-power, long-range LoRaWAN
module based on the STM32WLE5 and Espressif ESP8684H2 MCUs.

Signed-off-by: Sercan Erat <sercanerat@gmail.com>
2025-12-10 10:34:06 +00:00
Mario Paja
f4cfd85c56 drivers: video: stm32_dcmi: relocate dma stream to driver data
This change moves the dma stream from _config to _data,
allowing direct reference the DMA stream rather than
duplicating it on the stack. Additionally, it aligns the
declaration to the other STM32 drivers.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-12-10 10:33:50 +00:00
Mario Paja
ccdf98acd8 drivers: remove on-stack copying of dma cfg on stm32 drivers
This change removes the on-stack copying and instead
uses a pointer to the configuration to  avoid unnecessary
stack usage

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-12-10 10:33:50 +00:00
Dmitrii Sharshakov
a6b9f877e9 doc: releases: migration-guide-4.4: add a note on SETTINGS_TFM_PSA
Add a note about a renamed Kconfig option

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Dmitrii Sharshakov
e80b608cd4 settings: tfm_psa: improve code style
Fix SonarQube warnings, move variable declarations to the
top of the block according to Zephyr code style

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Dmitrii Sharshakov
7c3762130d samples: settings: cover PSA PS backend
By default, run on mps2/an521/cpu0/ns with TF-M.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Dmitrii Sharshakov
3117d7ad2c tests: settings: cover PSA PS backend
Just like ITS, it can be tested on mps2/an521/cpu0/ns with TF-M.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Dmitrii Sharshakov
0e04d8a802 settings: tfm_psa: add support for PS backend
Protected Storage is another type of secure (encrypted and
authenticated) storage available using PSA interfaces.

When targeting TF-M builds, allow making use of PS for storing settings

Fixes #94681

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Dmitrii Sharshakov
06eb1473d5 settings: tfm_psa: rename from its
Prepare for extending this backend to also allow storing settings in the
PS (Protected Storage).

Mostly file and kconfig renames, as well as updates
to comments and log messages.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-12-10 10:33:34 +00:00
Peter Mitsis
8fa52bf82f tests: Add smp_metairq test
Adds a new meta-IRQ test just for SMP. This test verifies that
a cooperative thread preempted by a meta-IRQ thread resumes on
the same CPU after the meta-IRQ thread finishes.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-10 10:32:50 +00:00
Peter Mitsis
9d23a1a948 doc: Add note to meta-IRQ threads
Adds a note to the meta-IRQ thread documentation indicating that
that when a cooperative thread resumes after being preempted by
a meta-IRQ thread it will resume on the same CPU from which it was
preempted.

On a UP system such behavior is a given. However, this behavior becomes
relevant on an SMP system to ensure that both schedule-locked and
cooperative threads are not accidentally shuffled to another CPU while
querying the properties associated with their current CPU.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-10 10:32:50 +00:00
Peter Mitsis
5dd36854fd kernel: Update clearing metairq_preempted record
If the thread being aborted or suspended was preempted by a metaIRQ
thread then clear the metairq_preempted record. In the case of
aborting a thread, this prevents a re-used thread from being
mistaken for a preempted thread. Furthermore, it removes the need
to test the recorded thread for readiness in next_up().

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-10 10:32:50 +00:00
Peter Mitsis
36d195b717 kernel: MetaIRQ on SMP fix
When a cooperative thread (temporary or otherwise) is preempted by a
metaIRQ thread on SMP, it is no longer re-inserted into the readyQ.
This prevents it from being scheduled by another CPU while the
preempting metaIRQ thread runs.

Fixes #95081

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-10 10:32:50 +00:00
Peter Mitsis
653731d2e1 kernel: Adjust metairq preemption tracking bounds
Adjust the bounds for tracking metairq preemption to include the
case where the number of metairq threads matches the number of
cooperative threads. This is needed as a thread that is schedule
locked through k_sched_lock() is documented to be treated as a
cooperative thread. This implies that if such a thread is preempted
by a metairq thread that execution control must return to that
thread after the metairq thread finishes its work.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-10 10:32:50 +00:00