crypto: inside-secure - fix clock resource by adding a register clock

On Armada 7K/8K we need to explicitly enable the register clock. This
clock is optional because not all the SoCs using this IP need it but at
least for Armada 7K/8K it is actually mandatory.

The binding documentation is updated accordingly.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Gregory CLEMENT
2018-03-13 17:48:42 +01:00
committed by Herbert Xu
parent 5b37689653
commit 1d17cbfbb5
3 changed files with 31 additions and 10 deletions

View File

@@ -525,6 +525,7 @@ struct safexcel_crypto_priv {
void __iomem *base;
struct device *dev;
struct clk *clk;
struct clk *reg_clk;
struct safexcel_config config;
enum safexcel_eip_version version;