Merge tag 'libnvdimm-for-4.19_misc' of gitolite.kernel.org:pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / qcom,pm8941-pwrkey.txt
index 07bf55f6e0b9a8375dee913651332f6454cb72b3..34ab5763f49453926c38fc361e91e988d4cf591c 100644 (file)
@@ -7,6 +7,7 @@ PROPERTIES
        Value type: <string>
        Definition: must be one of:
                    "qcom,pm8941-pwrkey"
+                   "qcom,pm8941-resin"
 
 - reg:
        Usage: required
@@ -32,6 +33,14 @@ PROPERTIES
        Definition: presence of this property indicates that the KPDPWR_N pin
                    should be configured for pull up.
 
+- linux,code:
+       Usage: optional
+       Value type: <u32>
+       Definition: The input key-code associated with the power key.
+                   Use the linux event codes defined in
+                   include/dt-bindings/input/linux-event-codes.h
+                   When property is omitted KEY_POWER is assumed.
+
 EXAMPLE
 
        pwrkey@800 {
@@ -40,4 +49,5 @@ EXAMPLE
                interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
                debounce = <15625>;
                bias-pull-up;
+               linux,code = <KEY_POWER>;
        };