[PATCH] optee: bind the TA drivers on OP-TEE node
Tom Rini
trini at konsulko.com
Thu Jan 12 16:18:26 CET 2023
On Thu, Dec 15, 2022 at 09:54:52AM +0100, Patrick Delaunay wrote:
> In U-Boot driver model the devices can be referenced by
> phandle in the U-Boot configuration nodes.
>
> Without a valid node provided during the bind, the driver
> associated to OP-TEE TA can't be referenced.
>
> For example to force the sequence number with alias
> (.flags = DM_UC_FLAG_SEQ_ALIAS)
>
> aliases {
> rng0 = &optee;
> };
>
> or other configuration:
>
> board-sysinfo {
> compatible = "vendor,sysinfo-board";
> ramdom = <&optee>;
> }
>
> With this patch all drivers bound from OP-TEE service
> discovery are now associated are associated to OP-TEE
> node, allowing to identify by phandle the driver
> provided by the TA for one UCLASS without modifying
> device tree.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230112/c4a9758c/attachment.sig>
More information about the U-Boot
mailing list