Skip to contentSkip to conversation

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

PATCH Applied Konrad Dybcio 2 participants 2 messages Jun 22, 2020 – Jun 23, 2020

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

PATCH v3 1/1 clk: qcom: smd: Add support for SDM660 rpm clocks

Add rpm smd clocks, PMIC and bus clocks which are required on SDM630/660 (and APQ variants) for clients to vote on.

changes since v2:
- separate from SDM630 enablement series
- fix indentation in Docs
- sort compatible strings alphabetically
- drop an accidental newline

---
 .../devicetree/bindings/clock/qcom,rpmcc.txt  |  1 +
 drivers/clk/qcom/clk-smd-rpm.c                | 76 +++++++++++++++++++
 include/dt-bindings/clock/qcom,rpmcc.h        | 10 +++
 3 files changed, 87 insertions(+)
Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +1 -0
index 90a1349bc713..86190acc71bc 100644
@@ -20,6 +20,7 @@ Required properties :
 			"qcom,rpmcc-msm8996", "qcom,rpmcc"
 			"qcom,rpmcc-msm8998", "qcom,rpmcc"
 			"qcom,rpmcc-qcs404", "qcom,rpmcc"
+			"qcom,rpmcc-sdm660", "qcom,rpmcc"
 
 - #clock-cells : shall contain 1
 
drivers/clk/qcom/clk-smd-rpm.c +76 -0

88 lines not on this page · raw message

include/dt-bindings/clock/qcom,rpmcc.h +10 -0
index ae74c43c485d..d1afa634b58d 100644
@@ -133,5 +133,15 @@
 #define RPM_SMD_RF_CLK3_A			87
 #define RPM_SMD_RF_CLK3_PIN			88
 #define RPM_SMD_RF_CLK3_A_PIN			89
+#define RPM_SMD_MMSSNOC_AXI_CLK			90
+#define RPM_SMD_MMSSNOC_AXI_CLK_A		91
+#define RPM_SMD_CNOC_PERIPH_CLK			92
+#define RPM_SMD_CNOC_PERIPH_A_CLK		93
+#define RPM_SMD_LN_BB_CLK3			94
+#define RPM_SMD_LN_BB_CLK3_A			95
+#define RPM_SMD_LN_BB_CLK1_PIN			96
+#define RPM_SMD_LN_BB_CLK1_A_PIN		97
+#define RPM_SMD_LN_BB_CLK2_PIN			98
+#define RPM_SMD_LN_BB_CLK2_A_PIN		99
 
 #endif
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw

Quoting Konrad Dybcio (2020-06-22 02:02:52)

Quoted 11 lines

Add rpm smd clocks, PMIC and bus clocks which are required on SDM630/660 (and APQ variants) for clients to vote on.

changes since v2:
- separate from SDM630 enablement series
- fix indentation in Docs
- sort compatible strings alphabetically
- drop an accidental newline

---

Applied to clk-next