[PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

From: Vignesh R
Date: Sat Jun 30 2018 - 06:32:52 EST


On AM335x, resistive TSC can wakeup the system from low power state.
Currently, parent MFD device is marked as wakeup source, which is
inaccurate as its the touch event generated by TSC thats the wakeup
source. This series moves all wakeup related calls to operate on TSC
device instead of MFD. It also marks TSC IRQ as wakeup capable, so that
its not disabled during system suspend.

This series is based on Dmitry's comments here:
https://lkml.org/lkml/2018/4/24/65

There are many new patches in this series, hence did not mark this as v4.

Vignesh R (5):
mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable
Input: ti_am335x_tsc: Mark TSC device as wakeup source
mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup
capable
iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally
Input: ti_am335x_tsc: Mark IRQ as wakeup capable

drivers/iio/adc/ti_am335x_adc.c | 12 ++++--------
drivers/input/touchscreen/ti_am335x_tsc.c | 22 +++++++++++++++++-----
drivers/mfd/ti_am335x_tscadc.c | 14 +++++++++++++-
3 files changed, 34 insertions(+), 14 deletions(-)

--
2.18.0