From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4974EC433E2 for ; Wed, 9 Sep 2020 06:03:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0373B207DE for ; Wed, 9 Sep 2020 06:03:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725811AbgIIGDk (ORCPT ); Wed, 9 Sep 2020 02:03:40 -0400 Received: from muru.com ([72.249.23.125]:44370 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbgIIGDk (ORCPT ); Wed, 9 Sep 2020 02:03:40 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id ACA1780DD; Wed, 9 Sep 2020 06:03:39 +0000 (UTC) Date: Wed, 9 Sep 2020 09:04:21 +0300 From: Tony Lindgren To: Pavel Machek Cc: Nick Dyer , Dmitry Torokhov , Henrik Rydberg , Arthur Demchenkov , Ivaylo Dimitrov , Merlijn Wajer , Sebastian Reichel , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 1/3] Input: atmel_mxt_ts - use runtime PM instead of custom functions Message-ID: <20200909060421.GD2747@atomide.com> References: <20200318230938.31573-1-tony@atomide.com> <20200908085111.GA31609@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908085111.GA31609@duo.ucw.cz> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org * Pavel Machek [200908 08:51]: > Hi! > > > Let's use standard runtime PM functions instead of custom start and stop > > functions. This way we can implement runtime idle mode using runtime PM > > autosuspend in the following patches. > > This is not in recent kernel. What needs to be done here? Well it seems that it's lossy for normal use for taps requiring a short swipe instead. So by default the autosuspend_timeout should be disabled. This would be still usable for cases where we want to wake up the device using touchscreen. Regards, Tony