The onkey behaviour can be changed by programming the NONKEY_PIN bitfield. Since the driver supports the reconfiguration we need to add the documentation here. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- Documentation/devicetree/bindings/input/da9062-onkey.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/input/da9062-onkey.txt b/Documentation/devicetree/bindings/input/da9062-onkey.txt index 5f9fbc68e58a..d1792452ceff 100644 --- a/Documentation/devicetree/bindings/input/da9062-onkey.txt +++ b/Documentation/devicetree/bindings/input/da9062-onkey.txt @@ -19,6 +19,12 @@ Optional properties: entry exists the OnKey driver will remove support for the KEY_POWER key press when triggered using a long press of the OnKey. +- dlg,key-opmode : Set the nONKEY behaviour. This value is initial set by the + otp values. Check [1] for more details. Valid value range: 0x0..0x3 + +[1] https://www.dialog-semiconductor.com/sites/default/files/ \ + da9062_datasheet_3v6.pdf + Example: DA9063 pmic0: da9063@58 { -- 2.20.1