summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSam Day <[email protected]>2025-02-12 07:01:33 +0000
committerCaleb Connolly <[email protected]>2025-03-17 13:38:18 +0000
commitd146a8771f8769e392f5f12316cbc1cfe64ede3a (patch)
treedab77e1f908d27dc504dd9215f4b42bcce6b2f75 /drivers
parent61781206cf190c99836fcd15667341cacead94f0 (diff)
clk/qcom: apq8016: add PRNG_AHB_CLK
This clock needs to be enabled for the msm-rng driver to work on MSM8916, otherwise accessing the PRNG register block causes a data abort. Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Sam Day <[email protected]> Reviewed-by: Caleb Connolly <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/qcom/clock-apq8016.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index 0c247250bd9..ff5e7ca6f02 100644
--- a/drivers/clk/qcom/clock-apq8016.c
+++ b/drivers/clk/qcom/clock-apq8016.c
@@ -54,6 +54,7 @@ static struct vote_clk gcc_blsp1_ahb_clk = {
};
static const struct gate_clk apq8016_clks[] = {
+ GATE_CLK(GCC_PRNG_AHB_CLK, 0x45004, BIT(8)),
GATE_CLK(GCC_USB_HS_AHB_CLK, 0x41008, BIT(0)),
GATE_CLK(GCC_USB_HS_SYSTEM_CLK, 0x41004, BIT(0)),
};