qcom-pm8xxx.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. "qcom,pm8018-rtc"
  53. - reg:
  54. Usage: required
  55. Value type: <prop-encoded-array>
  56. Definition: single entry specifying the base address of the RTC registers
  57. - interrupts:
  58. Usage: required
  59. Value type: <prop-encoded-array>
  60. Definition: single entry specifying the RTC's alarm interrupt
  61. - allow-set-time:
  62. Usage: optional
  63. Value type: <empty>
  64. Definition: indicates that the setting of RTC time is allowed by
  65. the host CPU
  66. = EXAMPLE
  67. pmicintc: pmic@0 {
  68. compatible = "qcom,pm8921";
  69. interrupts = <104 8>;
  70. #interrupt-cells = <2>;
  71. interrupt-controller;
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. rtc@11d {
  75. compatible = "qcom,pm8921-rtc";
  76. reg = <0x11d>;
  77. interrupts = <0x27 0>;
  78. };
  79. };