Commit graph

7,339 commits

Author SHA1 Message Date
Lauren Murphy
b3a7eeaa79 soc: intel_adsp: winstream only if not sim
Simulator console will not be used if winstream is
selected for simulators.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2025-10-22 09:03:00 +02:00
Lauren Murphy
e8a14b2494 soc: intel_adsp: send fwready msg for sim
Sends FWREADY message for simulator.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2025-10-22 09:03:00 +02:00
Tom Chang
4ab41ed47b drivers: ps2: npcx: update registers for NPCKn variant
This commit updates register definition for NPCKn variant to match the
datasheet.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-22 08:57:04 +02:00
Khoa Nguyen
f7563b72ee soc: renesas: ra: Select the Ethos-U NPU configuration for RA8P1
Select the Ethos-U NPU configuration for RA8P1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-22 08:56:25 +02:00
Tien Nguyen
f01d90bba2 boards: renesas: Add flash support for RZ/A3UL, N2L, T2M
Add flash support for RZ/A3UL, N2L, T2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Tien Nguyen
a481d4cab9 soc: renesas: Add flash memory regions for RZ/A3UL
Add flash memory regions for RZ/A3UL

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Henrik Grunmach
dbc16f4e46 dts: soc: nxp lpc55xxx: Add SWO support
Add ITM to common device tree and set the correct clock config
when using SWO as a logging backend

Signed-off-by: Henrik Grunmach <henrik.grunmach@rohde-schwarz.com>
2025-10-22 08:55:31 +02:00
Lucien Zhao
057eb6d281 soc: nxp: mcx: add mcxe24x series soc
- create 'mcxe' as family and 'mcxe24x' as series
- add pinctrl_soc.h
- add soc.c/.h to do system initialization
- Support flash boot if CONFIG_MCXE_FLASH_CONFIG==1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-10-21 22:55:08 +03:00
John Batch
75c731cbcc drivers: adc: Infineon HPPASS SAR ADC Driver
Adds HPPASS SAR ADC driver and HPPASS Analog driver files to support
ADC conversion for the PSOC C3 family of MCUs.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-10-21 22:54:55 +03:00
Daniel Leung
5ec79bf556 soc: intel_adsp/ace: allows more spin relax loop per CPU
This allows adding the CPU ID to the number of NOPs in
the custom arch_spin_relax(). With the same number of NOPs
for all CPUs, it is possible to have them all doing RCW
transactions at the same time over and over again if they
enter and exit the spin relax loop at the same time.
This behavior has been observed when doing lots of context
switching, like in the SMP switching stress test. So adds
a new kconfig to fine tune the relax loop behavior if
needed. The new kconfig allows adding the CPU ID to
the number of NOPs which will add some minimal offsetting
to workaround the above mentioned situation.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-10-21 22:54:34 +03:00
Neil Chen
8a11ef30f9 soc: nxp: mcx: update config NUM_IRQS value
Update mcxa NUM_IRQS value according to part number.
Correct mcxn NUM_IRQS value to 156.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-10-21 22:52:11 +03:00
Neil Chen
4b3eb6cc69 soc: mcxa344: add SOC support for MCXA344
Add soc MCXA153 for board frdm_mcxa344

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-10-21 12:25:29 -04:00
Tahsin Mutlugun
a97b2007cf soc: adi: max32: Add support for MAX32658 SoC
MAX32658 is the 1.8V variant of MAX32657. From a software perspective,
both SoCs are functionally equivalent. Reuse the existing MAX32657
backend for MAX32658 to enable support with minimal changes.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-21 12:25:13 -04:00
Mohamed Azhar
83092a114a soc: microchip: add support for PIC32CZ CA SoC series
Adds initial SoC-level support for the Microchip
PIC32CZ CA80/9x series, including SoC definition files.

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2025-10-21 12:24:04 -04:00
Tony Han
7715e14efe soc: microchip: sam: update MMU for sama7g5 XDMAC
When the XDMAC is activated in the DT, configure it's register region
with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:20 +03:00
Tony Han
0f8698ccbc soc: microchip: sam: enable CACHE_MANAGEMENT for sama7g5 series
Enable cache manamegent for sama7g5 series.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:20 +03:00
Tony Han
778232cf50 soc: microchip: sam: register clocks for sama7d65
Register sama7d65 clocks in sam_pmc_setup() which will be called by
the PMC driver.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
7b08b91f62 soc: microchip: sam: add new SoC sama7d65
Product URL: https://www.microchip.com/en-us/product/SAMA7D65

