From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753869AbeENOUH (ORCPT ); Mon, 14 May 2018 10:20:07 -0400 Received: from mga04.intel.com ([192.55.52.120]:58852 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbeENOUG (ORCPT ); Mon, 14 May 2018 10:20:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,400,1520924400"; d="scan'208";a="58476244" Subject: Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD To: Chris Chiu , Daniel Drake Cc: 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 References: From: Jarkko Nikula Message-ID: Date: Mon, 14 May 2018 17:20:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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