[PATCH v5 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet --- changes in v5: * fix checkpatch warning

[PATCH v5 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet --- changes in v5: * fix checkpatch warning