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: 7793001 Return-Path: X-Original-To: patchwork-linux-acpi@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 683FB9F350 for ; Tue, 8 Dec 2015 00:16:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50CCB2056E for ; Tue, 8 Dec 2015 00:16:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BCE520570 for ; Tue, 8 Dec 2015 00:16:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755430AbbLHAQa (ORCPT ); Mon, 7 Dec 2015 19:16:30 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33111 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755109AbbLHAQ3 (ORCPT ); Mon, 7 Dec 2015 19:16:29 -0500 Received: by pabur14 with SMTP id ur14so2095752pab.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=jFTrBIoQPs1aOyqefTUN+fFYE8mJ3vJ78WHLThF/HsX67mtcUwEgwIM/xkZJjVpIGo xm4bI6KQ9ZMlBTxHKhdzCDNSLFW8z+DK41AUjaZfLaA0vNkpAlW3603L+QJDCUrJpoz0 hHDZ5YSKhoR6HBOXm5Txytwd2ST7HTfMwlRDRLFgU0WeW5gbgVS7R2ddmsxEcPDDBmAK 7t1sXI7nGtll5swplI04Fevs5PmzDbP13mScWgtzGDtC445hY93M9jwsmYmKMR1Anww8 zQkIdGcam71cCWwLxiQFGFUWCLcJp/Zdqm7xxV2N8xZyuU4shN3O9nXAqJ96JkegHcqe /mhQ== X-Gm-Message-State: ALoCoQkxhlVMwdPMX8rYKHoxjL8KDOc9dtfiUgY46zbohK5tKaw9P57KNoq1XbPZj/XZZGFPKyQ/8iVmA9gP9NUKnZzhLcUuyw== 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 Cc: linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jcm@redhat.com, patches@apm.com, Loc Ho 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> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable 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);