Commit graph zephyr/soc
Author SHA1 Message Date
Haoran Jiang
223ee226ba drivers: pinctrl: sf32lb52x: support slew-rate
Encode the SF32LB52x slew-rate pinctrl property into HPSYS_PINMUX.
The devicetree value 0 selects slow slew rate and 1 selects fast
slew rate, while the hardware bit uses 1 for slow and 0 for fast.

PA39-PA42 reuse the same bit as MODE instead of SR. Mask SR out for
those pads and drive MODE separately from the selected pinctrl
function, setting it only for I2C routing and clearing it otherwise.

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-06-02 13:27:59 +02:00
Khai Do
bdb73695d7 soc: arm64: allwinner: add sun50i_h618 SoC support
Add basic SoC support for the Allwinner sun50i_h618 SoC. This includes
Kconfig definitions, SoC configuration files, and early memory map setup.

Tested by building the hello_world sample:
  west build -b opi_zero2w samples/hello_world

Signed-off-by: Khai Do <dovankhai97@gmail.com>
2026-06-02 11:46:27 +02:00
Sylvio Alves
8426707d6d soc: espressif: drop custom FLASH_SIZE and FLASH_BASE_ADDRESS
Stop defining custom FLASH_SIZE and FLASH_BASE_ADDRESS Kconfig symbols
in the Espressif SoC tree and consume the chosen zephyr,flash node
directly from devicetree.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-06-01 18:06:49 -05:00
Mathieu Choplain
15b1193025 soc: stm32: common: gpioport_mgr: always provide GPIO driver API
There are some (many?) applications and drivers which use the GPIO API
without making sure to enable it first. Unfortunately, it is common for
boards to enable CONFIG_GPIO=y in their defconfig, which allows these
applications/drivers to work fine even though they don't explicitly
enable the GPIO drivers they depend on... except when the target does
not enable CONFIG_GPIO=y as expected, which is now the case on STM32
platforms.

Unfortunately, due to a combination of several factors, such misuses
will currently result in runtime failures on STM32 platforms that are
not immediately obvious to diagnose:
- the GPIO API is implemented entirely in headers and not gated behind
  any symbol - as a result, consumers of the API will build fine and
  there will be no link error due to missing subsystem code when the
  GPIO subsystem is disabled

- the GPIOport manager instantiates devices regardless of CONFIG_GPIO;
  as such, the `undefined reference to __device_dts_ord_NNN` link error
  that would be expected to occur doesn't and images build just fine

- when CONFIG_GPIO=n, the GPIOport devices have NULL as `api` pointer

The GPIO API functions expect `dev->api` to be valid - as do functions
in every other Zephyr API - so they don't check that `dev->api != NULL`
and blindly dereference `api` which is NULL in this case. If the MPU is
enabled, this should fault immediately and could be easy to diagnose;
however, if the MPU is not enabled, the NULL dereference will (usually)
not fault and the resulting behavior is unpredictable.

Provide a dummy implementation of the GPIO API when CONFIG_GPIO=n such
that calls to the API will fail gracefully and log a clear error message
instead of causing unpredictable behavior, which should help users to
diagnose the issue and fix their configuration.

