[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aVOzHWmlJ-eneS-2@sumit-xelite>
Date: Tue, 30 Dec 2025 16:40:21 +0530
From: Sumit Garg <sumit.garg@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Jens Wiklander <jens.wiklander@...aro.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org,
op-tee@...ts.trustedfirmware.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v20 1/6] dt-bindings: firmware: Add TEE remoteproc
service binding
On Mon, Dec 29, 2025 at 05:25:30PM -0600, Rob Herring wrote:
> On Wed, Dec 17, 2025 at 04:39:12PM +0100, Arnaud Pouliquen wrote:
> > Add a device tree binding for the TEE-based remote processor control
> > service implemented as an OP-TEE Trusted Application identified by
> > UUID 80a4c275-0a47-4905-8285-1486a9771a08.
> >
> > The TEE service node is a child of the "linaro,optee-tz" firmware node and
> > acts as a container for remoteproc devices that are controlled via TEE.
>
> Is this generic for any remoteproc device or just ST's remoteproc. Looks
> like the latter to me.
That's true, the DT description of the remoteproc subnode is very
specific to the vendor which in this case is ST.
>
> > In addition, the "linaro,optee-tz" binding is updated to specify the
> > '#address-cells' and '#size-cells' values used for child TEE service
> > nodes.
>
> I'm pretty sure I already rejected per service/app child nodes for
> OP-TEE when its binding was submitted.
That was the reason to have discoverable TEE bus in first place and I
have been motivating people to dynamically discover firmware properties
rather than hardcoding in the DT.
> If we do need something in DT
> to define some resources, then can't we have some sort of
> standard/common communications channel? I don't care to see some sort of
> free-for-all where we have every vendor doing their own thing. OP-TEE
> needs to standarize this.
I suppose this requires a wider scope work as you can see the DT resource
dependence from here [1]. By standardize communication channel, do you
mean to say if adding an alternative backend to fwnode for TEE in
parallel to DT, ACPI or swnode is the way to go for discovering fw
properties? Or do you have any other suggestion here?
Along with that the corresponding subsystems has to adopt fwnode APIs
instead of OF APIs.
[1] https://lore.kernel.org/all/0e5a44df-f60a-4523-a791-6318b3c81425@foss.st.com/
-Sumit
Powered by blists - more mailing lists