qcom-pm8xxx.txt 2.3 KB

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