crypto: qcom-rng - Add support for prng-ee
authorVinod Koul <vkoul@kernel.org>
Mon, 16 Jul 2018 05:50:26 +0000 (11:20 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:04:32 +0000 (19:04 +0800)
commitba3ab6371cdda214bf3d416edae62809a68d0b73
tree123857687df48554858f7747e8ee3ffca0d3ab0e
parent3be36ce13c9276eb045a55184ff5c08511adb30b
crypto: qcom-rng - Add support for prng-ee

Qcom 8996 and later chips features multiple Execution Environments
(EE) and secure world is typically responsible for configuring the
prng.

Add driver data for qcom,prng as 0 and qcom,prng-ee as 1 and use
that to skip initialization routine.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qcom-rng.c