Skip to contentSkip to conversation

mfd: devicetree: qcom_rpm: document IPQ8064 resources

PATCH In review Andy Gross 2 participants 2 messages Mar 20, 2015

Subsystems (3)
lore
Share & tools
lore

Andy Gross

author
#0 lore raw

PATCH 1/1 mfd: devicetree: qcom_rpm: document IPQ8064 resources

From: Josh Cartwright <[email protected]>

The IPQ8064 SoC has several RPM-controlled resources, an NSS fabric clock and four regulator resources. Provide definitions for them.

---
 Documentation/devicetree/bindings/mfd/qcom-rpm.txt |    1 +
 include/dt-bindings/mfd/qcom-rpm.h                 |    6 ++++++
 2 files changed, 7 insertions(+)
Documentation/devicetree/bindings/mfd/qcom-rpm.txt +1 -0
index 85e3198..94d9ae8 100644
@@ -12,6 +12,7 @@ frequencies.
 		    "qcom,rpm-apq8064"
 		    "qcom,rpm-msm8660"
 		    "qcom,rpm-msm8960"
+		    "qcom,rpm-ipq8064"
 
 - reg:
 	Usage: required
include/dt-bindings/mfd/qcom-rpm.h +6 -0
index 388a6f3..13a9d4b 100644
@@ -141,6 +141,12 @@
 #define QCOM_RPM_SYS_FABRIC_MODE		131
 #define QCOM_RPM_USB_OTG_SWITCH			132
 #define QCOM_RPM_VDDMIN_GPIO			133
+#define QCOM_RPM_NSS_FABRIC_0_CLK		134
+#define QCOM_RPM_NSS_FABRIC_1_CLK		135
+#define QCOM_RPM_SMB208_S1a			136
+#define QCOM_RPM_SMB208_S1b			137
+#define QCOM_RPM_SMB208_S2a			138
+#define QCOM_RPM_SMB208_S2b			139
 
 /*
  * Constants used to select force mode for regulators.
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Andy Gross

From: Josh Cartwright <[email protected]>

The IPQ8064 SoC has several RPM-controlled resources, an NSS fabric clock and four regulator resources. Provide definitions for them.

I believe you should have a sob here as well.

Quoted 10 lines
---
 Documentation/devicetree/bindings/mfd/qcom-rpm.txt |    1 +
 include/dt-bindings/mfd/qcom-rpm.h                 |    6 ++++++
 2 files changed, 7 insertions(+)
Documentation/devicetree/bindings/mfd/qcom-rpm.txt +0 -0
index 85e3198..94d9ae8 100644

Documentation/devicetree/bindings/mfd/qcom-rpm.txt frequencies. · line 15

Quoted 4 lines
Documentation/devicetree/bindings/mfd/qcom-rpm.txt +1 -0
@@ -12,6 +12,7 @@ frequencies.
 		    "qcom,rpm-apq8064"
 		    "qcom,rpm-msm8660"
 		    "qcom,rpm-msm8960"
+		    "qcom,rpm-ipq8064"

It would be nice if these where kept sorted...

Quoted 8 lines
Documentation/devicetree/bindings/mfd/qcom-rpm.txt +0 -0
 - reg:
 	Usage: required
include/dt-bindings/mfd/qcom-rpm.h +0 -0
index 388a6f3..13a9d4b 100644

include/dt-bindings/mfd/qcom-rpm.h line 149

Quoted 9 lines
include/dt-bindings/mfd/qcom-rpm.h +6 -0
@@ -141,6 +141,12 @@
 #define QCOM_RPM_SYS_FABRIC_MODE		131
 #define QCOM_RPM_USB_OTG_SWITCH			132
 #define QCOM_RPM_VDDMIN_GPIO			133
+#define QCOM_RPM_NSS_FABRIC_0_CLK		134
+#define QCOM_RPM_NSS_FABRIC_1_CLK		135
+#define QCOM_RPM_SMB208_S1a			136
+#define QCOM_RPM_SMB208_S1b			137
+#define QCOM_RPM_SMB208_S2a			138
+#define QCOM_RPM_SMB208_S2b			139

Part of that,

Regards,
Bjorn