Skip to content

Conversation

Girinandha-M
Copy link
Collaborator

Add Support for TI MSPM0 AES module.

@Girinandha-M Girinandha-M force-pushed the upstream/ti/mspm0-aes branch 2 times, most recently from f726c74 to c322f0c Compare August 26, 2025 13:51
fabiobaltieri and others added 24 commits September 8, 2025 11:11
This moves the declaration of the utf8 utils defined in lib/utils/utf8.c
in their own header. Main reason to do this is that the current setup
requried adding an include for sys/types.h in util.h, which can result
in a build falure due to a circular header depdenecy when using:

CONFIG_POSIX_API=y
CONFIG_NEWLIB_LIBC=y
_GNU_SOURCE

the loop and error are:

- include/sys/types.h:50: <- this is a NEWLIB one
- include/zephyr/posix/sys/select.h:9:
- include/zephyr/posix/posix_types.h:30:
- include/zephyr/kernel.h:17:
- include/zephyr/kernel_includes.h:25:
- include/zephyr/sys/atomic.h:18:

include/zephyr/sys/util.h:705:1:
error: unknown type name 'ssize_t'

Signed-off-by: Fabio Baltieri <[email protected]>
Change utf8_count_chars return type to int and drop thesys/types.h, this
way the function does not depend on posix types.

Signed-off-by: Fabio Baltieri <[email protected]>
This combination (with newlib) seems to catch some build failures due to
include depdenency, adding a test file so it gets caught in CI.

Signed-off-by: Fabio Baltieri <[email protected]>
This recovers unwanted assignment break caused by clang-format.

Signed-off-by: Chun-Chieh Li <[email protected]>
This fixes typo in isr function name.

Signed-off-by: Chun-Chieh Li <[email protected]>
This fixes timing to enable D+ pull-up so that device won't be recognized
by host until user application invokes udc_enable().

Signed-off-by: Chun-Chieh Li <[email protected]>
This refines interrupt handling sequence: clear interrupt flag first,
then process it. This can avoid one race condition when interrupt flag
is cleared but not processed for interrupts of the same type coming
very closely.

Signed-off-by: Chun-Chieh Li <[email protected]>
This supports VBUS detect (caps.can_detect_vbus). This requires enables
VBUS detect interrupt early.

Signed-off-by: Chun-Chieh Li <[email protected]>
This removes unneeded 'volatile' qualifier for normal memory variables.

Signed-off-by: Chun-Chieh Li <[email protected]>
For clear, this splits large isr function into smaller ones which are
dedicated for handling plug/unplug, wakeup, reset/suspend/resume, SOF,
Setup, and endpoint events.

Signed-off-by: Chun-Chieh Li <[email protected]>
- minor corrections in h bridge 4 click
- add references in shield documentation
- update overlay

Signed-off-by: Jilay Pandya <[email protected]>
Not really a kernel feature, more for architecture, which is reflected
in how XIP is enabled and tested. Move it to architecture code to keep
which much of the 'implementation' and usage is.

Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also
matches the test idcentifier in place.

Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also
matches the test idcentifier in place.

Signed-off-by: Anas Nashif <[email protected]>
Move under arch, as this is not a kernel feature really. arch also
matches the test idcentifier in place.

Signed-off-by: Anas Nashif <[email protected]>
Cleanup init.c code and move early boot code into arch/ and make it
accessible outside of the boot process/kernel.

All of this code is not related to the 'kernel' and is mostly used
within the architecture boot / setup process.

The way it was done, some soc code was including kernel_internal.h
directly, which shouldn't be done.

Signed-off-by: Anas Nashif <[email protected]>
No reason for this to be part of already packed init.c.
Moved to own file and build only when BOOTARGS are enabled.

Signed-off-by: Anas Nashif <[email protected]>
Cleanup kconfig of bootargs and put everything in one menuconfig.

Signed-off-by: Anas Nashif <[email protected]>
Move device model syscalls to device.c and decouple kernel header from
device related routines. Cleanup init to have only what is needed.

Signed-off-by: Anas Nashif <[email protected]>
simplify cmake file and use macros for adding files that are part of the
kernel based on the configuration.

Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as
those functions are primarily used across arches and can be defined by
the architecture.

Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as
those functions are primarily used across arches and can be defined by
the architecture.

Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as
those functions are primarily used across arches and can be defined by
the architecture.

Signed-off-by: Anas Nashif <[email protected]>
Do not use private API prefix and move to architecture interface as
those functions are primarily used across arches and can be defined by
the architecture.

