From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fllv0015.ext.ti.com ([198.47.19.141]:42340 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936205AbeF3Kwx (ORCPT ); Sat, 30 Jun 2018 06:52:53 -0400 From: Vignesh R To: Jonathan Cameron , Dmitry Torokhov , Lee Jones CC: Vignesh R , , , , Subject: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability Date: Sat, 30 Jun 2018 16:03:13 +0530 Message-ID: <20180630103318.25355-1-vigneshr@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org 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