From 2b575a746535f922cdd9760212b246f4eafdf9e2 Mon Sep 17 00:00:00 2001 From: Zhen Kong Date: Fri, 13 Dec 2019 11:32:50 -0800 Subject: [PATCH] dt-bindings: rng: Add DT binding entry for msm-rng Add DT binding entry for the rng driver for lahaina. Change-Id: I78ac1cb3f94d9ca0b0e677d5793a475eaf25d629 --- bindings/prng/msm-rng.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bindings/prng/msm-rng.txt diff --git a/bindings/prng/msm-rng.txt b/bindings/prng/msm-rng.txt new file mode 100644 index 000000000000..917c2fb58a3f --- /dev/null +++ b/bindings/prng/msm-rng.txt @@ -0,0 +1,18 @@ +* RNG (Random Number Generator) + +Required properties: +- compatible : Should be "qcom,msm-rng" +- reg : Offset and length of the register set for the device + +Optional property: +- qcom,msm-rng-iface-clk : If the device uses iface-clk. +- qcom,no-qrng-config : Flag to decide whether the driver do the hardware configuration or not. + +Example: + + qcom,msm-rng@f9bff000 { + compatible = "qcom,msm-rng"; + reg = <0xf9bff000 0x200>; + qcom,msm-rng-iface-clk; + qcom,no-qrng-config; + };