The files under 'soc/microchip/sam/sama7/' will be used for both
sama7d5 and sama7d65 SoCs after the directory structure for sama7g5
is reorganized.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
d7e355de73 soc: microchip: sam: optimize array size for sama7g5 registered clocks
Replace the array size for sama7g5 registered clocks with macros and
put the macros to soc.h with descriptions.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
4c6aa7da31 soc: microchip: sam: optimize name for sama7g5 programmable clock
Change the location of the names for programable clocks from the
stack to "static struct clk_programmable" array.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Scott Worley
64ed0f70a1 soc: microchip: mec: Add common ECIA GIRQ and MMCR routines
We added ECIA GIRQ get/set/clear functions avaiable for
all MEC parts. Drivers can make use of these functions
to get, set, and clear GIRQ status and enables for
their peripheral. In cases where code requires 8/16 bit
access to these or other SoC registers we added inline
helpers modeled after Zephyr's 32-bit sys_read/write/test
routines. This commit is part of a long term goal to share
drivers among all the MEC parts.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-10-21 17:25:40 +03:00
Tony Han
1a39f7ff75 soc: microchip: sama7g5: sam: update MMU setting for sama7g5 TRNG
Update TRNG registers with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 11:43:39 +03:00
Hou Zhiqiang
49229d3c2d soc: nxp: imx93: add resource table section for m33
Add .resource_table section to the linker script for the
i.MX93 Cortex-M33.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Hao Luo
a1954bad80 soc: ambiq: define itcm_text for apollo5x
Define itcm_text in hal_internal.ld for apollo5x

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-10-21 11:41:00 +03:00
Tony Han
11844cd3cb soc: microchip: sam: update MMU for sama7g5 PWM
When the PWM is activated in the DT, configure it's register region
with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-20 19:19:20 -04:00
Muhammed Asif
abc755f596 soc: microchip: Add support for PIC32CX SG SoC series
Adds initial SoC-level support for the Microchip
PIC32CX SG series, including SoC definition files.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-10-20 19:18:18 -04:00
Gerard Marull-Paretas
aee81a86f8 soc: sifli: sf32: sf32lb52x: configure flash base address
Take it from the chosen flash node parent (MPI controller) 'nor'
register, which contains the memory mapped address for the NOR flash.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-10-20 14:23:43 -04:00
Afonso Oliveira
4f2531cf80 soc: qemu: virt_riscv: refactor interrupt controller selection
Move interrupt controller selection from SOC_FAMILY_QEMU_VIRT_RISCV
to individual SoC configurations.

This follows Zephyr best practices where hardware capabilities should
be selected at the most specific level possible (SoC porting guide).
This enables conditional selection of mutually exclusive interrupt
controllers within the same SoC.

Changes:
- Remove 'select RISCV_HAS_PLIC' from SOC_FAMILY_QEMU_VIRT_RISCV
- Add 'select RISCV_HAS_PLIC' to each individual SoC:
  * SOC_QEMU_VIRT_RISCV32
  * SOC_QEMU_VIRT_RISCV32E
  * SOC_QEMU_VIRT_RISCV64

No functional change - all existing QEMU RISC-V boards continue to
use PLIC as before.

Signed-off-by: Afonso Oliveira <afonsoo@synopsys.com>
2025-10-20 11:34:54 -04:00
Khoa Tran
c42fc3aed1 soc: renesas: ra: Add battery backup support for RA8 family
Add support for the battery backup (VBAT) functionality on
Renesas RA8 family. This allows the RTC to retain timekeeping
data when the main power supply is lost by switching to the
VBAT domain automatically. This commit add support for these
SoC series: ra8m1, ra8p1, ra8d1

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-10-20 11:19:13 -04:00
Sebastian Bøe
e57676a4f5 soc: nordic: nrf54h: uicr: Improve deps for uicr/zephyr/zephyr.hex
uicr/zephyr/zephyr.hex needs to be built after all other zephyr
images.

Instead of adding a dependency on uicr, we check the sysbuild_images
property to find images.

