From patchwork Thu Sep 21 17:17:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9964571 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0263E600C5 for ; Thu, 21 Sep 2017 17:21:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCC2C294C7 for ; Thu, 21 Sep 2017 17:21:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D167C29604; Thu, 21 Sep 2017 17:21:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C2AE294C7 for ; Thu, 21 Sep 2017 17:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753097AbdIURVJ (ORCPT ); Thu, 21 Sep 2017 13:21:09 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:50730 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbdIURUi (ORCPT ); Thu, 21 Sep 2017 13:20:38 -0400 Received: by mail-pg0-f53.google.com with SMTP id p5so3867190pgn.7 for ; Thu, 21 Sep 2017 10:20:38 -0700 (PDT) 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=ym05y90vo9L+2JjosVksou5gtrHcyReJ0CBPh2MPmN0=; b=O048mKSbbdCskoRtOA4HH8S/jyVRMkBAAongAhAJPlG0fm9HEDlTv+83ryhHy7WXpU 3faXB9iRLy/+rtXJa5FsuLqAB3PnCw9OHUa2YHCHLILB2RLGP0EVVFwq6AecBiYbRi3i 4R86f9kZZ0uGkKOzxNhOjXvw8P+AU4qnPDcvM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ym05y90vo9L+2JjosVksou5gtrHcyReJ0CBPh2MPmN0=; b=Y/TGw+wc+WtGlJE8Tlg3kHsr5+HPKecslAngDM5qIcnAp+uN/TDjmXGTT6hQ8baARu y9RYjxqlRwOTCjkqCEA73bQSkyi+Hxu+SoXISlti5blnCDhBXcZIq3l/3mwKzZ9e4OMI QVx7lHAmlXOf9DXMxIGeUQw3A8NLlThKWOFcVO0TqApJ8k/HkGmWW27HEAziBOx83epw btbyY2TraBSET5Dis+wFMa0dmAJw2ayKrxgMJp6aPHolSIsuPM5M0rzxkJDkC2BHdJzt 0XwCNmHoGjp6vOjnFZU3EfUA1PoRZ8hOFhFajWbV3drR/Gl+bPaPBM7xnYwISaYpWS1n 6aDg== X-Gm-Message-State: AHPjjUguZmAK+VdDuvuvEv5X5SKckC94AjZcQ3uA3Jp00NyPRyKqAU7d c0IMu2N4Wz4n0fvexKJeEgqB4g== X-Google-Smtp-Source: AOwi7QAD97AIqdreyxn7ihgvKiLt2qrHTQ96NPt1OW6pSxvWyO8m8A0jz0IWq3uItzN/+hf0/Ptktw== X-Received: by 10.99.126.87 with SMTP id o23mr6300450pgn.277.1506014437652; Thu, 21 Sep 2017 10:20:37 -0700 (PDT) Received: from hotran_localhost.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id y74sm4004935pfa.164.2017.09.21.10.20.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 10:20:36 -0700 (PDT) From: Hoan Tran To: Guenter Roeck , Jean Delvare Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Itaru Kitayama , lho@apm.com, kdinh@apm.com, patches@apm.com, Hoan Tran Subject: [PATCH 1/2] hwmon: xgene: Support hwmon v2 Date: Thu, 21 Sep 2017 10:17:09 -0700 Message-Id: <1506014230-13933-2-git-send-email-hotran@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506014230-13933-1-git-send-email-hotran@apm.com> References: <1506014230-13933-1-git-send-email-hotran@apm.com> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch supports xgene-hwmon v2 which uses the non-cachable memory as the PCC shared memory. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c index 9c0dbb8..5cd327e 100644 --- a/drivers/hwmon/xgene-hwmon.c +++ b/drivers/hwmon/xgene-hwmon.c @@ -761,6 +761,7 @@ static int xgene_hwmon_remove(struct platform_device *pdev) #ifdef CONFIG_ACPI static const struct acpi_device_id xgene_hwmon_acpi_match[] = { {"APMC0D29", 0}, + {"APMC0D8A", 0}, {}, }; MODULE_DEVICE_TABLE(acpi, xgene_hwmon_acpi_match);