Signed-off-by: Anas Nashif <[email protected]>
asmellby and others added 6 commits September 10, 2025 16:39
Remove wakeup trigger from Series 2 boards. The implementation
seems to configure a GPIO to be driven low on boot, which has
nothing to do with wakeup. In order to actually configure a
wakeup GPIO, the GPIO_INT_WAKEUP flag would need to be used when
registering an interrupt on the pin. However, this should not
be the responsibility of the board. It is an application
concern, so remove it from the boards.

Signed-off-by: Aksel Skauge Mellbye <[email protected]>
PM on the nrf54h20 has minimal utility if power domains and devices
are not managed at runtime, as these prevent the soc from entering
sleep states in the first place. Enable PM_DEVICE by default if PM,
which in turn enables PM_DEVICE_RUNTIME for devices and power
domains.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Add support for halting the Radio core immediately after reset. This
ensures that a debugger can attach and take control from the very
first instruction.

Signed-off-by: Sebastian Bøe <[email protected]>
Other targets that define this symbol do it in the Kconfig file, and
gate it with a SOC_ model or series symbol. Defining a default in the
Kconfig.soc instead applies it on every build, which is not desired.

Signed-off-by: Luca Burelli <[email protected]>
Extend vpr_launcher and device tree bindings to support configuring
the DMA secure attribute.

Signed-off-by: Dhanoo Surasarang <[email protected]>
This helps to circumvent issues in current BAP implementation when
multiple streams are present. Also puts RX path in line with
configuration of TX path.

Signed-off-by: Szymon Janc <[email protected]>
Add bindings for TI MSPM0 AES Module.

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Extend the crypto API to support AES Cipher Feedback (CFB) and
Output Feedback (OFB) modes of operation

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add driver support for TI MSPM0 AES module.

Introduced a hardware-accelerated AES driver for the TI MSPM0,
enable support for encryption and decryption using ECB, CBC, CFB,
and OFB mode of operation.

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add devicetree node support for AES ( Advanced Encryption Standard )
node for TI MSPM0.

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Add board-specific overlay to enable the MSPM0 AES in the zephyr
crypto sample for lp_mspm0g3507 board.

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Extend the crypto sample to include support for
CFB and OFB modes of operation.

Signed-off-by: Girinandha Manivelpandiyan <[email protected]>
Copy link

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_espressif zephyrproject-rtos/hal_espressif@aa5443a zephyrproject-rtos/hal_espressif@465e13c zephyrproject-rtos/[email protected]
hal_nordic zephyrproject-rtos/hal_nordic@a657948 zephyrproject-rtos/hal_nordic@54f33f1 (master) zephyrproject-rtos/[email protected]
hal_nxp zephyrproject-rtos/hal_nxp@54ebe9b zephyrproject-rtos/hal_nxp@809b1c1 zephyrproject-rtos/[email protected]
hal_rpi_pico zephyrproject-rtos/hal_rpi_pico@5a981c7 zephyrproject-rtos/hal_rpi_pico@b547a36 zephyrproject-rtos/[email protected]
hal_silabs zephyrproject-rtos/hal_silabs@13343bc zephyrproject-rtos/hal_silabs@14dff7b zephyrproject-rtos/[email protected]
hal_stm32 zephyrproject-rtos/hal_stm32@d46f845 zephyrproject-rtos/hal_stm32@3a4b521 zephyrproject-rtos/[email protected]
hostap zephyrproject-rtos/hostap@c55683c zephyrproject-rtos/hostap@5abcff1 zephyrproject-rtos/[email protected]
lora-basics-modem 🆕 N/A (Added) zephyrproject-rtos/lora-basics-modem@9a14f67 (master) N/A
mcuboot zephyrproject-rtos/mcuboot@bf5321b zephyrproject-rtos/mcuboot@aa4fa2b (upstream-sync) zephyrproject-rtos/[email protected]
nrf_wifi zephyrproject-rtos/nrf_wifi@787eea1 zephyrproject-rtos/nrf_wifi@5fffeab (main) zephyrproject-rtos/[email protected]
trusted-firmware-m zephyrproject-rtos/trusted-firmware-m@021e2bb zephyrproject-rtos/trusted-firmware-m@3e12b0c (main) zephyrproject-rtos/[email protected]

Additional metadata changed:

Name URL Submodules West cmds module.yml Blobs
hal_nxp 2x ✏
hal_silabs 23x ✏, 3x 🆕
nrf_wifi 5x ✏

DNM label due to: 1 added project, 3 projects with metadata changes and 33 blob changes

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment