dt-bindings: HID: i2c-hid: elan: add 'no-reset-on-power-off' property
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 7 May 2024 14:48:17 +0000 (16:48 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Fri, 7 Jun 2024 09:16:55 +0000 (11:16 +0200)
commite538d4b85b8f1e3534dfbb42c2273f18bbb59d6e
tree01d9dddb797270f22976b4447967061b1888843f
parent07fc16fa55522520f5e4b2e35c72650f11079c35
dt-bindings: HID: i2c-hid: elan: add 'no-reset-on-power-off' property

When the power supply is shared with other peripherals the reset line
can be wired in such a way that it can remain deasserted regardless of
whether the supply is on or not.

This is important as it can be used to avoid holding the controller in
reset for extended periods of time when it remains powered, something
which can lead to increased power consumption. Leaving reset deasserted
also avoids leaking current through the reset circuitry pull-up
resistors.

Add a new 'no-reset-on-power-off' devicetree property which can be used
by the OS to determine when reset needs to be asserted on power down.

Note that this property can also be used when the supply cannot be
turned off by the OS at all.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240507144821.12275-4-johan+linaro@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Documentation/devicetree/bindings/input/elan,ekth6915.yaml