Received: by 10.192.165.148 with SMTP id m20csp4376063imm; Tue, 8 May 2018 07:31:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZotKwCU8rpgUfbSkp4m7rCSUBBqxjgSfIL9FBx9AluAlrXodmLRush41FtWJKS9sNnn9656 X-Received: by 2002:a63:6842:: with SMTP id d63-v6mr33179042pgc.304.1525789909703; Tue, 08 May 2018 07:31:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525789909; cv=none; d=google.com; s=arc-20160816; b=b6RnOwFFscaHLx3K4yRSh0IQOu2k6/b5cTEEUIT8JNHbBQqXSwWsN9yvvSa2+hJ0k7 eg6pReFCDYhenCvjh+t31tv0UawY90F1+DsfxrsBQRTK+b0ezor8D3Z8cNjfiLarktYI Ml6YobtEo4O33+fhLUg8mYu/77f/OBSlu4jtl28s0ulgvEJ4svH8uBAArPli9rQTrE9c DhWnAtL74kIRfKFDXHUi9P0OI+ZWF0COMTv1pBMT6ZwOseLSv4ElT7bqknsQKJMhF46M kfFlhl3Pwita9zuCZBFmKPeOx8FQ6CAg2uws1nRTYn6SqgfkGgibzCprG0xRKA07wjM/ PbOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=DxBw87WbbaOyDZdiAllfu/1sbawrSAlY8za9ut363NY=; b=ftNtViVeMgk3cViCrXK5QBP2uywI1DF6PPP1mscFHyxYfw9Ce4qJar2m6DTWVDmu4H 4u1wf62zCK4KrQJ6pFm38xAEgz3tEs2c/2J6BNBy1xzhAYyHKZE3xT9xzRJVGQkEV4QF Xf+kV2v5M+7wpd9Y/GmiTWw8FmH/eGLxjwIqQYuRdlzgz2yxUu2Cc+Y8xDLzggi1gR/L tATabNHXr46GTeySowTwxc2RJteWoJNpAIBrv585Ubj6b5NZUjLGVsL96D7Qo3i8YiWk yTHlQn7GePH80iSwa5U5rJSxpqUUeDHlvYZSbPHBFLFZY6IGGLuEusdcgUlFPVYkQ3mr oWCw== ARC-Authentication-Results: i=1; mx.google.com; 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 z3-v6si13817270plb.246.2018.05.08.07.31.34; Tue, 08 May 2018 07:31:49 -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; 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 S932510AbeEHObD (ORCPT + 99 others); Tue, 8 May 2018 10:31:03 -0400 Received: from mga17.intel.com ([192.55.52.151]:40612 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932334AbeEHObB (ORCPT ); Tue, 8 May 2018 10:31:01 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2018 07:31:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,378,1520924400"; d="scan'208";a="38333571" Received: from mylly.fi.intel.com (HELO [10.237.72.56]) ([10.237.72.56]) by fmsmga008.fm.intel.com with ESMTP; 08 May 2018 07:30:57 -0700 Subject: Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD To: Chris Chiu , Jian-Hong Pan Cc: Jiri Kosina , Benjamin Tissoires , Jani Nikula , Hans de Goede , Dmitry Torokhov , Adrian Salido , Jason Gerecke , linux-input@vger.kernel.org, Andy Shevchenko , Mika Westerberg , Wolfram Sang , linux-i2c@vger.kernel.org, Linux Kernel , Daniel Drake , Linux Upstreaming Team References: From: Jarkko Nikula Message-ID: Date: Tue, 8 May 2018 17:31:16 +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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 05/07/2018 11:07 AM, Chris Chiu wrote: >> Besides, according to ASUS's input, they observed that after entering >> the OS, the frequency of SCL is too fast (about 600kHz) and the SCL High >> time is around 450ns, not following I2C spec which is 0.6us. >> https://pasteboard.co/HjzSWXd.png >> > Some update, we can make the touchpad work by simply modifying the > clk_rate of spt_i2c_info from 120000000 to 133000000 in intel-lpss-pci.c for > specific PCI ID 8086:a368 ~ a36a (CoffeeLake). Is the clock setting different > for the CoffeeLake series? > Hmm.. at quick look it looks like to be 133 MHz but I want to double check first from other specs. I'm also wondering why it results 600 kHz instead of expected 133/120 * 400 kHz = 443 kHz. Need to check timing parameters too. -- Jarkko