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: 10613705 Return-Path: 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 3769E112B for ; Tue, 25 Sep 2018 09:03:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2989F2836F for ; Tue, 25 Sep 2018 09:03:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D58029307; Tue, 25 Sep 2018 09:03:35 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 A34522836F for ; Tue, 25 Sep 2018 09:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbeIYPKF (ORCPT ); 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-Google-Smtp-Source: ACcGV62qmbSV7z2Csd56M3ixjBh/M2eqgmuy2QpgAOkrEHaKQggrDIBM7pDtA3oyPp5yN2ZQqu7EYQ== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-)