mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
From 4f865bdcb44fb18951de94be5c2ec37a891a8d03 Mon Sep 17 00:00:00 2001
|
||
|
From: Ansuel Smith <ansuelsmth@gmail.com>
|
||
|
Date: Sat, 26 Feb 2022 14:52:34 +0100
|
||
|
Subject: [PATCH 14/14] clk: qcom: gcc-ipq806x: add CryptoEngine resets
|
||
|
|
||
|
Add missing CryptoEngine resets.
|
||
|
|
||
|
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
||
|
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
|
||
|
Tested-by: Jonathan McDowell <noodles@earth.li>
|
||
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
||
|
Link: https://lore.kernel.org/r/20220226135235.10051-15-ansuelsmth@gmail.com
|
||
|
---
|
||
|
drivers/clk/qcom/gcc-ipq806x.c | 5 +++++
|
||
|
1 file changed, 5 insertions(+)
|
||
|
|
||
|
--- a/drivers/clk/qcom/gcc-ipq806x.c
|
||
|
+++ b/drivers/clk/qcom/gcc-ipq806x.c
|
||
|
@@ -3320,6 +3320,11 @@ static const struct qcom_reset_map gcc_i
|
||
|
[GMAC_CORE3_RESET] = { 0x3cfc, 0 },
|
||
|
[GMAC_CORE4_RESET] = { 0x3d1c, 0 },
|
||
|
[GMAC_AHB_RESET] = { 0x3e24, 0 },
|
||
|
+ [CRYPTO_ENG1_RESET] = { 0x3e00, 0},
|
||
|
+ [CRYPTO_ENG2_RESET] = { 0x3e04, 0},
|
||
|
+ [CRYPTO_ENG3_RESET] = { 0x3e08, 0},
|
||
|
+ [CRYPTO_ENG4_RESET] = { 0x3e0c, 0},
|
||
|
+ [CRYPTO_AHB_RESET] = { 0x3e10, 0},
|
||
|
[NSS_CH0_RST_RX_CLK_N_RESET] = { 0x3b60, 0 },
|
||
|
[NSS_CH0_RST_TX_CLK_N_RESET] = { 0x3b60, 1 },
|
||
|
[NSS_CH0_RST_RX_125M_N_RESET] = { 0x3b60, 2 },
|