Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965515AbcCJHKJ (ORCPT ); Thu, 10 Mar 2016 02:10:09 -0500 Received: from mail-by2on0088.outbound.protection.outlook.com ([207.46.100.88]:60742 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964918AbcCJHJ5 (ORCPT ); Thu, 10 Mar 2016 02:09:57 -0500 X-Greylist: delayed 1994 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Mar 2016 02:09:57 EST Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=amd.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=permerror action=none header.from=amd.com; X-WSS-ID: 0O3T90Y-07-H91-02 X-M-MSG: From: Xiangliang Yu To: , , , , , CC: , , , , Xiangliang Yu Subject: [PATCH] i2c: designware: Add device HID for future AMD I2C controller Date: Thu, 10 Mar 2016 19:34:52 +0800 Message-ID: <1457609692-25903-1-git-send-email-Xiangliang.Yu@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(428002)(199003)(189002)(53416004)(81166005)(87936001)(50226001)(47776003)(50466002)(2201001)(5003940100001)(5003600100002)(92566002)(101416001)(4326007)(189998001)(86362001)(1220700001)(1096002)(5008740100001)(229853001)(575784001)(586003)(5001770100001)(2906002)(106466001)(50986999)(105586002)(11100500001)(15975445007)(77096005)(36756003)(48376002)(19580395003)(19580405001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR12MB0707;H:atltwp01.amd.com;FPR:;SPF:None;MLV:sfv;A:1;MX:1;LANG:en; X-MS-Office365-Filtering-Correlation-Id: 67da4a58-7bc0-4874-7520-08d348ae53f1 X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0707;2:Ya6kRYqvH8h0yNGrTVQtadIh/BFSrvgBdWOe6bdCb5yZgmtkweJkgYHdqJV8gzjlZvDW9rv5J3dYdxQ3lWv+qNFCsgFLqZan4f9mUAmiNFO4hhvIq6PYR1tXJvVsol8FWtitn3g2Gpm7R7HYDqZ/bf4Xy4aqm0AzQbrrxOu9rIFMM03h5Ba/oYii1Deme740;3:IHoZe9R/C416SKv6FFfKxl0ZSup08OxA2sXPQjg5GdUx+rQ31t+FA1W4dKvkImhMNix9QTjWQsHG7431HEdqhm55bYIfumbbA+zggjgC9zs8Dehoxx5lnQY6+PxKCykqPxuMQy5XOAEhuuNYy4vCKHjOS/mJLxZG6u7hWl2dtvRXpHnf9gqbmmzE8HTEhF3aizfZbFxraLehBmk3Ehg1wy2s7yatNM00vAKJB9KMxDg=;25:1Pht2k5F9Ori4XZFReK8gJ6BUgh4d1ohec402l0HP2x6SEjlO/yBlt6XG92XbAF86bsH92JmYQV/J1shJihlXJ4Ng5012DeaDt/X0ym52LmZdsI+Pe5XghF5z7SSQPf/6D5IyQl8myDuSbj6BqIDk4JaS/6wGmvt91M0NQHGXpY1JgGritvAD05dgwnVf5kVVIcEL+80toVXpG5fQXym0BGCJoiyR5AfU757dR8jlYhUHC10ncGAwCq/19C3Ssl3Nbn5rr1se1wFrONoK11sH1XKDMmuv2Skm234U6WObHqywQd0Zec1bMibl1Cc+y8z5XI1rjdtUYe5bIygT1n6rg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0707; X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0707;20:iigo54QwWej7QXxF5EiKvKBMDXJ5eFidGACpSpfVB9RY6HW/Hh2d7FhWSJMYeDLTr7dXMw+p/HjB4oi75ie975sXc+Cew1oaSD+G08kKJXsb2YklYx4QErDIuSH+NnxKpIl7DioBzw32+0yadjF81k3jGaRXarlN7C8Z/1aO1G1RtTEyDBAPEiF+N554IimVtM+X290WX7SYGl4V+fd5k4MOLxyjmuuc28mTND6EoP+gALo6E6Tk7pGIU25czNM5tvzF+HRCDnL82vXtGNndIZFT2IZrq72tCvI3mYEPrlt9sQD5XlD6TBO2aNEdhZ4vg5Chw8fQ+hVJtcsoztCwG0D1JUE1EqLeu8P1c7O+BEgpa0PRSrVXRlyPJ5HQNTVS1AA3yJzs+WDaKZzgINVjvy+1ztgE+kk6Q3VWsab539OGkhJ6a7RpOp5ShMsmPAexsG8HgYR/SMKW/fLvwDkqfbJ/Ur0X6C+StGvudI6jYQAzps6IcE7rUKAR8oxY+hAy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(13024025)(13023025)(13017025)(5005006)(13015025)(8121501046)(13018025)(3002001)(10201501046);SRVR:BLUPR12MB0707;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0707; X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0707;4:0fDDPEYRIh8HTzct6kP0rS2P5KJ49bZU2hK3jQWT6+OPEzr8tXzqUdS/F0P2O0hjP0rvDprkMYnWZiHkxd4I/rHzQJ6IoAY4dBMtrmU8MzlcluO3q2ziBTrNYc1Rir5oKlt5oCuboLbiSlI0t+TVD3ND2Icd2yBKQ0i3d1UCLTLN9fc2RhbcqovKRCqPOSK3qsZsEajjCsO5dz5Ce4eFURVaafgl78KIioTI7ikoPVS829DcZ9q2mZvt76MzYS3o6X3OS+XWY7mprX7Tekwc1+fOU47BA2gX6r9oFUM7bXdKiUVJPKuKV5hXX36NYtjmIXBCvHdvXjTUjcYjUwxt7+rJ3dHcfAHVAgWBaPkWq+2EM+Zc6HGKK+bXmxCpAC+dC7mgLm9u3omugYpwvFyKFWfLeXhLibGVmnyzFxhWSQQqBMy8lK/e4NN1qkaT4s2Eu6sU+9IHBbtHEkykFns7uA== X-Forefront-PRVS: 08770259B4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;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9DZ/bkxsZjoTf?= =?us-ascii?Q?CU+VOIheM3Mu+HfApfvbftQONeuBHuzViQY++lWoYB/tC0BA1Fv7LYKwDkpG?= =?us-ascii?Q?8vOxvTJWFwLHBPwYITx2+76qfX392mjDHqH7QYFnrsYU9hg9NhREY4BH1DpJ?= =?us-ascii?Q?Nwt4A1wNzMh1lsao6uyuWxa?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0707;5:Jv0TIytZxxfqi/5RlPAnezf20GTPQsy+pIeZMY6f8H6vAQifcLC2H3sTv9NVlaRtdmqB9a+jw1Qh7OTpq7nhKclvxEByB1sibOuVXcgH3qCZ7psOwsvWAKAuLi4mIFWvnZ90YZr5sA+nuh0XmrM8vg==;24:qEamSHMBSJvhlCb2MWhmGmHfSDR0cC8WvTqvn4CIndOLZcqsKh/ZpBQh92xqQc6ucXMHZOVXwRs2IcTQHdRsr5EP6Jxknrn4FvXIxQ28EhM=;20:LgCjz4Pmm8Mpw3ZbQk6jWzzB/JVZR9xMaV/Mq2riugEkkiQcoXbUKIFospML/9+jJuRWV6hvfehhJqR/gFPJGGFt3NYbsral04A79VZvXsnb4+MwPjaeHcZU7Lh3C7d58kTRHtnLkAi9laG9slI8eubM6J8eEgbXqUBlby5Vj01p5iVK+SOOT62mj7LwEVXNW9S8EIvyP+EfpfPBCEdIOXp7EVS3NjMqdKeYtg8zwyI6KwOLnUy4Iz9nttpaArwF SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2016 06:36:35.1714 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.221];Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0707 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 36 Add device HID AMDI0010 to match the AMD ACPI Vendor ID (AMDI) that was registered in http://www.uefi.org/acpi_id_list, and the I2C controller on future AMD paltform will use the HID instead of AMD0010. Signed-off-by: Xiangliang Yu --- drivers/acpi/acpi_apd.c | 1 + drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index d507cf6..d0aad06 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -143,6 +143,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { /* Generic apd devices */ #ifdef CONFIG_X86_AMD_PLATFORM_DEVICE { "AMD0010", APD_ADDR(cz_i2c_desc) }, + { "AMDI0010", APD_ADDR(cz_i2c_desc) }, { "AMD0020", APD_ADDR(cz_uart_desc) }, { "AMD0030", }, #endif diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index 438f1b4..d656657 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -123,6 +123,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = { { "80860F41", 0 }, { "808622C1", 0 }, { "AMD0010", ACCESS_INTR_MASK }, + { "AMDI0010", ACCESS_INTR_MASK }, { "AMDI0510", 0 }, { "APMC0D0F", 0 }, { } -- 1.9.1