A broader rework of the GPIOport manager organization could solve this
issue by bringing back the link-time errors, but this is a much larger
effort and I'm not sure the result will be satisfactory, so let's start
with this first even though it is a bit hacky.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-06-01 12:42:09 -04:00
Grzegorz Swiderski
594a9235f4 soc: nordic: uicr: Expose generated byproducts
Inform sysbuild about the outputs of `gen_uicr` to allow creating proper
dependencies. This is supported by setting BYPRODUCT_* cache variables.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2026-06-01 12:39:34 -04:00
David Jewsbury
24fb8ce88b soc: nordic: nrf71: Edit soc Kconfig to enable MSPI DMA by default
The nrf-mspi peripheral is intended to use DMA for almost all use-cases.
Therefore, we can enable it by default.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-06-01 12:38:41 -04:00
Amneesh Singh
2616e5aa9b soc: intel: update interrupt handling to use "flags" instead of "sense"
Update SoC-specific interrupt handling code to use "flags" instead
of "sense" when accessing interrupt properties from device tree.
This aligns with the updated interrupt controller bindings that now
consistently use "flags" as the cell name for the IRQ type field.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-06-01 12:38:26 -04:00
Zhiyuan Tang
ddbe1248f9 soc: realtek: bee: use DT_MAPPED_PARTITION_ADDR for image_base
Replace CONFIG_FLASH_BASE_ADDRESS + CONFIG_FLASH_LOAD_OFFSET with
DT_MAPPED_PARTITION_ADDR(DT_CHOSEN(zephyr_code_partition)), which
is unavailable when zephyr,mapped-partition is used.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-06-01 12:09:48 +02:00
Jérôme Pouiller
4a5b34d51f soc: silabs: siwx91x: Add "silabs fota" shell command
siwx91x has a platform specific bootloader. Therefore, mcuboot is not
supporter and the user has to use a specific API to upgrade the firmware.
This API is already available on Zephyr through
CONFIG_SIWX91X_FIRMWARE_UPGRADE. However, no example code was provided.

This patch introduces "silabs fota <URL>" shell command that can be used as
an example for firmware update implementation.

The TLS capability is not mandatory for this example. For the record, I
have tested https capability on siwx917_rb4338a with samples/net/wifi/shell
and these parameters:

CONFIG_SIWX91X_FIRMWARE_UPGRADE=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
CONFIG_MBEDTLS_CIPHERSUITE_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256=y
CONFIG_NET_SOCKETS_TLS_CONNECT_TIMEOUT=30000
CONFIG_PSA_WANT_ALG_SHA_384=y
CONFIG_NET_BUF_RX_COUNT=80
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-06-01 12:08:05 +02:00
Niyas Hameed
de6b80ce43 soc: microchip: Update PIC32CM SG SoC Configuration
Remove Security Attribution Unit (SAU) as PIC32CM SG does not support SAU

Signed-off-by: Niyas Hameed <niyas.hameed@microchip.com>
2026-06-01 12:07:34 +02:00
Siva Subramanian Ravi Saravanan
a8fde10b0e dai: amd: add TDM DAI driver and register definitions for ACP 7.0
Add TDM DAI driver and ACP 7.0 register
definitions for AMD Audio Co-Processor. This includes:

- TDM DAI driver (tdm_dai.c) with support for I2S format
- ACP 7.0 chip register definitions and offset mappings
- Device tree bindings and nodes for TDM DAI instances
- Kconfig and CMake build integration

Signed-off-by: Siva Subramanian Ravi Saravanan <sravisar@amd.com>
Co-authored-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
2026-06-01 12:01:26 +02:00
Josuah Demangeon
1d35748d5c style: remove whitespace in < ... >; syntax from doc/comments
Fix devicetree coding style regarding whitespaces through the tree.
This affects code snippets inside documentation, comments, error messages
as to encourage a style that passes CI. Follow-up of #101619

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-05-29 20:53:20 -07:00
Raffael Rostagno
56289f7255 soc: esp32: Fix systimer linking
Fix systimer object linking (currently wrong name) for ESP32-C2,
ESP32-C3 and ESP32-H2, to correctly place it in IRAM.

Follows #109434.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-05-29 22:11:52 +02:00
Carlo Caione
b6589ea878 soc: intel: socfpga: agilex5: drop the GIC ITS MMU mapping
Unlike the GIC distributor/redistributor, the GICv3 ITS is accessed
through a base mapped by its own driver via device_map() when the node
is enabled, so it never needs a static MMU entry. The agilex5 ITS node
is disabled and never accessed, making this mapping dead. Remove it.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-05-29 22:11:24 +02:00
Carlo Caione
3953f4b43d arch: arm64: mmu: map the GIC regions in the arch core
The GIC register banks are accessed by the interrupt controller driver
through flat physical addresses before any driver can map them via the
device MMIO API, so they must be present in the page tables as soon as
the MMU is enabled. Until now every arm64 SoC had to repeat the same GIC
entries in its own mmu_regions.c to achieve this.

