Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

Sudeep Holla
2023-01-25T07:48:29Z

On Tue, Jan 24, 2023 at 03:56:19PM +0000, Abdellatif El Khlifi wrote:
>
> I'd like to suggest the creation of a root node called arm_smccc as shown below.
>

Not sure if U-Boot already supports the existing binding of PSCI and OPTEE.

> This node is the parent of all nodes using SMC calls like FF-A, PSCI, optee, ...
>

Well if you want to start with the clean slate for all new platforms, then
it is a good way. But you don't need any of the child nodes as they can all
be queried and discovered.

> The first child to be integrated in the arm_smccc root node is FF-A.
> Hopefully, in the future the other features such as PSCI could be integrated
> under arm_smccc as well.
>

You don't need FF-A or any other node if the presence of SMCCC node indicates
the support of SMCCC v1.1+(need to go back and check to confirm this).
You can query the presence of all the feature. There is no need to have a
node for each of the feature supported. That was the whole discussion of this
thread IIUC.

--
Regards,
Sudeep