Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp986828imm; Fri, 27 Jul 2018 09:18:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7u4l/Pf5omKciVlb1URc82FFtN9feP/8OdD3Qu40TnAoK8D9S0POplvzDckR+XmZ0beaF X-Received: by 2002:a63:d518:: with SMTP id c24-v6mr6741083pgg.357.1532708330372; Fri, 27 Jul 2018 09:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532708330; cv=none; d=google.com; s=arc-20160816; b=yMA1WmySGpJiUwyL7xweQztTfhFPhFFa4llQD+OxYz7MdVRgCh4/m28cc60K3KTp2h J2D/79+8VrZD5PxFiih3d2SbQ3A44T/y+jp1DxybUHHbWVhGxKDfwL3XZoPN81lCU23h oTF19zEapG5m7gE48W1Btamp+n3ga+XgmqOI/dPAu4E+KBKGX4qEEDfmqvUnsZm4HGfQ HWONI1wnr4S0zI44OoZT5j5NE17Ufevv824rOr5pbMvD0xAm+j2jAr45+RyVioJUB5tx MZ3fse1+cWeFGXM0se/YMfyTG9LJN8uIDefxzpaVizdsSbOFdpHZRXwYBtGJrq8V1rvZ fvmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=n2uJkAQf3JOqUAlfkESfHm7HNGHceuZAMJ0Yrn2ASS0=; b=pQ/PSW0cQGhQpSRlH+XPZCh26DPx9UuLWGQtpAuOMHnJd5ML0Tv4F9I+wQvRT3W+O5 mEh+smCzL2pk/EiKbY75Z187cd+va6dyTwcH7Pfg/YhtommPdSEqvyxI6/9O6Ltd6NJL 6WGGnpje6ndC3hcXkEp1XMfLLEA2FCVqPyFJdecdvDLmCyJkTFXTtMDjbKWaPGe7nijE 1p6n6EzQbMw6jUn5kCaDsjAUv4GsVe7qAGxdcRVAqFbFYfORiMOyB5SS4mpPvqGYba9H m3jn+QVxk9Ds6Y3ev1MeVJKxfjb8BcCLKMiaXa/czyL1TLAmHv3U68TyczZu+pSuvfKz KLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cWn7jpii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v32-v6si3905955plb.273.2018.07.27.09.18.35; Fri, 27 Jul 2018 09:18:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cWn7jpii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733043AbeG0RkB (ORCPT + 99 others); Fri, 27 Jul 2018 13:40:01 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:38336 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730205AbeG0RkA (ORCPT ); Fri, 27 Jul 2018 13:40:00 -0400 Received: by mail-ua0-f194.google.com with SMTP id o11-v6so3691308uak.5 for ; Fri, 27 Jul 2018 09:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n2uJkAQf3JOqUAlfkESfHm7HNGHceuZAMJ0Yrn2ASS0=; b=cWn7jpii/laH3r4UWZ95/fNCsrmvpE6FfoFPEBdlVwIc/VQDcz7Y8/FMK0M74Kqzv9 YFyEoYWDVqxZ8eFu3Qd2LM6kvIJDoZuASWAuF/we6+8dMgHGe3FiSdR2ym3V/YFvFTpz 1K+lDpddlQZzSBgUY5quRK8yVOWSI/qfcvRx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n2uJkAQf3JOqUAlfkESfHm7HNGHceuZAMJ0Yrn2ASS0=; b=Qy2vo5Q7wLdfsOAzv3kpS9Tm+S3Di2S7g7ZIDYISKQaUWpX1F3GDXvzKpAf6iiWDM7 a/nVPLEh/Dfqfr2XC/2ECcdQSHTKbyRNcQAkQRllJdTf4ww+AwwrObllLwANgLQa335m +HIktdpxWxhN9oyQZNm9dwMPVis7erNdYeyHWfWxpCBKKfqOpKNBJcnuPZa0khpN5y9O wfSySiPVRk/ck+KNj8BCABZ8KXF+m4qzymv2mGXP9HXl4enqO6gCKdzcC5wuCfUet4az KYzkQ9//dBliIN8PyOIkof81gR7Zz+HgOSlS5Y2L943oJ9oDHxYPIQjnNfP3BER/Ocuv d5ww== X-Gm-Message-State: AOUpUlGtzcuthIa+QeF9+l1LDna9sgkyD0r7gO1qnSBgxM0jtiLHsrUi OtDbGv/HKGcjR+h7/oP+IzOuF3PdNvJbXjwqRxN7Eg== X-Received: by 2002:ab0:1724:: with SMTP id j36-v6mr5022177uaf.0.1532708243821; Fri, 27 Jul 2018 09:17:23 -0700 (PDT) MIME-Version: 1.0 References: <20180726225508.74612-1-dbasehore@chromium.org> <1c3aba3d-0dfb-dc24-bd7a-5289a19a9065@redhat.com> In-Reply-To: <1c3aba3d-0dfb-dc24-bd7a-5289a19a9065@redhat.com> From: "dbasehore ." Date: Fri, 27 Jul 2018 09:17:12 -0700 Message-ID: Subject: Re: [PATCH] i2c: enable async suspend/resume on i2c devices To: hdegoede@redhat.com Cc: Andy Shevchenko , linux-kernel , wsa@the-dreams.de, linux-i2c@vger.kernel.org, Doug Anderson , dtor@chromium.org, venkateswarlu.v.vinjamuri@intel.corp-partner.google.com Content-Type: multipart/alternative; boundary="0000000000006b4d7d0571fd72e3" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000006b4d7d0571fd72e3 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 27, 2018 at 5:07 AM Hans de Goede wrote: > Hi, > > On 07/27/2018 12:44 PM, Andy Shevchenko wrote: > > On Fri, Jul 27, 2018 at 1:55 AM, Derek Basehore > wrote: > >> This enables the async suspend property for i2c devices. This reduces > >> the suspend/resume time considerably on platforms with multiple i2c > >> devices (such as a trackpad or touchscreen). > > > > How did you test this? > It was tested on Apollolake Chromebook devices. > > > > Especially on Chromebooks based on Intel Cherrytrail / Braswell > > platforms, they have a painful PMIC vs. OS design solution. > > > > +Cc: Hans, who did a lot in this area. > > We disable suspend of the i2c controller for the i2c-bus > to which the PMIc is connected on these platforms, so I do not > expect this to cause any new issues. > > But this is something to keep an eye on, > > Regards, > > Hans > > --0000000000006b4d7d0571fd72e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri= , Jul 27, 2018 at 5:07 AM Hans de Goede <hdegoede@redhat.com> wrote:
Hi,

On 07/27/2018 12:44 PM, Andy Shevchenko wrote:
> On Fri, Jul 27, 2018 at 1:55 AM, Derek Basehore <dbasehore@chromium.org> wr= ote:
>> This enables the async suspend property for i2c devices. This redu= ces
>> the suspend/resume time considerably on platforms with multiple i2= c
>> devices (such as a trackpad or touchscreen).
>
> How did you test this?

It was test= ed on Apollolake Chromebook devices.
=C2=A0
>
> Especially on Chromebooks based on Intel Cherrytrail / Braswell
> platforms, they have a painful PMIC vs. OS design solution.
>
> +Cc: Hans, who did a lot in this area.

We disable suspend of the i2c controller for the i2c-bus
to which the PMIc is connected on these platforms, so I do not
expect this to cause any new issues.

But this is something to keep an eye on,

Regards,

Hans

--0000000000006b4d7d0571fd72e3--