Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1634788pxb; Thu, 4 Mar 2021 17:05:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcGsTPY51kz2Eb78d4G8C4V2BXKa8ayEJjXQ6lF95hfs32JLWBPyhTuIS0sqVxi3xogeSA X-Received: by 2002:a02:3e16:: with SMTP id s22mr7177368jas.72.1614906307710; Thu, 04 Mar 2021 17:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906307; cv=none; d=google.com; s=arc-20160816; b=lxKAEKUI94CoVxzXZUpuPMl6BK7JaTbNvvcAtZl1faykHwZDr8H14q3TL08tfC118A tHeY2WZpz6hW0j6qjqLjro1KiMjG77kO7a6BM1UueM1Getdp6wQMVtyb63Ezr07AqndP 8TEG0qONVURIK9Zdn52BLIEsJgG1IKneanQP462YoHoFkfkkC14lMcsG2/k0/la6BVIR NG40L+jvXWRg+MuJsXrUhEs8TeKbRMNYQ4mIePlbP3hlNnEA+uWLYj99KincNMrYiEAr b1nUOhTYgK7//mciQBHDc1v/T/Q2ydnrMjIu2tzYh1E5a6hX5KrO9jgc3Lvcy6ZJXDm+ UXoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y7XTV/TMEjXkNOAuL6EZnBWRhY4A+ZiPKSoAJ0vB9xE=; b=bwUqXrhr/fek9DYELjekbM9D1nTxZ7lWE986G0heJ13FkB0ACnlsrpKl4KKCydRLg5 EhsslIGwH4+FmYt/hxcI9KDFslH14riwJHcSYiskAO3Jv7Ksox7BR/1rWkBaWM8S2cRg PWluxCElLNJ3EuAfEvATJCzf5DREI1l5tIjKNO2cONdkD7QibvMVaf0TwQPPxHkLdEpm Dk1trAWyB48BisYGl04/pcgcZhT3kXev3A4KhAdQ2KmKts+z9otXNxRiHtTlA+2Ow7XH sIVdxXuBJsD5XsxK3z8UBufhfvpNB0CKzD1i5QQBsZWWg0BVzWD4wln/X7VoTJSCreaK 0MKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DgC1AJPR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si805385ios.8.2021.03.04.17.04.51; Thu, 04 Mar 2021 17:05:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DgC1AJPR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231709AbhCEAz1 (ORCPT + 99 others); Thu, 4 Mar 2021 19:55:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbhCEAzZ (ORCPT ); Thu, 4 Mar 2021 19:55:25 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03180C061574; Thu, 4 Mar 2021 16:55:25 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id h13so855124pjt.0; Thu, 04 Mar 2021 16:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Y7XTV/TMEjXkNOAuL6EZnBWRhY4A+ZiPKSoAJ0vB9xE=; b=DgC1AJPRjWSLjT5YNP36rKUdrgk9V+xdGik4amT+mbu9lKc9C0PFEaMpSYB4OmZ0e3 xnxytMUZFH61Kk5XYZVZXSa0hrUxuOKr6yNYLoOBO1+r9kGeMETZoumgK5e36Iselklg AVmOOdogp9qCL+wVFtwjf3YWT7Njzy85t46gQ1TXD6kRXq0zfSrATJaJKsZmhuU4m2g7 392ieNbwwS98QJC2dQ7LJK4SRXnB8YUo0bN/WkzgiE92wOUhsoh/JnBNa5Zqhb01T7xc +h9oIv+w8joxq8P03LLDPrYbHSJlD055oBTtSBQhV4J6wP5voGyOn69JM1QKdogo4dEK EUYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Y7XTV/TMEjXkNOAuL6EZnBWRhY4A+ZiPKSoAJ0vB9xE=; b=rb2SttMr8XTn0OQ2bJXXTwwm3cZOGvDxT4z0mYH3qUUtP0I7YlWJfBA7pD2HYM9e+t liTtyp8MghgSIi53rKwZcBp8kyMj/GOkDwU7kooMwHtSdTeQaF/I4I4EUeD9i+3bNrhb pCIRuaqgO2mh0IwwSaF9gJa8A/ToZW2RWh3UGYIBuNXYQIGSIuklBoeoEe1Evy2X7+VG mbZWJyljEgQu8wFeJPR9YfcJoCKX0Pc0GMt9utYrROpHCGst0142TADbq1JLYiTXCZmP Xx67t2inFwt8MYsdQBpLhzeJoH03a83JKp6y2K+ZoiYlnbgEq821RDh/746LMSnxAi9w BVrA== X-Gm-Message-State: AOAM530+v6d1UIJkswWcxYfnMln36q5ViVQjSbYE9wveanu8J3/DQOP8 pS+i1aBRX/pLFbIP9uIRW2Y= X-Received: by 2002:a17:90a:6383:: with SMTP id f3mr7069643pjj.14.1614905724544; Thu, 04 Mar 2021 16:55:24 -0800 (PST) Received: from google.com ([2620:15c:202:201:c91f:96a9:615f:28ed]) by smtp.gmail.com with ESMTPSA id b7sm507604pgh.37.2021.03.04.16.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 16:55:23 -0800 (PST) Date: Thu, 4 Mar 2021 16:55:21 -0800 From: Dmitry Torokhov To: "jingle.wu" Cc: linux-kernel , linux-input , phoenix , "dave.wang" , "josh.chen" Subject: Re: [PATCH] Input: elan_i2c - Reduce the resume time for new dev ices Message-ID: References: <20210226073537.4926-1-jingle.wu@emc.com.tw> <1614647097.9201.jingle.wu@emc.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1614647097.9201.jingle.wu@emc.com.tw> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jingle, On Tue, Mar 02, 2021 at 09:04:57AM +0800, jingle.wu wrote: > HI Dmitry: > > So data->ops->initialize(client) essentially performs reset of the > controller (we may want to rename it even) and as far as I understand > you would want to avoid resetting the controller on newer devices, > right? > > -> YES > > My question is how behavior of older devices differ from the new ones > (are they stay in "undefined" state at power up) and whether it is > possible to determine if controller is in operating mode. For example, > what would happen on older devices if we call elan_query_product() below > without resetting the controller? > > -> But there may be other problems, because ELAN can't test all the older devices , > -> so use quirk to divide this part. OK, but could you please tell me what exactly was changed in the newer parts behavior regarding need to reset after powering them on? Thanks. -- Dmitry