Skip to contentSkip to conversation

clk: qcom: smd: Add support for MSM8998 rpm clocks

PATCH Applied Jeffrey Hugo 3 participants 3 messages Dec 18, 2018 – Jan 9, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 clk: qcom: smd: Add support for MSM8998 rpm clocks

Add rpm smd clocks, PMIC and bus clocks which are required on MSM8998 for clients to vote on.

---
v4
-Fix compile issue

v3
-Ensure Marc's hang was addressed by GCC fixes -Renamed the bb clks to ln_bb to match the schematics

v2
-fix compatible ordering nits per Stephen

 .../devicetree/bindings/clock/qcom,rpmcc.txt       |  1 +
 drivers/clk/qcom/clk-smd-rpm.c                     | 63 ++++++++++++++++++++++
 include/dt-bindings/clock/qcom,rpmcc.h             | 10 ++++
 3 files changed, 74 insertions(+)
Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +1 -0
index 87b4949..944719b 100644
@@ -16,6 +16,7 @@ Required properties :
 			"qcom,rpmcc-msm8974", "qcom,rpmcc"
 			"qcom,rpmcc-apq8064", "qcom,rpmcc"
 			"qcom,rpmcc-msm8996", "qcom,rpmcc"
+			"qcom,rpmcc-msm8998", "qcom,rpmcc"
 			"qcom,rpmcc-qcs404", "qcom,rpmcc"
 
 - #clock-cells : shall contain 1
drivers/clk/qcom/clk-smd-rpm.c +63 -0

73 lines not on this page · raw message

include/dt-bindings/clock/qcom,rpmcc.h +10 -0
index 3658b0c..ede93a0 100644
@@ -127,5 +127,15 @@
 #define RPM_SMD_BIMC_GPU_A_CLK			77
 #define RPM_SMD_QPIC_CLK			78
 #define RPM_SMD_QPIC_CLK_A			79
+#define RPM_SMD_LN_BB_CLK1			80
+#define RPM_SMD_LN_BB_CLK1_A			81
+#define RPM_SMD_LN_BB_CLK2			82
+#define RPM_SMD_LN_BB_CLK2_A			83
+#define RPM_SMD_LN_BB_CLK3_PIN			84
+#define RPM_SMD_LN_BB_CLK3_A_PIN		85
+#define RPM_SMD_RF_CLK3				86
+#define RPM_SMD_RF_CLK3_A			87
+#define RPM_SMD_RF_CLK3_PIN			88
+#define RPM_SMD_RF_CLK3_A_PIN			89
 
 #endif
Signature · 3 lines
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.
maintainer Reviewed-by on v4 1/1
#1 lore raw
Quoted 12 lines · Jeffrey Hugo

Add rpm smd clocks, PMIC and bus clocks which are required on MSM8998 for clients to vote on.

---
v4
-Fix compile issue

v3

(quoted diff) +0 -2
-Ensure Marc's hang was addressed by GCC fixes
-Renamed the bb clks to ln_bb to match the schematics
Quoted 8 lines

v2
-fix compatible ordering nits per Stephen

 .../devicetree/bindings/clock/qcom,rpmcc.txt       |  1 +
 drivers/clk/qcom/clk-smd-rpm.c                     | 63 ++++++++++++++++++++++
 include/dt-bindings/clock/qcom,rpmcc.h             | 10 ++++
 3 files changed, 74 insertions(+)