Map all the GIC reg banks in the arch core, generated from devicetree
and guarded by the presence of an arm,gic node, and provide a weak empty
mmu_config so a SoC that only needs the GIC no longer requires an
mmu_regions.c. Drop the now-redundant GIC entries from every arm64 SoC.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-05-29 22:11:24 +02:00
Zhiyuan Tang
afe7cde320 soc: realtek: bee: fix LTO causing image header corruption
Problem:
- When CONFIG_LTO is enabled, the boot ROM fails to recognize the
  image because .image_id field in img_header is corrupted.
- LTO optimization causes the const struct img_header contents to
  be modified incorrectly, breaking the image header that must be
  placed at the beginning of the flash.

Fix:
- Add __attribute__((used)) to img_header to prevent LTO from
  optimizing away or modifying the structure contents.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-05-29 22:08:11 +02:00
Richard Mc Sweeney
6c400ffa70 drivers: Add pse84 autanalog PRB reference
Added support for autanalog PRB for PSE84.

This implementation uses the shared autonomous controller (AC) MFD
with the other autanalog drivers.

The PRB is a programmable reference block inside the autonomous
(aut) analog subsystem. It is controlled using the autonomous
controller (AC), which is a programmable state machine. The AC is
shared across all autonomous analog peripherals including the
SAR, PRB, PTComp, CTB, and CTDAC.

The PRB contains two variable voltage references derived from
either VDDA(1.8V) or VGBR(0.9V). These need to be configured
together and accessed using the AC. A PRB MFD is used to bring
together the two voltage reference configurations. AC MFD then
references the combined PRB MFD configuration, and brings together
all other autanalog peripherals into a single AC setup for the
application.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-29 22:07:08 +02:00
Raffael Rostagno
f37c20f4d1 soc: esp32: pm: CPU and peripherals power down option
Add CPU and peripherals power down option, for light sleep.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-05-29 22:05:37 +02:00
Raffael Rostagno
7790365e03 soc: esp32: Add sleep retention SoC caps
Add SoC capability symbols needed for sleep retention functions.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-05-29 22:05:37 +02:00
Zhiyuan Tang
8f994e769e soc: realtek: bee: handle Power Down mode wakeup
Add Power Down mode wakeup handling in soc_early_init_hook.
Check km4_aon_boot_done flag to distinguish between normal boot
and wakeup from Power Down mode, and call appropriate PM exit
sequences.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-05-29 09:21:15 -05:00
Sylvio Alves
75cb1c3364 soc: espressif: fix psram cache invalidate abort on esp32
ESP32 cache has no per-address invalidate primitive, so
cache_hal_invalidate_addr() aborts. Skip the flash IROM/DROM
invalidate step on ESP32 only.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-29 07:45:12 +02:00
Sylvio Alves
fdef05cd74 soc: espressif: loader: fix drom/irom log classifier
Disambiguate the boot-log segment label on socs where the irom and
drom hardware address ranges overlap (esp32c5, esp32c6, esp32h2,
esp32p4). Match against the linker-provided map vaddrs first so the
correct "IROM" or "DROM" string is printed, falling back to the
range-based macros for any other mapped segment.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-29 07:40:58 +02:00
Zhaoxiang Jin
c2f9876885 soc: nxp: ungate core clock after wakeup
Ungate the core clock after wakeup from low power modes.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-05-29 07:37:07 +02:00
Jérôme Pouiller
431c3d1567 soc: silabs: siwx91x: nwp: Declare pinctrl for antenna selection
These pin are currently managed by the HAL. However, for the consistency,
this patch enforces their declaration in the Device Tree.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-05-29 07:36:02 +02:00
Jérôme Pouiller
06885f6974 soc: silabs: siwx91x: nwp: Remove stack allocation
This way of allocating stack is not longer used by the NWP firmware for a
while.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-05-29 07:36:02 +02:00
Jérôme Pouiller
bd1aa44a0d soc: silabs: siwx91x: nwp: Relax firmware version check
The Zephyr implementation (and more importantly, the version of WiseConnect
SDK used in the HAL) strictly depends on a specific version of the NWP
firmware.

