Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp36086imm; Mon, 14 May 2018 20:25:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpAZvibky7VSpu6sGUsIp/QF+jHNStLrA87wZdh9t2ZgAcQf+cHLNMHsGwvTpZ/nBVBT4x4 X-Received: by 2002:a62:9515:: with SMTP id p21-v6mr13152425pfd.62.1526354745854; Mon, 14 May 2018 20:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526354745; cv=none; d=google.com; s=arc-20160816; b=Ku9glUkpCwh73F5AqMb8ZBSTMdZbJiemgoKcds3CqiwUFKF20qQnh/otyFy1nov5ng Gx0dnuPQLMFpkudepNrddBMfoPcZANYmhIF/3cEzDxRvsX2cxoOHS3wJBbTZ5eLunEJb Xr66kdc7/fP4IghGgpH7ZrwsS47vbyLzpbJpHcde3eYcQS24lZkiUw99wql1YqZGyFYp PSmafDeQ3DxdT3wiLx7Tn6QUf+Wlze9my7tOJMscyUDGu3qyEtbLr0kewpNwkQyuuPul /7m+0i/PdgXOu9Is95rJykTjlsVTBt1Fh8n5P0IMXK+UlHEIiuBo7Qunlq/d+6LGtNKH H4lg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Ia5WAbH6l8jjpCvMlCxeOX90b0LLEvIM8IRkYn6jf6M=; b=UTN6PCYvD2vcxSfv+FKX6jbi0/ufEoPByJey/sBtkthoXxLqFHO8wP8oFFtKjhPEQt 5NTno6uE53/9k1sKSYfCSZbRLbddHDGbnZyn7zoO1EptWYA04i5fEXmhXaRhIanz+tr4 0dmSQWW4ohdjY02emKY8Gl1EAsI4YIoU7a1tSMGpk+2nYDCUfyltjg1Rvimy0t+Se4OV 9t6uzuREoHGycv8WgDHOBvf1jc7Noo90sREqytBLRnsuzi0EPHlnGGYaZk9OJhDkSLZ0 yRRuyOf6A3xua3TeV7j+N4/gkPM+4ksSyPJ1rlfITZZHqH/YB1Dj4b9ocoiOpCNBPNyZ daUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=KdI4XxZ5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5-v6si8539820pgs.317.2018.05.14.20.25.31; Mon, 14 May 2018 20:25:45 -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=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=KdI4XxZ5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148AbeEODXB (ORCPT + 99 others); Mon, 14 May 2018 23:23:01 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35335 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752118AbeEODW4 (ORCPT ); Mon, 14 May 2018 23:22:56 -0400 Received: by mail-wm0-f67.google.com with SMTP id o78-v6so18716715wmg.0 for ; Mon, 14 May 2018 20:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ia5WAbH6l8jjpCvMlCxeOX90b0LLEvIM8IRkYn6jf6M=; b=KdI4XxZ5irjoeqjLe3KVvOXjQ3fmHHPBIYtsH5uysIiP9bbn7/b8K9uwbUu5wAu9th SYs6E+KQt/os8Zy6UDAsvlH0rFBPToGFdUUE7/wOdClbI+uQjQQRss2ip3muuNL75qzK 34bxvQUz3y2NaNNwi6W1Q0oYvi2dsLIQ1G22RVR89CQVr+73hjRNcxJGRRneXy5VPbNG Vr1phgHDuFNi+jcA8+FUZ0IQG7WsmfP4yQcL7T//t6OMbQ47/N8N9gl42sI00f9SN2hP UGEAb2k3vPEqdes0PTtPdGRCNdxfFpnSWVC8KE9Z+s+WKaoyHM0CX6cVeiAs0GQaOyOk rY1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ia5WAbH6l8jjpCvMlCxeOX90b0LLEvIM8IRkYn6jf6M=; b=bBeiMMJy38Jdifro5Ag8J68gTODpMpkFAfXMSVsUPBQHgmt4VwZa+/uBwwqr/aNfph 4JS1VgKo0tFWbcCnfSbqADghSoChIcITT1iEEUA0qOmZpLRS8p050hw3k4hnKga718S7 c8+Y3QHCBR6/I68lA/9g3sUHAM/VoS2APuqSoeGUrWe3BCi9D3gI1s+d9TWnDvSt4eS5 3q22u/Z9bSk75c2lHgZUJoQ6kIjKuxgf0IYobskMCNg+iRmWOWEbpcgOHiuJSnga7Pxy SpDBE30Tw1BfZPifk57VnQIXcjogfRCpkQpCtbfFcUvC88YSo7ZXtky5Rwcjl0y+Ibdt mjUg== X-Gm-Message-State: ALKqPwfXmjEH9NQmc+/xMfF/25Vi5kLtzYXd6dE1kxOF8zZTONJxK14D NlwYVFj82mxy0NcCpz/EQrsiOvQCaM5GAZzH54r9gQ== X-Received: by 2002:a50:f292:: with SMTP id f18-v6mr15602915edm.176.1526354574958; Mon, 14 May 2018 20:22:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.245.113 with HTTP; Mon, 14 May 2018 20:22:54 -0700 (PDT) In-Reply-To: References: From: Chris Chiu Date: Tue, 15 May 2018 11:22:54 +0800 Message-ID: Subject: Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD To: Jarkko Nikula Cc: Daniel Drake , Jian-Hong Pan , Jiri Kosina , Benjamin Tissoires , Jani Nikula , Hans de Goede , Dmitry Torokhov , Adrian Salido , Jason Gerecke , linux-input , Andy Shevchenko , Mika Westerberg , Wolfram Sang , linux-i2c@vger.kernel.org, Linux Kernel , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 14, 2018 at 10:20 PM, Jarkko Nikula wrote: > On 05/10/2018 03:03 PM, Chris Chiu wrote: >> >> Report from guys who can access scope. If i2c-sda-falling-time-ns=400ns >> , HCNT increase to 117, the SCL high duration is 576ns as follows >> https://pasteboard.co/HkwERvP.png >> >> The original SCL high duration (HCNT = 105, 120MHz) is as follows >> https://pasteboard.co/HkwFxgY.png >> >> So the HCNT does affect but per this HCNT/LCNT value, just not 400kHz >> as expected. Any suggestion? >> > Thanks for measurements. I was sidetracked last week so I don't have yet > explanation why signals run faster than expected :-( > > Using 120 MHz SPT I2C clocks in commit b418bbff36dd ("mfd: intel-lpss: Add > Intel Cannonlake PCI IDs") is clearly wrong but before going to 133 MHz > (which work for you but still runs too fast) I would like to find > explanation why it appears to be much higher. > > -- > Jarkko What if I change the 120MHz to 180MHz and then make sure that the I2C operates in target FS mode frequency 400kHz via scope? Would there be any side effect? Maybe some other busses frequency could be also affected and causing some other component malfunction? Chris