From patchwork Tue Sep 25 09:03:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 10613727 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 1276D112B for ; Tue, 25 Sep 2018 09:04:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02A8A2836F for ; Tue, 25 Sep 2018 09:04:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB2BC29307; Tue, 25 Sep 2018 09:04:47 +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 608962836F for ; Tue, 25 Sep 2018 09:04:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726201AbeIYPLS (ORCPT ); Tue, 25 Sep 2018 11:11:18 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39791 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbeIYPLS (ORCPT ); Tue, 25 Sep 2018 11:11:18 -0400 Received: by mail-wr1-f66.google.com with SMTP id s14-v6so22456529wrw.6 for ; Tue, 25 Sep 2018 02:04:45 -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=FjybuiDBSw9NEcO9lVDeNrywfT+itTu22LbecoDEATI=; b=bZX5Iqq+b+ebjBjrTvEni6eoWVpbN44VEylr0iEpPtrISQsPBJ+t86e/AERKMVtKr6 yNfuI/lHspqvFYZmN7WAOvBdg53P8O63wJXVxSGHKCBMArTB/hDeflvQ7F6tmQiIzQMu 8qMgf3qWrKBcZoGHdlM48fT9x61DQ8wq9Xqq4= 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=FjybuiDBSw9NEcO9lVDeNrywfT+itTu22LbecoDEATI=; b=dr7/iAGVZbtF7qPiMaY+PyUfInLhCUZdJMfLZx9+kycW01VwfLd2K3Hh3n+t4RsJRM 7533+ePf3qkwmFCVHOdiYVAfeQlU1MbtS6u34auJG1mbQ2Cs9TTerUdwZfLqy4Zd++uK 0hJzift+FjLsg5zNZ+sbJpS3qmRrirNBy6+9f84eYZbXeO4I9vGcjJu+THdCuitUJ7wB qlGQ0N7r8/XFbf4J1XYNpMiEq+w6sY5tMWjKzJT/PM9EG5vC7FeA8fsCq0qCf67mpoCQ MxgX7o4m8NBcqRJVsSvglz6QgJrxDG7ukI/yANuUbcPebKa4FT4zcps8lyD+tCWxAvz2 d+cg== X-Gm-Message-State: ABuFfogo3ObWm8b/I6dHosipxdbfo8/s1jaa6gL7atQDK98GZb9Lldkw L/vU7cZdvOtP4LIqGugD8Cqcow== X-Google-Smtp-Source: ACcGV60c+zvgyXqfFi9kBVufYxmfYw6GVgvZbVU6AhOdKAbmf4fY/l0kJbHz3HlEDhZTke6Ba5mUtw== X-Received: by 2002:adf:fdca:: with SMTP id i10-v6mr37238wrs.276.1537866284739; Tue, 25 Sep 2018 02:04:44 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Sep 2018 02:04:36 -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, Zhang Rui , Rob Herring , Mark Rutland , Wei Xu , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/HISILICON SOC SUPPORT) Subject: [PATCH 10/14] ARM64: dts: hisilicon: Add interrupt names for the tsensors Date: Tue, 25 Sep 2018 11:03:08 +0200 Message-Id: <1537866192-12320-11-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: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the missing interrupts for the temperature sensors as well as their names. Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt | 8 ++++++-- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt b/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt index 3edfae3..4cb8add 100644 --- a/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt @@ -29,7 +29,11 @@ for Hi3660: tsensor: tsensor@fff30000 { compatible = "hisilicon,hi3660-tsensor"; reg = <0x0 0xfff30000 0x0 0x1000>; - interrupts = ; - interrupt-names = "tsensor_a73"; + interrupts = , + , + , + ; + interrupt-names = "tsensor_a73", "tsensor_a53", + "tsensor_g3d", "tsensor_modem"; #thermal-sensor-cells = <1>; }; diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index bf8a479..dd398cb 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -1080,8 +1080,12 @@ tsensor: tsensor@fff30000 { compatible = "hisilicon,hi3660-tsensor"; reg = <0x0 0xfff30000 0x0 0x1000>; - interrupts = ; - interrupt-names = "tsensor_a73"; + interrupts = , + , + , + ; + interrupt-names = "tsensor_a73", "tsensor_a53", + "tsensor_g3d", "tsensor_modem"; #thermal-sensor-cells = <1>; };