linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

arm: dts: define OP-TEE resources for STM32MP1 DHCOM/DHCOR SoM's #105

Closed jneuhauser closed 1 year ago

jneuhauser commented 1 year ago

Support for STM32MP157A-DHCOR-AVENGER96 and STM32MP157C-DHCOM-PDK2 was added in https://github.com/OP-TEE/build, so enable OP-TEE node defined in stm32mp151.dtsi and define memory reserved for OP-TEE for all boards based on STM32MP15 DHCOM/DHCOR SoM's.

I can squash these two commits into a single commit if you wish.

jenswi-linaro commented 1 year ago

Do you plan to upstream these?

jneuhauser commented 1 year ago

Do you plan to upstream these?

This DT patch is only useful for systems that use OP-TEE and our boards are development boards like the STM32MP157C-DK2. So the answer is no, because reserving memory for optee in general means that we waste memory on systems where OP-TEE is not used.

jneuhauser commented 1 year ago

Updated commit messages with a better description

jenswi-linaro commented 1 year ago

@etienne-lms, do you have feedback on this?

jneuhauser commented 1 year ago

Applied tag to both commits. Thank you.