1* Dialog DA9061/62/63 OnKey Module
2
3This module is part of the DA9061/DA9062/DA9063. For more details about entire
4DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
5For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
6
7This module provides the KEY_POWER event.
8
9Required properties:
10
11- compatible: should be one of the following valid compatible string lines:
12	"dlg,da9061-onkey", "dlg,da9062-onkey"
13	"dlg,da9062-onkey"
14	"dlg,da9063-onkey"
15
16Optional properties:
17
18- dlg,disable-key-power : Disable power-down using a long key-press. If this
19    entry exists the OnKey driver will remove support for the KEY_POWER key
20    press when triggered using a long press of the OnKey.
21
22Example: DA9063
23
24	pmic0: da9063@58 {
25		onkey {
26			compatible = "dlg,da9063-onkey";
27			dlg,disable-key-power;
28		};
29	};
30
31Example: DA9062
32
33	pmic0: da9062@58 {
34		onkey {
35			compatible = "dlg,da9062-onkey";
36			dlg,disable-key-power;
37		};
38	};
39
40Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
41
42	pmic0: da9061@58 {
43		onkey {
44			compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
45			dlg,disable-key-power;
46		};
47	};
48