Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4242654imm; Fri, 18 May 2018 01:38:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpcGxEUthHjSey5pVU4D6b222rd6f04nWs+jZ2nnlUQK2zbGHJGpNOhoESEbBIgkiX3iwZq X-Received: by 2002:a17:902:3001:: with SMTP id u1-v6mr8615514plb.376.1526632700662; Fri, 18 May 2018 01:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526632700; cv=none; d=google.com; s=arc-20160816; b=bwFURrnnlc9jHvogHqhHcwmG2gfHkRRdblnx6ahgvOFHkrKGy1TcOtIqxJRFTXCoQH WaCpDtElYsHFqp4lG4KnCeRuG/UqnqF4hcdcu9tae87V3dekdlylOA/WNO3tLrDBgdTm XsWJF6cBZLaMtXKvcV988HtN4WdcE6EklsNFVTdx6TY1nsArTxGIEloRfxAr+DaxzKL9 xIoq0NWu+QhLktmyayVCRZyvarQQD/nXhSf9ZHcoAEmxt3mw4sgPykRNJYFYycwH4CfG z36CTwJr9VtOljqwlROEDk2CES3OweKOAE8C1RPOxIq06TYgDqNSCv+/wdRh3gDJPdzA KbRA== 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:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=bs7xwlB+hTLjj2JkK4+h8bncRCLD/ULRQMRXAaE9FOc=; b=m0Rs73HRZEENxJbbkvnj70Np0qJEoX3XXxuJ9ellu6Emg0kOu5vbzoDcAAT/o9FPkb Z3Pgz+JHZ7Mm27cXan213AaUPX9cGgnK7KYz39w+/8VexocOEUcnbF3VujQQmP9NNAUz A4NVAs78Q2EnLxTcKWgGQfhMB0nOMgV9NV4OrXStx1AFmXyax0aqfK1YsIWHob0hy5n1 ETufaJfF7EDKuogW4J46gaAtx7BPi4SiCWNG3i5DD3H8qSp07MDOqlrnxMXIIz6lC9RK FY8Hhnl8PxARv8gaA5rS4dKE7w3k3cHeL3+nZJARyI1/JwOBKyi9rprAkhclzbPZHQn+ PIUA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18-v6si6956451plo.285.2018.05.18.01.38.06; Fri, 18 May 2018 01:38:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753738AbeERIhv (ORCPT + 99 others); Fri, 18 May 2018 04:37:51 -0400 Received: from mga17.intel.com ([192.55.52.151]:12855 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796AbeERIhq (ORCPT ); Fri, 18 May 2018 04:37:46 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2018 01:37:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,413,1520924400"; d="scan'208";a="229608426" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga005.fm.intel.com with ESMTP; 18 May 2018 01:37:42 -0700 Message-ID: <822d5f47cad46ca308d511f7f24cdbc5f4af38b9.camel@linux.intel.com> Subject: Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD From: Andy Shevchenko To: Hans de Goede , Jarkko Nikula , Chris Chiu Cc: Daniel Drake , Jian-Hong Pan , Jiri Kosina , Benjamin Tissoires , Jani Nikula , Dmitry Torokhov , Adrian Salido , Jason Gerecke , linux-input , Mika Westerberg , Wolfram Sang , linux-i2c@vger.kernel.org, Linux Kernel , Linux Upstreaming Team Date: Fri, 18 May 2018 11:37:41 +0300 In-Reply-To: References: <7728da79-8a7a-b87d-d09c-b36978b3032e@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-05-18 at 09:48 +0200, Hans de Goede wrote: > Could it be the i2c input clock definition in drivers/mfd/intel-lpss- > pci.c > is also wrong for Apollo Lake (N3450) ? There are lots of people > having > various issues with i2c attached touchpads on Apollo Lake devices, > this bug: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728244 > > Is sort of a collection bug for these. Various models laptops, lots of > reporters. Note not sure thie is an i2c-designware issue, but it would > be good to double check the input clock on Apollo Lake. > > I've checked the datasheet and the datasheet mentions 133MHz as > "serial input clk" in the lpio_bxt_regs Registers Summary, which is > also part of the LPSS, no clk is mentioned in the "Summary of > DW_apb_i2c_mem_map_DW_apb_i2c_addr_block1 Registers". The internal datasheet we have access to mentioned in this case for Broxton and Cannonlake together. So, your assumption might be quite close to the truth and the issue is inherited from Broxton. -- Andy Shevchenko Intel Finland Oy