1 STMicroelectronics STPMIC1 Onkey
5 - compatible = "st,stpmic1-onkey";
6 - interrupts: interrupt line to use
7 - interrupt-names = "onkey-falling", "onkey-rising"
8 onkey-falling: happens when onkey is pressed; IT_PONKEY_F of pmic
9 onkey-rising: happens when onkey is released; IT_PONKEY_R of pmic
13 - st,onkey-clear-cc-flag: onkey is able power on after an
14 over-current shutdown event.
15 - st,onkey-pu-inactive: onkey pull up is not active
16 - power-off-time-sec: Duration in seconds which the key should be kept
17 pressed for device to power off automatically (from 1 to 16 seconds).
18 see See Documentation/devicetree/bindings/input/input.yaml
23 compatible = "st,stpmic1-onkey";
24 interrupt-parent = <&pmic>;
25 interrupts = <IT_PONKEY_F 0>,<IT_PONKEY_R 1>;
26 interrupt-names = "onkey-falling", "onkey-rising";
27 power-off-time-sec = <10>;