From patchwork Tue Dec 8 00:16:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 7793021 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 72D219F350 for ; Tue, 8 Dec 2015 00:18:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAC7720570 for ; Tue, 8 Dec 2015 00:18:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F25032056E for ; Tue, 8 Dec 2015 00:18:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a65xy-0007EM-Ih; Tue, 08 Dec 2015 00:17:14 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a65xZ-0006zN-DD for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 00:16:52 +0000 Received: by pabur14 with SMTP id ur14so2095753pab.0 for ; Mon, 07 Dec 2015 16:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tC4FTO3Gm5nvcnvBOy2YAsAfw8WiPMjjDumIsDMr2Nk=; b=E+uMnQizxlvGBEVBahGTOoHRQV9XK4bfLUKoiatgjEor2eL4oUrEg6CPEo0l6hV5n+ pnNWdnPjqK9bgYr+frAUikStBnTPrX6n6h+f8tlWL4o2MwYfGVi99bmjSPoDHp+fK+EJ kMkYQGsBBP/XRqc2HC6PyVZuPYeLd+b6zMVKg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tC4FTO3Gm5nvcnvBOy2YAsAfw8WiPMjjDumIsDMr2Nk=; b=iiAcU0ErqLZZ5C/G1LeNetosyxRjEC19gIrELRd488Sm45QqV/fSKvDf8W/5YZLofv 2oE+RN1H06XlPyyuwrrpmowhCqKQbLghbBCzCEV5rj+v9ZhDU/s3wuYOrKM9BggaGxfq b4x2TOtX5zdh3Yd6TE++SNFW1NgQ5ozu41HYvQCcA3ifMagmpNnBiVtcZAp8dTmJdLk8 3fvk85JuqLBZuntZB7Vrj9oxZaXrXRPjd/+8A6AZgjIJHDhLzFU+ThZDU/7ExgYejZFe uXt4Gti2Ognivlj0rah6pr8AzRQ8THCNpj99r5XIHWSdwOs7GEMI4VThQ7NYaEfTywC5 fBnw== X-Gm-Message-State: ALoCoQk93JTXvxzsCvK51cpVe98Yk9rlcyf+Lbgjpc4bgKH60Hch21LLrO8lQUfZbX7WIDfsDoV2ALc3cRNdLVcq5vsdi6ON9A== X-Received: by 10.66.154.129 with SMTP id vo1mr802933pab.152.1449533789224; Mon, 07 Dec 2015 16:16:29 -0800 (PST) Received: from localhost.localdomain ([198.137.200.11]) by smtp.gmail.com with ESMTPSA id k85sm370585pfb.59.2015.12.07.16.16.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 16:16:27 -0800 (PST) From: Loc Ho To: wsa@the-dreams.de, Ken.Xue@amd.com, Jeff.Wu@amd.com, rjw@rjwysocki.net, mika.westerberg@linux.intel.com, lenb@kernel.org Subject: [PATCH 2/2] i2c:dw: Add APM X-Gene ACPI I2C device support Date: Mon, 7 Dec 2015 17:16:14 -0700 Message-Id: <1449533774-22672-3-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1449533774-22672-1-git-send-email-lho@apm.com> References: <1449533774-22672-1-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151207_161649_708160_A8FD2176 X-CRM114-Status: GOOD ( 12.16 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jcm@redhat.com, patches@apm.com, linux-acpi@vger.kernel.org, Loc Ho , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable APM X-Gene ACPI I2C device support by adding the corresponding ACPI ID. The platform ACPI APD corresponding change is required to provide the proper clock frequency input. Signed-off-by: Loc Ho Acked-by: Mika Westerberg --- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index 809579e..423371d 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -117,6 +117,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = { { "80860F41", 0 }, { "808622C1", 0 }, { "AMD0010", 0 }, + { "APMC0D0F", 0 }, { } }; MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);