[RFC PATCH v2 2/2] doc: device-tree-bindings: optee: support rpmb-dev property

Igor Opaniuk
2021-01-24T09:39:46Z

From: Igor Opaniuk <igor.opaniuk@foundries.io>

Add support for "rpmb-dev" property which provides eMMC phandle
for RPMB-related operations.

This commit is created only to show DT node updates for RFC patch,
obviously that node should be updated in device-tree-bindings in
Linux first, that pulled here.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>

---

Changes v2:
- Add ";" after phandle

doc/device-tree-bindings/firmware/linaro,optee-tz.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/doc/device-tree-bindings/firmware/linaro,optee-tz.txt b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt
index d38834c67d..1776dd9606 100644
--- a/doc/device-tree-bindings/firmware/linaro,optee-tz.txt
+++ b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt
@@ -20,6 +20,8 @@ the reference implementation maintained by Linaro.
"hvc" : HVC #0, with the register assignments specified
in drivers/tee/optee/optee_smc.h

+- rpmb-dev : contains phandle to the eMMC device, whose RPMB partition
+ is used for secure storage.

Example:
@@ -27,5 +29,6 @@ Example:
optee {
compatible = "linaro,optee-tz";
method = "smc";
+ rpmb-dev = <&mmc0>;
};
};
--
2.25.1