lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1544558404-1705-1-git-send-email-jhugo@codeaurora.org>
Date:   Tue, 11 Dec 2018 13:00:04 -0700
From:   Jeffrey Hugo <jhugo@...eaurora.org>
To:     sboyd@...nel.org, andy.gross@...aro.org, david.brown@...aro.org,
        mturquette@...libre.com
Cc:     bjorn.andersson@...aro.org, linux-arm-msm@...r.kernel.org,
        linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
        Jeffrey Hugo <jhugo@...eaurora.org>
Subject: [PATCH] clk: qcom: Add missing msm8998 resets

commit c0cb7c7e7164 ("clk: qcom: Enumerate remaining msm8998 resets")
missed two USB2 resets.  Add them.

Fixes: c0cb7c7e7164 ("clk: qcom: Enumerate remaining msm8998 resets")
Signed-off-by: Jeffrey Hugo <jhugo@...eaurora.org>
---

Sorry, noticed this when working on USB.  I double checked the documentation
again, and I'm reasonably sure I got them all now.

 drivers/clk/qcom/gcc-msm8998.c               | 2 ++
 include/dt-bindings/clock/qcom,gcc-msm8998.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
index 5f989ee..f3c2ab4 100644
--- a/drivers/clk/qcom/gcc-msm8998.c
+++ b/drivers/clk/qcom/gcc-msm8998.c
@@ -2827,6 +2827,8 @@ enum {
 	[GCC_MMSS_BCR] = { 0xb000 },
 	[GCC_QDSS_BCR] = { 0xc000 },
 	[GCC_WCSS_BCR] = { 0x11000 },
+	[GCC_QUSB2PHY_PRIM_BCR] = { 0x12000 },
+	[GCC_QUSB2PHY_SEC_BCR] = { 0x12004 },
 	[GCC_BLSP1_BCR] = { 0x17000 },
 	[GCC_BLSP1_UART1_BCR] = { 0x1a000 },
 	[GCC_BLSP1_UART2_BCR] = { 0x1c000 },
diff --git a/include/dt-bindings/clock/qcom,gcc-msm8998.h b/include/dt-bindings/clock/qcom,gcc-msm8998.h
index 958fe83..ba84bba 100644
--- a/include/dt-bindings/clock/qcom,gcc-msm8998.h
+++ b/include/dt-bindings/clock/qcom,gcc-msm8998.h
@@ -296,5 +296,7 @@
 #define GCC_GLM_BCR						103
 #define GCC_SKL_BCR						104
 #define GCC_MSMPU_BCR						105
+#define GCC_QUSB2PHY_PRIM_BCR					106
+#define GCC_QUSB2PHY_SEC_BCR					107
 
 #endif
-- 
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