However, the current check prevents the user from running a newer release
of the NWP firmware. Let's relax this test to only check if the patch
number is older than what we expect.

In addition, since we bundle a copy of the NWP firmware with Zephyr (via
west blob), there are fewer risks of mismatch than when we introduced this
restriction.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-05-29 07:36:02 +02:00
Jérôme Pouiller
985f66c3ba drivers: wifi: siwx91x: Drop useless HIDE_PSK_CREDENTIALS parameter
WIFI_SILABS_SIWX91X_FEAT_HIDE_PSK_CREDENTIALS impacted the way the NWp
print the log message. However, these logs are not available on production
firmware. So, it does not make sense to expose this parameter.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-05-29 07:36:02 +02:00
Jérôme Pouiller
0e5dde875f soc: silabs: siwx91x: Fix defaultconfig statements
Defining a Kconfig symbol several times is dangerous. It is better to use
configdefault for the CMSIS related symbols.

Bluetooth configdefault depends on NWP driver. It is more accurate to
depend on the Si91x Bluetooth driver.

Finally, configdefault is supposed to be only used in Kconfig.defconfig
files. So, relocate BT_HCI_ACL_FLOW_CONTROL.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-05-29 07:36:02 +02:00
Dhanoo Surasarang
a9e88fa2fe soc: nordic: Add WICR generation tooling for nRF71
Add supporting scripts and build-system integration for WICR
generation.

Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no>
2026-05-29 07:35:22 +02:00
Vincent Tardy
30d123cc90 drivers: flash : stm32wbax : Add flash manager thread
A flash manager thread is created and allocated to
process Flash Manager Process.
Definition of KConfigs STM32WBA_FLASH_MNGR_THREAD_STACK_SIZE,
and STM32WBA_FLASH_MNGR_THREAD_PRIO to configure the
flash manager thread.
STM32WBA_FLASH_MNGR_THREAD_STACK_SIZE is setting by default
to 768 bytes. This value was chosen empirically since reasonable
to cover generic cases.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-05-28 11:06:47 +01:00
Jordan Yates
e07c8cf4d6 soc: nordic: opt-in deprecated platform symbols
Force users to explicitly opt-in to the deprecated platform symbols,
instead of enabling `DEPRECATED` symbols by default for all nRF54, nRF71
and nRF92 builds.

Fixes #109802.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-05-27 21:35:59 -04:00
Richard Mc Sweeney
656c245ce5 drivers: add pse84 CTDAC support
Added autonomous analog CTDAC for PSE84 device.

This implementation uses the autonomous controller (MFD)
that is shared with other autanalog drivers.

The CTDAC stands for Continuous Time DAC. It is a programmable DAC
residing inside the autonomous (aut) analog subsystem. It is
controlled using the autonomous controller (AC), which is a
programmable state machine. The AC is shared across all autonomous
analog peripherals including the SAR, PRB, PTComp, CTB, and CTDAC.

The DAC output can either be software controlled or be driven
through the AC hardware by loading through an internal LUT memory.
AC MFD references the DAC configuration, and brings together all
other autanalog peripherals into a single AC setup for the application.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-27 21:28:38 -04:00
Camille BAUD
3c22e65285 bflb: bluetooth: Fix BL70x M16S1 blob
Missing bl_rand shim, use proper size of EM

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/109697

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-05-27 15:19:03 +01:00
Lucien Zhao
e378f8624d soc: nxp: mcxe31x: move ECC SRAM init to early reset hook
The MCXE31x SoC requires ECC-protected SRAM and TCM to be initialised
by a 64-bit master on destructive reset before any 32-bit master access
is allowed. The init routine is currently wired to soc_reset_hook,
which runs after the early portion of z_arm_reset that may already
touch SRAM.

Wire the init routine to soc_early_reset_hook instead, which is the
arch-defined hook that fires before any RAM access is performed by
reset.S. This matches what the S32K3 series does in
soc/nxp/s32/s32k3/s32k3xx_startup.S for the same hardware constraint.

