qcom,pm8xxx-pwrkey.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Qualcomm PM8xxx PMIC Power Key
  2. PROPERTIES
  3. - compatible:
  4. Usage: required
  5. Value type: <string>
  6. Definition: must be one of:
  7. "qcom,pm8058-pwrkey"
  8. "qcom,pm8921-pwrkey"
  9. - reg:
  10. Usage: required
  11. Value type: <prop-encoded-array>
  12. Definition: address of power key control register
  13. - interrupts:
  14. Usage: required
  15. Value type: <prop-encoded-array>
  16. Definition: the first interrupt specifies the key release interrupt
  17. and the second interrupt specifies the key press interrupt.
  18. The format of the specifier is defined by the binding
  19. document describing the node's interrupt parent.
  20. - debounce:
  21. Usage: optional
  22. Value type: <u32>
  23. Definition: time in microseconds that key must be pressed or release
  24. for state change interrupt to trigger.
  25. - pull-up:
  26. Usage: optional
  27. Value type: <empty>
  28. Definition: presence of this property indicates that the KPDPWR_N pin
  29. should be configured for pull up.
  30. EXAMPLE
  31. pwrkey@1c {
  32. compatible = "qcom,pm8921-pwrkey";
  33. reg = <0x1c>;
  34. interrupt-parent = <&pmicintc>;
  35. interrupts = <50 1>, <51 1>;
  36. debounce = <15625>;
  37. pull-up;
  38. };