From patchwork Tue Sep 25 09:02:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 147405 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp471896lji; Tue, 25 Sep 2018 02:03:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV60hXz9ng06xSOsPG8+BYstCK0Ub8Dao1qn1Ms1TVv1vZQNfDF+oAmtZ4Pp3t3W9oZKQ55LH X-Received: by 2002:a17:902:7244:: with SMTP id c4-v6mr2645349pll.339.1537866214580; Tue, 25 Sep 2018 02:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537866214; cv=none; d=google.com; s=arc-20160816; b=coWujpfe+w4dWqU9JZmtm9lLvOFvwPN9El42ZGjnRuUjm1qzILRUNwan8kVQKq1xQf jYCDt9rgIUNwe6vs7kUMmCKDqP4Ao+ZGhIWq95OrQlkGpESASuxKS2YvpE8kpb+XlY/u k8gVFi682XoE25QF9FjIU0BU1IofT+ccPRuNiRak/ie0iyIG9Nq82l+P6HrsQ+UPj0tm v8AS9uBeUSz0U93nsvL/5zCplht7yBSPLD6O06/uaRebBjaCjy1achvuKwAjarFjH9eH oIZu3GT08VLrZtJ+uwXkA6bF7a46XYsY/LB0nueiTUV8kwOsP5yLcD+uDBd278zhpH33 j17w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=03mTYERafDqarsYCV3hfz4wlnFf+CbGZWEgUdjGls6k=; b=ga8Bf2KphIlYSJOiGCuqrkKTCVGk+LK4KExi9QRzHhGytuuUM/fVCFerq0+9QUj5Hk VfQAaBg9KeHOqlJ7+XDtq+vD6F6Dg8gVckN7x6lizCcPfn581oZH5b+GiPv0tq9RKHmS 5zdSmBimF3yTrPUdvUH2mafRlLKvuKgDmi0CYe2MmXpc/ssDAbGV44wA0dq85RCouMUr HECc8C0dsw+mwQUcoS8nrCltmBja5tNZCNx3HdBzWbAC0Iz88INw4snjxe4XsvzVYDpu N3b9fcmybnStBw7C2XkfIhdFMgJUl2yMoGLU/aXvNKRtXBbxAUt7LJkNknQP5R5NyBfw r86g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N4tQTpKj; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1-v6si1887621plz.449.2018.09.25.02.03.34; Tue, 25 Sep 2018 02:03:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N4tQTpKj; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbeIYPKF (ORCPT + 10 others); Tue, 25 Sep 2018 11:10:05 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37546 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727309AbeIYPKF (ORCPT ); Tue, 25 Sep 2018 11:10:05 -0400 Received: by mail-wr1-f67.google.com with SMTP id u12-v6so22435311wrr.4 for ; Tue, 25 Sep 2018 02:03:33 -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; bh=03mTYERafDqarsYCV3hfz4wlnFf+CbGZWEgUdjGls6k=; b=N4tQTpKjaPVrQ5EuYF9NBVhnvdphpnWRWaBqe3LTEId3ePsmTnv0+BUqC3sRxJGJO+ FXTOxupZ6TAK9v96nX6owlGqLzybbqJkX2/WNRq+YNl+FPUDEPgmjDKGd8FIBHkUpouI hggeDtlNHZnyZAh3+S015tCoSlJcFVjT4j3ZE= 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; bh=03mTYERafDqarsYCV3hfz4wlnFf+CbGZWEgUdjGls6k=; b=t74j/m1lMkve4hsnmNRG9/Lb27IbjELx0qfkP4tk3ZZbyKgmH26YE8p64pe0tMGx+x 3pwogweVMW+0vvs+L1oBCRWlTiayOVWZVdYrecSaaoIwpaIdjpwR2aDdlvS/HOudOel5 3YWmzOiHfwfcTVTM2ptr7TFEjoMkYlBsipO8DMpYYUgwtXsAUjaFjGnfGpX1QHsNhSN8 9DrEpxk/GyiZi78M3YKr97gWZSMbWaQ9GwpsFzPjc9C33/r8bC+eBo3Am/jXUWLxSqKt QILsHTU/SU2XAsMsy3USN83cO7cD6yA88OkPbgl4y57Jx1+JryIb1CydbdrwVLOxl8gr iVOw== X-Gm-Message-State: ABuFfohMweopdaqDTnfvOB1RMjmsYKINnMw1R0ZRc1L9/zAsJKki4wk4 An4PpiN2HxwJDt0e+G/2xdGPnw== X-Received: by 2002:adf:a925:: with SMTP id u34-v6mr9761wrc.175.1537866212172; Tue, 25 Sep 2018 02:03:32 -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.03.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Sep 2018 02:03:24 -0700 (PDT) From: Daniel Lezcano To: edubezval@gmail.com Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, leo.yan@linaro.org Subject: [PATCH 00/14] thermal/drivers/hi3660: Dual cluster sensors support Date: Tue, 25 Sep 2018 11:02:58 +0200 Message-Id: <1537866192-12320-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch series provides the changes to support the dual clusters sensor on the hikey960 board. Most of the patches set the scene for the addition of other sensors which comes at the end of the series. Daniel Lezcano (14): thermal/drivers/hisi: Change the platform data pointer to sensor ops thermal/drivers/hisi: Change the driver to be sensor oriented thermal/drivers/hisi: Set the thermal zone private data to the sensor pointer thermal/drivers/hisi: Factor out the probe functions thermal/drivers/hisi: Prepare to support multiple sensors thermal/drivers/hisi: Add multiple sensors support thermal/drivers/hisi: Replace macro name with relevant sensor location ARM64: dts: hisilicon: Add tsensor interrupt name thermal/drivers/hisi: Use platform_get_irq_byname ARM64: dts: hisilicon: Add interrupt names for the tsensors thermal/drivers/hisi: Remove pointless irq field thermal/drivers/hisi: Add more sensors channel ARM64: dts: hisilicon: Add dual clusters thermal zones for hi3660 thermal/drivers/hisi: Add the dual clusters sensors for hi3660 .../bindings/thermal/hisilicon-thermal.txt | 9 +- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 60 +++-- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 + drivers/thermal/hisi_thermal.c | 249 ++++++++++++--------- 4 files changed, 204 insertions(+), 115 deletions(-) -- 2.7.4