The hook body itself only uses registers (no stack), as required by
the soc_early_reset_hook contract. The previous 'bl SystemInit' tail
call is moved out of this ASM hook into soc_early_init_hook in soc.c,
where the full C environment (.bss zeroed, .data copied) is guaranteed
to be ready. SystemInit comes from the NXP SDK and may touch globals,
so it must run after C startup is complete, not from within the early
reset hook.

Reported in zephyrproject-rtos/zephyr#107699.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-05-27 08:42:13 +02:00
Sylvio Alves
20c1b4e23c soc: espressif: esp32c6: fix sys timer name in linker
Linker script pulls libdrivers__timer.a:esp32c6_sys_timer into
IRAM but the actual driver object is esp32_sys_timer, so the
match fails and the timer code stays in flash. Update the
pattern to esp32_sys_timer.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-27 08:36:13 +02:00
Daniel Schultz
4ae51cf5c3 soc: aesc: nitrogen: Enable PINCTRL
Always enable CONFIG_PINCTRL since all socs are coming with
this controller.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2026-05-27 08:34:52 +02:00
Daniel Schultz
90da6d4131 soc: aesc: Add pinctrl_soc.h
Add a common directorly and include the pinctrl_soc.h file for
all available cores.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2026-05-27 08:34:52 +02:00
Tony Han
acfb59ebde drivers: ethernet: sam_gmac: handle the GMAC register with device MMIO
Handle GAMC register with device memory-mapped input/output management.
As the MMIO is used, remove the MMU configurations for GMAC accordingly.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-05-26 15:23:38 +02:00
Magdalena Pastula
d68dbaf682 soc: nordic: remove BSP old solution
Remove previous solution determinig which BSP should be
used in build.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
2026-05-26 15:18:49 +02:00
Sylvio Alves
bf57bcf4f1 soc: espressif: fix psram heap and linker-reserved window
Wi-Fi on PSRAM-enabled builds was failing because the shared multi
heap overlapped relocated .ext_ram.data noinit content. Anchor the
heap on the linker-reserved window, size esp32c5 and esp32s3 ext
segments to the cache window and bump the Wi-Fi SPIRAM heap floor.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-26 09:21:22 +02:00
Mathieu Choplain
1547f729c6 soc: st: common: stm32cube_hal: add assertions glue for HAL2
The STM32Cube HAL2 uses different hooks for assertion failures.
Attempting to enable HAL assertions on series using HAL2 right now
results in a build failure because we don't provide these hooks.

For example:
  west build samples/net/dhcpv4_client/ -b nucleo_c5a3zg
  -DCONFIG_ASSERT=y -DCONFIG_USE_STM32_ASSERT=y -p

results in the following messages (shortened for clarity):
  [293/298] Linking C executable zephyr/zephyr_pre0.elf
  FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
  ld.bfd: in function `HAL_RCC_PSI_GetConfig':
  .../stm32c5xx/drivers/hal/stm32c5xx_hal_rcc.c:1596:
       undefined reference to `assert_dbg_param_failed'
  ld.bfd: in function `HAL_ETH_SetConfig':
  .../stm32c5xx/drivers/hal/stm32c5xx_hal_eth.c:1465:
       undefined reference to `assert_dbg_state_failed'

Add glue code needed for compatibility with HAL2 and, while at it, also
clean up the HAL1-specific hook.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-05-25 18:19:43 +02:00
cyliang tw
3cca63e10c soc: nuvoton: numaker: add support for m031x series
Add initial support for nuvoton numaker m031x SoC series
including basic init and device tree source include.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-05-25 18:18:15 +02:00
Sylvio Alves
d74e151ce5 soc: espressif: always enable cache management on dcache socs
ESP32-S2, S3 and C5 select CPU_HAS_DCACHE so CONFIG_DCACHE is
always y on these series. Gating CACHE_MANAGEMENT on ESP_SPIRAM
left CONFIG_DCACHE_LINE_SIZE undefined when PSRAM was disabled,
which broke any driver that reads it under CONFIG_DCACHE such as
the USB device controller buffer macros.