Also, we check it as late possible by using the cmake_language(DEFER
DIRECTORY feature. Which will ensure that running this code will be
one of the last things that the CMake sysbuild program does at
Configure time.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-10-20 12:00:00 +02:00
Ren Chen
0d886da068 soc: it8xxx2: move gpio-q and elpm initial to early preparation hook
Relocate the initialization of the gpio-q group and the elpm
module to early SoC preparation hook. The elpm xlpout signal
is connected to the main power rail and is driven by firmware
after bootup. Initializing these modules early ensures that
the power rail remains stable and does not drop.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-10-20 11:59:31 +02:00
Quy Tran
a34dafd724 soc: renesas: rx: Add dtc support for Renesas RX261
Add dtc support for RX261 and ram section for dtc vector
table

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-10-20 11:57:03 +02:00
Minh Tang
a944ba23b8 soc: renesas: ra: Support NMI Handler for RA8P1 SoC
Add register NMI_Handler for NMI when CONFIG_RUNTIME_NMI is enabled on
RA8P1

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-10-19 20:51:30 -04:00
Thomas Decker
bfdf070b7d soc: st: stm32: h7rs: Add memory region to MPU region list
Add ethernet DMA buffer/descriptor region (sram2) and read only
flash region 0x08FFF800 with unique device ID registers to MPU region
list. The unique device ID is used to create a random mac address by
the ethernet driver. Ethernet DMA buffer/descriptor memory section is
also added to linker script.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00
Fabrice DJIATSA
84dc8d21b6 soc: st: stm32: add common kconfig symbols for kernel stack size
Provide default values for common kconfig symbols for main, idle and
isr stack sizes, which apply on all STM32 MCU families with low RAM
memory(less than 8 KiB).
These kconfig symbols help reduce kernel sizes to fit within
limited RAM.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-17 17:04:04 +03:00
Camille BAUD
ecada5749b soc: bflb: Fix cache code relocation
The location of the cache code file was changed, update it here

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-17 17:02:14 +03:00
Axel Le Bourhis
188c93ec67 soc: nxp: nxp_nbu: Fix IMU IRQ enabled too early in NXP NBU driver
This commit addresses an issue where the IMU interrupt is enabled too
early by the nxp_nbu driver, this leads to a race condition where the
interrupt can be triggered even though the IMU driver is not fully
initialized.
The interrupt shall not be enabled at Zephyr level since this will
be done by the low level driver in the hal_nxp.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2025-10-17 17:02:02 +03:00
cyliang tw
1e216d5b1e soc: nuvoton: numaker: add support for m333x series
Add initial support for Nuvoton NuMaker-M333x SoC series,
including basic initialization and device tree includes.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-10-17 12:55:17 +02:00
Martin Hoff
ba1d267c62 soc: silabs: siwx91x: transform nwp soc files into a driver
The goal of this patch is to switch from the nwp.c and nwp.h soc files
to the new nwp driver. During this transition, we also renamed
CONFIG_WISECONNECT_NETWORK_STACK to CONFIG_SILABS_SIWX91X_NWP which are
a better naming to let the user knows that the network coprocessor files
will be added to the compilation.

The switch from a soc file to a driver device introduce a notion of nwp
device that allows us to check for good initialization and ressources
allocation.

Before this patch, it is not possible to know if the nwp have booted
successfully or not. We can now check if the device driver is ready
or not before trying to do operation related to the nwp.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-17 11:17:30 +02:00
Stoyan Bogdanov
f393ae607f soc: ti: cc23x0: Add support for RTC alarms in power.c
In power management, add support to take into account the alarms
set in RTC. Alarm from RTC is processed like any other from SYSTIM.
This prevents from missing interrupts.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
a286540dbc soc: ti: cc23x0: Add conditions for RTC as timer in power.c
In power management, add conditions to handle the case where
RTC is used as main timer.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
f5bcee5d8d soc: ti: cc23x0: Add power management
Add power management capabilities for cc23x0:
- runtime-idle
- standby
- soft-off

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
Stoyan Bogdanov
9ec8ad9b47 soc: ti: cc23x0: Add clock definition for RTC
Add conditonal definition for RTC and SYSTIM with different
values for both of them respecting clock speed and ticks
per minute.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-10-16 22:31:52 -04:00
James Bennion-Pedley
99b0c25d01 soc: wch: Add CH32V307 Support
Fixes PLL Issues with PR#95814.
Based on the work of Thomas Boje <info@andocs.biz>

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2025-10-16 15:06:01 -04:00
Zhaoxiang Jin
b6c66b7858 west: update hal_nxp to mcux sdk 25.09.00
1. update hal_nxp to mcux sdk 25.09.00
2. Updated imxrt7xx part numbers to align with SDK.
3. Fixed typo in member of dsi_transfer_t structure. The sendDscCmd
and dscCmd shall be sendDcsCmd and dcsCmd.
4. Remove the call to the function 'CLOCK_OSC_GateOscRc400M'. This
function has been removed from the SDK.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-16 15:05:20 -04:00
Erwan Gouriou
84bba8742a dts: arm: stm32n6: Add NPU Cache clock and reset lines
Add the description of NPU Cache (aka cacheaxi) to allow configuring
them in NPU Cache driver.
I intentionally chose this over creating a new dedicated node as
the exclusive user is NPU Cache and this could be done as part of
NPU driver initialization.

Update the NPU driver to take those into account as part of its init
routine.

Signed-off-by: Mickael Guene <mickael.guene@st.com>
Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-10-16 12:15:58 -04:00
Emilio Benavente
8e8056324d soc: nxp: mcxw: Enable EDMA
Add DMA nodes for MCXW7X SOC DTS.
This SOC used TRIGMUX instead of DMAMUX.
Enable EDMAv3 for the frdm_mcxw71 and frdm_mcxw72
platforms.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-16 17:17:12 +03:00
Jun Lin
28434f8003 drivers: uart: npcx: support additional capabilities
This commit adds the following functionality support:
1. More baudrate setting.
2. 7 bit data moded.
3. Tx (CR_SOUT) and Rx (CR_SIN) signal invert.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-10-16 17:15:30 +03:00
Abderrahmane JARMOUNI
3fe6fcf3d4 soc: stm32: Kconfig: fix options leak
Fix various Kconfig options leak

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-10-16 17:12:27 +03:00
Divin Raj
f00aeb4b7b soc: fvp_aemv8r: Flash mpu region can't be set in case of no flash
Some platforms do not have flash memory. The flash mpu region cannot
be created in case CONFIG_FLASH_SIZE is zero.

Signed-off-by: Yanqin Wei <yanqin.wei@arm.com>
Signed-off-by: Divin Raj <divin.raj@arm.com>
2025-10-16 17:10:35 +03:00