mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
0eafc58f21
The Elan eKTH5015M touch controller found on the Lenovo ThinkPad X13s
shares the VCC33 supply with other peripherals that may remain powered
during suspend (e.g. when enabled as wakeup sources).
The reset line is also wired so that it can be left deasserted when the
supply is off.
This is important as it avoids holding the controller in reset for
extended periods of time when it remains powered, which can lead to
increased power consumption, and also avoids leaking current through the
X13s reset circuitry during suspend (and after driver unbind).
Use the new 'no-reset-on-power-off' devicetree property to determine
when reset needs to be asserted on power down.
Notably this also avoids wasting power on machine variants without a
touchscreen for which the driver would otherwise exit probe with reset
asserted.
Fixes:
|
||
---|---|---|
.. | ||
i2c-hid-acpi.c | ||
i2c-hid-core.c | ||
i2c-hid-dmi-quirks.c | ||
i2c-hid-of-elan.c | ||
i2c-hid-of-goodix.c | ||
i2c-hid-of.c | ||
i2c-hid.h | ||
Kconfig | ||
Makefile |