Drop the ESP_SPIRAM condition so CACHE_MANAGEMENT defaults to y
whenever the series is selected, matching the ESP32-P4 defconfig.
The cache line size is a CPU property that exists regardless of
PSRAM, and internal SRAM DMA paths also benefit from coherent
sys_cache_data_* operations.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-24 18:36:12 -07:00
Camille BAUD
101f1772de soc: bflb: Use unaligned FP no-MTVAL
Replace workaround and enable FP no-MTVAL trap unaligned version

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-05-22 18:26:16 +02:00
Allen Zhang
c8a5c24d86 soc: mcxw70: updated the part number
Drop last letter A from part number, use MCXW70ACMFT instead of
MCXW70ACMFTA

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2026-05-22 10:52:49 +02:00
Richard Mc Sweeney
f27c33544b drivers: Add CTB support for PSE84
Added autanalog CTB support for PSE84 device.

This implementation uses the autnonomous controller (MFD)
that is shared with other autanalog drivers.

The CTB stands for Continuous Time Block. It is a set of opamps
residing inside the autonomous (aut) analog subsystem. It is
controlled using the autonomous controller (AC), which is a
programmable state machine. The AC is shared across all autonomous
analog peripherals including the SAR, PRB, PTComp, CTB, and CTDAC.

Each CTB block contains two opamps, which need to be configured
together and accessed using the AC. A CTB MFD is used to bring
together the two opamp configurations. AC MFD then references the
combined CTB MFD configuration, and brings together all other
autanalog peripherals into a single AC setup for the application.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-22 10:45:52 +02:00
Muzaffar Ahmed
54d512e8b9 drivers: wifi: siwx91x: Remove WPS disable macro in AP mode
In AP mode, there is not enough heap memory in NWP for a WPA2 connection's
crypto operations. This issue was reported earlier and was fixed in NWP
by reserving 5kB extra memory in TCP/IP bypass mode. However this was
pushed as a hotfix and the fix was lost in the next release.

The NWP code is frozen now and the workaround to fix this issue is to
enable a feature which reserves ~5kB memory.

Removing this macro enables WPS and reserves an 5k extra memory in NWP.
It does not affect any other functionality (such as Wi-Fi IEs).

Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
2026-05-21 17:03:08 -04:00
Holt Sun
39582c1c2f soc: nxp: migrate PM hooks to idle-owned IRQ restore
Migrate NXP MCXC, MCXA, MCXN and KE1xZ system PM hooks to the
idle-owned IRQ restore contract.

Select PM_STATE_SET_IRQ_LOCKED for the migrated SoCs. Their pm_state_set()
and pm_state_exit_post_ops() no longer dispatch wake-source IRQs before PM
resume bookkeeping completes.

Remove SoC-side irq_unlock(0) calls. Use the arch PM helpers next to the
low-power instruction in implementations that execute WFI directly.

Keep power_mgmt_soc coverage enabled for the migrated MCXC boards.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-05-21 17:02:03 -04:00
Sunil Abraham
e9621a8008 drivers: dma: microchip: add g3 driver for PIC32CZ_CA family
Add DMA g3 driver support.

Signed-off-by: Sunil Abraham <Sunil.Abraham@microchip.com>
2026-05-21 06:32:09 -04:00
Sylvio Alves
d17dd59dcf soc: espressif: enable cache management on psram-capable socs
Select CPU_HAS_DCACHE on ESP32-S2, S3 and C5 and auto-enable
CACHE_MANAGEMENT in each defconfig when ESP_SPIRAM is selected.
This activates the cache_esp32 driver where it is useful, so
portable sys_cache_data_* calls keep PSRAM and DMA buffers
coherent.

The L1 dcache line size is declared via the cpu@0 devicetree
node so the generic DCACHE_LINE_SIZE Kconfig default picks it
up automatically. SoCs without writeback cache (ESP32, C2, C3,
C6 and H2) are left untouched.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-20 19:22:10 -07:00