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: 7822391 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 67B22BEEE1 for ; Thu, 10 Dec 2015 21:19:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8C18F202EC for ; Thu, 10 Dec 2015 21:19:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4F1A205DD for ; Thu, 10 Dec 2015 21:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752544AbbLJVTb (ORCPT ); Thu, 10 Dec 2015 16:19:31 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:34140 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbbLJVTa (ORCPT ); Thu, 10 Dec 2015 16:19:30 -0500 Received: by oigl9 with SMTP id l9so14090352oig.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=GOrT83UPs1L+8Sl1WNHlvMBis4n4Pisg2jtwmb8Pbmuz4as998YEi8P/7Zl3tIM0s8 x+Ttw1nSmk0SJPSY7bFC8+t2Rngfe/yrhzyrVWuqutiibeAnLVSm6uCfq/il1SdqEc5N ffkUGIyHVYQBR3U0XbNT80qpAZJWJJeH6Ebq0cfNhBaLddVxjYz7JQe2dqhUfOQNFV7i oXLreHSFnjoa9JvyHhB99jFsc94igwlTJVdOHxHL4vwTPqtbFAIs605qBxRZnnlLEfdt 32UitNEkDPsLAog0foO4qPGxplJFSTrB97a2AqY5wblZ+7JPJxoq13a6rVYUccSLRjO6 4cow== X-Gm-Message-State: ALoCoQkiz7/7MOMCbADX5UTjbJUtHGBXm/glzEJ6f69P4KdhSbQVFRvpMvaGzFP2Qg+GAFtIzQOfK7fx1UsS2MtfMp3e4ht4PA== 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 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 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> 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=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);