qcom-pm8xxx.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Qualcomm PM8xxx PMIC multi-function devices
  2. The PM8xxx family of Power Management ICs are used to provide regulated
  3. voltages and other various functionality to Qualcomm SoCs.
  4. = PROPERTIES
  5. - compatible:
  6. Usage: required
  7. Value type: <string>
  8. Definition: must be one of:
  9. "qcom,pm8058"
  10. "qcom,pm8921"
  11. - #address-cells:
  12. Usage: required
  13. Value type: <u32>
  14. Definition: must be 1
  15. - #size-cells:
  16. Usage: required
  17. Value type: <u32>
  18. Definition: must be 0
  19. - interrupts:
  20. Usage: required
  21. Value type: <prop-encoded-array>
  22. Definition: specifies the interrupt that indicates a subdevice
  23. has generated an interrupt (summary interrupt). The
  24. format of the specifier is defined by the binding document
  25. describing the node's interrupt parent.
  26. - #interrupt-cells:
  27. Usage: required
  28. Value type : <u32>
  29. Definition: must be 2. Specifies the number of cells needed to encode
  30. an interrupt source. The 1st cell contains the interrupt
  31. number. The 2nd cell is the trigger type and level flags
  32. encoded as follows:
  33. 1 = low-to-high edge triggered
  34. 2 = high-to-low edge triggered
  35. 4 = active high level-sensitive
  36. 8 = active low level-sensitive
  37. - interrupt-controller:
  38. Usage: required
  39. Value type: <empty>
  40. Definition: identifies this node as an interrupt controller
  41. = SUBCOMPONENTS
  42. The PMIC contains multiple independent functions, each described in a subnode.
  43. The below bindings specify the set of valid subnodes.
  44. == Real-Time Clock
  45. - compatible:
  46. Usage: required
  47. Value type: <string>
  48. Definition: must be one of:
  49. "qcom,pm8058-rtc"
  50. "qcom,pm8921-rtc"
  51. "qcom,pm8941-rtc"
  52. - reg:
  53. Usage: required
  54. Value type: <prop-encoded-array>
  55. Definition: single entry specifying the base address of the RTC registers
  56. - interrupts:
  57. Usage: required
  58. Value type: <prop-encoded-array>
  59. Definition: single entry specifying the RTC's alarm interrupt
  60. - allow-set-time:
  61. Usage: optional
  62. Value type: <empty>
  63. Definition: indicates that the setting of RTC time is allowed by
  64. the host CPU
  65. = EXAMPLE
  66. pmicintc: pmic@0 {
  67. compatible = "qcom,pm8921";
  68. interrupts = <104 8>;
  69. #interrupt-cells = <2>;
  70. interrupt-controller;
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. rtc@11d {
  74. compatible = "qcom,pm8921-rtc";
  75. reg = <0x11d>;
  76. interrupts = <0x27 0>;
  77. };
  78. };