From: Vinod Koul <vkoul@kernel.org>
Date: Mon, 16 Jul 2018 05:50:25 +0000 (+0530)
Subject: dt-bindings: crypto: Add new compatible qcom, prng-ee
X-Git-Tag: for-linus-4.19b-rc1b-tag~60^2~43
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3be36ce13c9276eb045a55184ff5c08511adb30b;p=users%2Fdwmw2%2Flinux.git

dt-bindings: crypto: Add new compatible qcom, prng-ee

Later qcom chips support v2 of the prng, which exposes an EE
(Execution Environment) for OS to use so add new compatible
qcom,prng-ee for this.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---

diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.txt b/Documentation/devicetree/bindings/crypto/qcom,prng.txt
index 8e5853c2879bb..7ee0e9eac9739 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,prng.txt
+++ b/Documentation/devicetree/bindings/crypto/qcom,prng.txt
@@ -2,7 +2,9 @@ Qualcomm MSM pseudo random number generator.
 
 Required properties:
 
-- compatible  : should be "qcom,prng"
+- compatible  : should be "qcom,prng" for 8916 etc
+              : should be "qcom,prng-ee" for 8996 and later using EE
+		(Execution Environment) slice of prng
 - reg         : specifies base physical address and size of the registers map
 - clocks      : phandle to clock-controller plus clock-specifier pair
 - clock-names : "core" clocks all registers, FIFO and circuits in PRNG IP block