Message ID | 1574864578-467-3-git-send-email-neal.liu@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | MediaTek Security random number generator support | expand |
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"; + }; + };
Document the binding used by the MediaTek ARMv8 SoCs random number generator with TrustZone enabled. Signed-off-by: Neal Liu <neal.liu@mediatek.com> --- .../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