From patchwork Mon Sep 12 08:28:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phidias Chiang X-Patchwork-Id: 668650 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3sXgtQ2c4Bz9sC4; Mon, 12 Sep 2016 18:28:14 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1bjMb5-0007Lc-Qo; Mon, 12 Sep 2016 08:28:11 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1bjMar-0007I4-IP for kernel-team@lists.ubuntu.com; Mon, 12 Sep 2016 08:27:57 +0000 Received: from 114-34-181-73.hinet-ip.hinet.net ([114.34.181.73] helo=ktx.tw) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1bjMaq-0003y8-OQ for kernel-team@lists.ubuntu.com; Mon, 12 Sep 2016 08:27:57 +0000 From: Phidias Chiang To: kernel-team@lists.ubuntu.com Subject: [Xenial][SAUCE][PATCH 1/2] UBUNTU: SAUCE: mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs Date: Mon, 12 Sep 2016 16:28:15 +0800 Message-Id: <1473668896-27847-2-git-send-email-phidias.chiang@canonical.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1473668896-27847-1-git-send-email-phidias.chiang@canonical.com> References: <1473668896-27847-1-git-send-email-phidias.chiang@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Mika Westerberg BugLink: http://bugs.launchpad.net/bugs/1622469 Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new IDs to the list of supported devices. Signed-off-by: Mika Westerberg Signed-off-by: Lee Jones (cherry picked from commit 19063e1b0aaa857f3a7b200d8332c10511e1b21d) Signed-off-by: Phidias Chiang --- drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index 92b456f..a2a5545 100644 --- a/drivers/mfd/intel-lpss-pci.c +++ b/drivers/mfd/intel-lpss-pci.c @@ -123,6 +123,19 @@ static const struct intel_lpss_platform_info bxt_i2c_info = { .pset = &bxt_i2c_pset, }; +static const struct intel_lpss_platform_info kbl_info = { + .clk_rate = 120000000, +}; + +static const struct intel_lpss_platform_info kbl_uart_info = { + .clk_rate = 120000000, + .clk_con_id = "baudclk", +}; + +static const struct intel_lpss_platform_info kbl_i2c_info = { + .clk_rate = 133000000, +}; + static const struct pci_device_id intel_lpss_pci_ids[] = { /* BXT */ { PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info }, @@ -176,6 +189,16 @@ static const struct pci_device_id intel_lpss_pci_ids[] = { { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info }, { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info }, { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info }, + /* KBL-H */ + { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&kbl_uart_info }, + { PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&kbl_uart_info }, + { PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&kbl_info }, + { PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&kbl_info }, + { PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&kbl_i2c_info }, + { PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&kbl_i2c_info }, + { PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&kbl_i2c_info }, + { PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&kbl_i2c_info }, + { PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&kbl_uart_info }, { } }; MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);