qcom,pm8941-pwrkey.txt 975 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Qualcomm PM8941 PMIC Power Key
  2. PROPERTIES
  3. - compatible:
  4. Usage: required
  5. Value type: <string>
  6. Definition: must be one of:
  7. "qcom,pm8941-pwrkey"
  8. - reg:
  9. Usage: required
  10. Value type: <prop-encoded-array>
  11. Definition: base address of registers for block
  12. - interrupts:
  13. Usage: required
  14. Value type: <prop-encoded-array>
  15. Definition: key change interrupt; The format of the specifier is
  16. defined by the binding document describing the node's
  17. interrupt parent.
  18. - debounce:
  19. Usage: optional
  20. Value type: <u32>
  21. Definition: time in microseconds that key must be pressed or released
  22. for state change interrupt to trigger.
  23. - bias-pull-up:
  24. Usage: optional
  25. Value type: <empty>
  26. Definition: presence of this property indicates that the KPDPWR_N pin
  27. should be configured for pull up.
  28. EXAMPLE
  29. pwrkey@800 {
  30. compatible = "qcom,pm8941-pwrkey";
  31. reg = <0x800>;
  32. interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
  33. debounce = <15625>;
  34. bias-pull-up;
  35. };