[PATCH v5 2/3] dt-bindings: rng: add bindings for MediaTek ARMv8 SoCs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Document the binding used by the MediaTek ARMv8 SoCs random
number generator with TrustZone enabled.

Signed-off-by: Neal Liu <neal.liu@xxxxxxxxxxxx>
---
 .../bindings/arm/firmware/mediatek,mtk-sec-rng.txt |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/firmware/mediatek,mtk-sec-rng.txt

diff --git a/Documentation/devicetree/bindings/arm/firmware/mediatek,mtk-sec-rng.txt b/Documentation/devicetree/bindings/arm/firmware/mediatek,mtk-sec-rng.txt
new file mode 100644
index 0000000..741fcdc
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/firmware/mediatek,mtk-sec-rng.txt
@@ -0,0 +1,18 @@
+MediaTek random number generator with TrustZone enabled
+
+Required properties:
+- compatible       : Should contain "mediatek,mtk-sec-rng"
+
+- method           : The method of calling Arm Trusted Firmware. Permitted
+		     values are:
+
+		     "smc" : SMC #0, with the register assignments specified
+		     in this binding.
+
+Example:
+	firmware {
+		hwrng {
+			compatible = "mediatek,mtk-sec-rng";
+			methods = "smc";
+		};
+	};
-- 
1.7.9.5




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux