| .. | .. |
|---|
| 10 | 10 | |
|---|
| 11 | 11 | Required properties: |
|---|
| 12 | 12 | - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" |
|---|
| 13 | | -- linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt |
|---|
| 13 | +- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | Optional Properties: |
|---|
| 16 | 16 | - wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt |
|---|
| 17 | 17 | - mediatek,long-press-mode: Long press key shutdown setting, 1 for |
|---|
| 18 | 18 | pwrkey only, 2 for pwrkey/homekey together, others for disabled. |
|---|
| 19 | | -- power-off-time-sec: See Documentation/devicetree/bindings/input/keys.txt |
|---|
| 19 | +- power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml |
|---|
| 20 | 20 | |
|---|
| 21 | 21 | Example: |
|---|
| 22 | 22 | |
|---|