Back to home page

OSCL-LXR

 
 

    


0001 Qualcomm PM8xxx PMIC Power Key
0002 
0003 PROPERTIES
0004 
0005 - compatible:
0006         Usage: required
0007         Value type: <string>
0008         Definition: must be one of:
0009                     "qcom,pm8058-pwrkey"
0010                     "qcom,pm8921-pwrkey"
0011 
0012 - reg:
0013         Usage: required
0014         Value type: <prop-encoded-array>
0015         Definition: address of power key control register
0016 
0017 - interrupts:
0018         Usage: required
0019         Value type: <prop-encoded-array>
0020         Definition: the first interrupt specifies the key release interrupt
0021                     and the second interrupt specifies the key press interrupt.
0022                     The format of the specifier is defined by the binding
0023                     document describing the node's interrupt parent.
0024 
0025 - debounce:
0026         Usage: optional
0027         Value type: <u32>
0028         Definition: time in microseconds that key must be pressed or release
0029                     for state change interrupt to trigger.
0030 
0031 - pull-up:
0032         Usage: optional
0033         Value type: <empty>
0034         Definition: presence of this property indicates that the KPDPWR_N pin
0035                     should be configured for pull up.
0036 
0037 EXAMPLE
0038 
0039         pwrkey@1c {
0040                 compatible = "qcom,pm8921-pwrkey";
0041                 reg = <0x1c>;
0042                 interrupt-parent = <&pmicintc>;
0043                 interrupts = <50 1>, <51 1>;
0044                 debounce = <15625>;
0045                 pull-up;
0046         };