]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/input/da9062-onkey.txt
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / input / da9062-onkey.txt
1 * Dialog DA9061/62/63 OnKey Module
2
3 This module is part of the DA9061/DA9062/DA9063. For more details about entire
4 DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
5 For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
6
7 This module provides the KEY_POWER event.
8
9 Required 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
16 Optional 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
22 Example: DA9063
23
24 pmic0: da9063@58 {
25 onkey {
26 compatible = "dlg,da9063-onkey";
27 dlg,disable-key-power;
28 };
29 };
30
31 Example: DA9062
32
33 pmic0: da9062@58 {
34 onkey {
35 compatible = "dlg,da9062-onkey";
36 dlg,disable-key-power;
37 };
38 };
39
40 Example: 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 };