123-mfd-devicetree-qcom_rpm-Document-IPQ8064-resources.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 30bc3aa5c4ed3072bdff7d915772df1b91307ed4 Mon Sep 17 00:00:00 2001
  2. From: Josh Cartwright <joshc@codeaurora.org>
  3. Date: Thu, 26 Mar 2015 11:29:25 -0700
  4. Subject: [PATCH] mfd: devicetree: qcom_rpm: Document IPQ8064 resources
  5. The IPQ8064 SoC has several RPM-controlled resources, an NSS fabrick
  6. clock and four regulator resources. Provide definitions for them.
  7. Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
  8. [sboyd@codeaurora.org: Drop regulator part of binding]
  9. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  10. Signed-off-by: Lee Jones <lee.jones@linaro.org>
  11. ---
  12. Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 1 +
  13. include/dt-bindings/mfd/qcom-rpm.h | 6 ++++++
  14. 2 files changed, 7 insertions(+)
  15. --- a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
  16. +++ b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
  17. @@ -12,6 +12,7 @@ frequencies.
  18. "qcom,rpm-apq8064"
  19. "qcom,rpm-msm8660"
  20. "qcom,rpm-msm8960"
  21. + "qcom,rpm-ipq8064"
  22. - reg:
  23. Usage: required
  24. --- a/include/dt-bindings/mfd/qcom-rpm.h
  25. +++ b/include/dt-bindings/mfd/qcom-rpm.h
  26. @@ -141,6 +141,12 @@
  27. #define QCOM_RPM_SYS_FABRIC_MODE 131
  28. #define QCOM_RPM_USB_OTG_SWITCH 132
  29. #define QCOM_RPM_VDDMIN_GPIO 133
  30. +#define QCOM_RPM_NSS_FABRIC_0_CLK 134
  31. +#define QCOM_RPM_NSS_FABRIC_1_CLK 135
  32. +#define QCOM_RPM_SMB208_S1a 136
  33. +#define QCOM_RPM_SMB208_S1b 137
  34. +#define QCOM_RPM_SMB208_S2a 138
  35. +#define QCOM_RPM_SMB208_S2b 139
  36. /*
  37. * Constants used to select force mode for regulators.