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: 147415 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp473123lji; Tue, 25 Sep 2018 02:04:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV62BGM4H8hEdKlnjYZimx1c51nJYKp7IIIsDoBzVAOrDKikobhEq3XgcTrBhRZy0GFkidlPr X-Received: by 2002:a63:e5e:: with SMTP id 30-v6mr90662pgo.320.1537866290058; Tue, 25 Sep 2018 02:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537866290; cv=none; d=google.com; s=arc-20160816; b=os2C+VLyng1FUURBEJVWEUqgHQhNr0C8AAYZ0IfuOhQjXjNFlSp2IDCvdcN/XJ6BT+ OQVKTyn8ek4uCBd8+A0hdkWCiPN2Vg6ELoY7EHsphPUJFVXFd+CtiQApkMJ9CkM1PPhk OI/DV/+r6fOVD0E9Q7YdjkPli4YXYmk8kHXB9WYg0ZV0HvwEfs4GUUUOerHKXgpizbID ywB1hbu4IwXX4xwhLI9b8hG30ZyO/6pl8UBas6+db3D1dUcmJiu8vWtx9t6JAKa82iBS qi2GFPa1GIYqTbrmdogYUiXEyKjCNR5fMDtBc7+tckTYm611aJrkTm0TkTy2hZC9Rizk QE4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=FjybuiDBSw9NEcO9lVDeNrywfT+itTu22LbecoDEATI=; b=o5/vrp2+gdXWqxY6hnVoV/D2uKZGb4FcylZ6CX/4DJg4QtKB2zHtZlJZZyGuiPYfbZ 4JD2ouNQrDqTrxKOeRBGfMYCk0nJ7uUU0KDDiH65xzbou/2nC/uhIjEvvvyxL2P1YclO rTkXfxY0SzqglVd5mkM29b4Q7Er5Bc7/SIIThiEDeAAJ3uJ8XkNmNT5oXRC2e+4Vsnz6 HxEcicaZIdlaBoIw8M9F9a6OgBVjsnaKoZp3XU36Oqk2T/tHTh+IO++qjWvlrdE9P2T8 4R3c0mIUmMyd10SH2RRdqrolhQX6yzNgkWt1UwZh1rjLh57T2jMDrRhUXw+G3AJducQp 7oHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bZX5Iqq+; 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 b124-v6si1888940pgc.45.2018.09.25.02.04.49; Tue, 25 Sep 2018 02:04:50 -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=bZX5Iqq+; 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 S1726201AbeIYPLS (ORCPT + 10 others); 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-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 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(-) -- 2.7.4 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>; };