From patchwork Thu Dec 10 21:19:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 7822411 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 909209F387 for ; Thu, 10 Dec 2015 21:21:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AF5AF205CA for ; Thu, 10 Dec 2015 21:21:28 +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 DB4D6205DC for ; Thu, 10 Dec 2015 21:21:27 +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 1a78dF-0005y9-RK; Thu, 10 Dec 2015 21:20:09 +0000 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a78cw-0005Yz-NT for linux-arm-kernel@lists.infradead.org; Thu, 10 Dec 2015 21:19:51 +0000 Received: by oigl9 with SMTP id l9so14090353oig.1 for ; Thu, 10 Dec 2015 13:19: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=TWroZ06Yq4XGakFxtHr0l7SHcfsinR0J+q8rzwnd5m8=; b=EvPWXAiHWIu7xNfr1vN9Od+6yYzzMp/XKI4VwTNOKvIWhPb3ACaCb/VfaEINquI/sE HWEZBeci6/Rgo7ABu/ulIPac17UOfvlEqyk8Y1q53XhTRyVEPP/n6Zud3OhWQzpPNGIF wkRcylLzGp7Wtu1TWklOGiy9Dw4wrRgv4nEhU= 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=TWroZ06Yq4XGakFxtHr0l7SHcfsinR0J+q8rzwnd5m8=; b=L4NXHS/8OTKVnijMXE8jWSMv0LcwGlgsMxuZb+Bs5UpyVKB5RpFEi05C2mUYVi6W0T z1zwMPPN98316T+QsH4o073cJKcdWWedcndci3RspM9qsJBVQFe+mlqwYwipgTh+irHY xgNpsi7OzkEhesaNbYLbHniZT4BimTwDRIbRmzLRXZy442lMAYfVtumoNXVaUSHPn/aW bmlSES1BvWayVsQg6CBA3eoXyqyAOzodsgGUg1oIjLD7aD0mMQmv6Kd9luYdEVsfZ3yI CvNQPiWTzn1tYBrGfy2h3PUi76cQmpe9BDs8GR5JhtT4iFEgkPDKz8HVAuhcxLWS32EQ yBAQ== X-Gm-Message-State: ALoCoQme90DE6eaoo4CcZ7o8xFugevOI4GkH/pcovmUvDOnEv6lJlFWRLP1jZVT5atfh/KUpQ4VODK+UrX49jGpN3Ex0AICtbw== X-Received: by 10.202.55.67 with SMTP id e64mr11008738oia.23.1449782369855; Thu, 10 Dec 2015 13:19:29 -0800 (PST) Received: from localhost.localdomain ([198.137.200.11]) by smtp.gmail.com with ESMTPSA id gi5sm6714204obb.6.2015.12.10.13.19.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Dec 2015 13:19:29 -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 v2 2/2] i2c:dw: Add APM X-Gene ACPI I2C device support Date: Thu, 10 Dec 2015 14:19:17 -0700 Message-Id: <1449782357-22982-3-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1449782357-22982-1-git-send-email-lho@apm.com> References: <1449782357-22982-1-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151210_131950_966187_243DB7BE X-CRM114-Status: GOOD ( 12.03 ) 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);