Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / input / max77650-onkey.txt
1 Onkey driver for MAX77650 PMIC from Maxim Integrated.
2
3 This module is part of the MAX77650 MFD device. For more details
4 see Documentation/devicetree/bindings/mfd/max77650.txt.
5
6 The onkey controller is represented as a sub-node of the PMIC node on
7 the device tree.
8
9 Required properties:
10 --------------------
11 - compatible:           Must be "maxim,max77650-onkey".
12
13 Optional properties:
14 - linux,code:           The key-code to be reported when the key is pressed.
15                         Defaults to KEY_POWER.
16 - maxim,onkey-slide:    The system's button is a slide switch, not the default
17                         push button.
18
19 Example:
20 --------
21
22         onkey {
23                 compatible = "maxim,max77650-onkey";
24                 linux,code = <KEY_END>;
25                 maxim,onkey-slide;
26         };