aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ipq40xx
diff options
context:
space:
mode:
authorRobert Marko2020-10-08 22:05:14 +0200
committerTom Rini2020-10-22 09:54:54 -0400
commitcfec8d36cebb8668c02ec2ff6aafa79ee382ce3c (patch)
tree267d447801702533e922e2f5e8c6e5dccf2d474a /arch/arm/mach-ipq40xx
parent033ec636fcb67d6f58a045a50977f8f1449378a9 (diff)
IPQ40xx: Add PRNG support
Since we now have the driver for Qualcomm PRNG HW, lets use it and add the necessary clocks and nodes. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-ipq40xx')
-rw-r--r--arch/arm/mach-ipq40xx/clock-ipq4019.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c
index d5b5f4cb796..31ae9719e82 100644
--- a/arch/arm/mach-ipq40xx/clock-ipq4019.c
+++ b/arch/arm/mach-ipq40xx/clock-ipq4019.c
@@ -54,6 +54,10 @@ static int msm_enable(struct clk *clk)
/* This clock is already initialized by SBL1 */
return 0;
break;
+ case GCC_PRNG_AHB_CLK: /*PRNG*/
+ /* This clock is already initialized by SBL1 */
+ return 0;
+ break;
default:
return 0;
}