From cfec8d36cebb8668c02ec2ff6aafa79ee382ce3c Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Thu, 8 Oct 2020 22:05:14 +0200 Subject: 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 Cc: Luka Perkov --- arch/arm/mach-ipq40xx/clock-ipq4019.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-ipq40xx') diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c index d5b5f4c..31ae971 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; } -- cgit v1.1