Message ID | 1537866192-12320-13-git-send-email-daniel.lezcano@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Eduardo Valentin |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F30F15E8 for <patchwork-linux-pm@patchwork.kernel.org>; Tue, 25 Sep 2018 09:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8227B2836F for <patchwork-linux-pm@patchwork.kernel.org>; Tue, 25 Sep 2018 09:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 761B129307; Tue, 25 Sep 2018 09:05:25 +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=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI 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 A1B912836F for <patchwork-linux-pm@patchwork.kernel.org>; Tue, 25 Sep 2018 09:05:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727570AbeIYPLa (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Tue, 25 Sep 2018 11:11:30 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43698 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728892AbeIYPL3 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Tue, 25 Sep 2018 11:11:29 -0400 Received: by mail-wr1-f66.google.com with SMTP id z14-v6so4966657wrs.10 for <linux-pm@vger.kernel.org>; Tue, 25 Sep 2018 02:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xaKoq2Z5i+AH80JWe8GKSoRR6ISgaXZtO2Gfftl5H7k=; b=ewS1y75l1+/fHRqN/ts2a8WT3bknw2zaVcpHBeb2sONr4psMZ1KR2jC/1E204J2bpL S/QO/x51Ws1NGos9hHrjUx4/n0dJa3KuNN6u68uOALxcth+qHAPDFFfKN19QejfUDfn0 L6QMSU13bwzIrbYBsKJFjqM1OQ01k67v/XA8o= 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=xaKoq2Z5i+AH80JWe8GKSoRR6ISgaXZtO2Gfftl5H7k=; b=T9RVZ26rGw2BRo+Ls5oF+p0efMFLlYaGfrMDUXN1jiN6h37C0HySyXsbXvErGM6EWR x/WZGa1P41I4fZv+ce9Vx9/58MA79UXnM2K1324VkCEdDSwaSZ61F7pLw7g1AGTO8HLM bYYfdb2LxfltOAdHLyT3ily+6hN04VqZ0108Byfet8tNKkC4L6FA8DD7XsNvZC/bDwmF dNH3CTfgDBFEsUR5OGoS3E+L2QscXqfAm/sgvRGFAz0Wju/5AT88CDnv+9W0pNQRE0BK NZCK2y7fARwWiVEnACZnfdpVVUjXWOyarhzObh62PHS2bb9W3oJ1wZwhf83Wd7eK6pmS Gxbg== X-Gm-Message-State: ABuFfoj4/6/Ie36WXCkG+KIDksg2oF76+RT0Tt8e6mRnz7Y0q+RDMhEz pCbXwulInwEK/m6c7uXwvmmBww== X-Google-Smtp-Source: ACcGV60DSO+4ufxrVn78qtJyKBJTRYz+N5GtL2nJ+l2UzA0ZVfx8IWyPHlvtx9l7kCRbqF7xM4YsVw== X-Received: by 2002:adf:a599:: with SMTP id g25-v6mr90065wrc.88.1537866295905; Tue, 25 Sep 2018 02:04:55 -0700 (PDT) Received: from localhost.localdomain (251.150.136.77.rev.sfr.net. [77.136.150.251]) by smtp.gmail.com with ESMTPSA id y206-v6sm1523828wmg.14.2018.09.25.02.04.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Sep 2018 02:04:55 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: edubezval@gmail.com Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, leo.yan@linaro.org, Zhang Rui <rui.zhang@intel.com> Subject: [PATCH 12/14] thermal/drivers/hisi: Add more sensors channel Date: Tue, 25 Sep 2018 11:03:10 +0200 Message-Id: <1537866192-12320-13-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537866192-12320-1-git-send-email-daniel.lezcano@linaro.org> References: <1537866192-12320-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
thermal/drivers/hi3660: Dual cluster sensors support
|
expand
|
diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c index 87d8a13..ba89cb9 100644 --- a/drivers/thermal/hisi_thermal.c +++ b/drivers/thermal/hisi_thermal.c @@ -56,7 +56,12 @@ #define HI3660_TEMP_LAG (4000) #define HI6220_CLUSTER0_SENSOR 2 +#define HI6220_CLUSTER1_SENSOR 1 + +#define HI3660_LITTLE_SENSOR 0 #define HI3660_BIG_SENSOR 1 +#define HI3660_G3D_SENSOR 2 +#define HI3660_MODEM_SENSOR 3 struct hisi_thermal_data;
Add the sensor channels id for the little, g3d and modem. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- drivers/thermal/hisi_thermal.c | 5 +++++ 1 file changed, 5 insertions(+)