Commit | Line | Data |
---|---|---|
a27b5e0a T |
1 | * Dialog DA9062/63 OnKey Module |
2 | ||
3 | This module is part of the DA9062/DA9063. For more details about entire | |
4 | chips see Documentation/devicetree/bindings/mfd/da9062.txt and | |
5 | Documentation/devicetree/bindings/mfd/da9063.txt | |
6 | ||
7 | This module provides KEY_POWER, KEY_SLEEP and events. | |
8 | ||
9 | Required properties: | |
10 | ||
11 | - compatible: should be one of: | |
12 | dlg,da9062-onkey | |
13 | dlg,da9063-onkey | |
14 | ||
15 | Optional properties: | |
16 | ||
17 | - dlg,disable-key-power : Disable power-down using a long key-press. If this | |
18 | entry exists the OnKey driver will remove support for the KEY_POWER key | |
19 | press. If this entry does not exist then by default the key-press | |
20 | triggered power down is enabled and the OnKey will support both KEY_POWER | |
21 | and KEY_SLEEP. | |
22 | ||
23 | Example: | |
24 | ||
25 | pmic0: da9062@58 { | |
26 | ||
27 | onkey { | |
28 | compatible = "dlg,da9063-onkey"; | |
29 | dlg,disable-key-power; | |
30 | }; | |
31 | ||
32 | }; |