u-boot/drivers/tee/optee
Patrick Delaunay 59dacc3190 optee: bind the TA drivers on OP-TEE node
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@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2023-01-11 15:02:24 -05:00
..
core.c optee: bind the TA drivers on OP-TEE node 2023-01-11 15:02:24 -05:00
i2c.c drivers: tee: i2c trampoline driver 2021-02-16 11:48:20 -05:00
Kconfig drivers: tee: optee: discover OP-TEE services 2022-09-14 15:23:03 -04:00
Makefile drivers: tee: i2c trampoline driver 2021-02-16 11:48:20 -05:00
optee_msg_supplicant.h drivers: tee: i2c trampoline driver 2021-02-16 11:48:20 -05:00
optee_msg.h tee: optee: remove unused duplicated login Id macros 2021-11-23 13:53:03 -05:00
optee_private.h drivers: tee: i2c trampoline driver 2021-02-16 11:48:20 -05:00
optee_smc.h tee: add OP-TEE driver 2018-10-07 10:47:38 -04:00
rpmb.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
supplicant.c drivers: tee: i2c trampoline driver 2021-02-16 11:48:20 -05:00