From patchwork Sun Sep 25 16:13:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12988026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9527EC6FA82 for ; Sun, 25 Sep 2022 16:13:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbiIYQNn (ORCPT ); Sun, 25 Sep 2022 12:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232204AbiIYQNk (ORCPT ); Sun, 25 Sep 2022 12:13:40 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6192C66A; Sun, 25 Sep 2022 09:13:36 -0700 (PDT) Received: from g550jk.. (2a02-8388-6582-fe80-0000-0000-0000-0006.cable.dynamic.v6.surfer.at [IPv6:2a02:8388:6582:fe80::6]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 3A6F7C70AF; Sun, 25 Sep 2022 16:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1664122413; bh=erdiCxZ8T7FcIaqDJLtAw5Fr6IV0GHUaZke+uh6Zg9w=; h=From:To:Cc:Subject:Date; b=umPK3Y7b90BTp7DuHokZemgcqwyA+SZw18HoeXmQelT/Khj/bOJc1VXvwzJ4X69kg oCtJ1nHp2TowLTCNjl/s3qZSvMhvTvU7+SLkVDqCs3uhsCJudaj20He2uDVx2qN5eI 1NxIeUtHdaDBC3jhLHYxcMBX2wehV7TF0bwiK3MU= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: qcom: fix msm8974 tsens compatible Date: Sun, 25 Sep 2022 18:13:16 +0200 Message-Id: <20220925161317.76356-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for msm8974. Add it to fix the warning. Signed-off-by: Luca Weiss Reviewed-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index f2fb7c975af8..defc0602d750 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi @@ -258,7 +258,7 @@ tsens_backup: backup@440 { }; tsens: thermal-sensor@fc4a8000 { - compatible = "qcom,msm8974-tsens"; + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; reg = <0xfc4a9000 0x1000>, /* TM */ <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 7a9be0acf3f5..cf8af99a4864 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1116,7 +1116,7 @@ cnoc: interconnect@fc480000 { }; tsens: thermal-sensor@fc4a9000 { - compatible = "qcom,msm8974-tsens"; + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; reg = <0xfc4a9000 0x1000>, /* TM */ <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; From patchwork Sun Sep 25 16:13:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12988027 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00595C04A95 for ; Sun, 25 Sep 2022 16:14:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231970AbiIYQOH (ORCPT ); Sun, 25 Sep 2022 12:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231564AbiIYQOG (ORCPT ); Sun, 25 Sep 2022 12:14:06 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7D52C108; Sun, 25 Sep 2022 09:14:05 -0700 (PDT) Received: from g550jk.. (2a02-8388-6582-fe80-0000-0000-0000-0006.cable.dynamic.v6.surfer.at [IPv6:2a02:8388:6582:fe80::6]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 0EBBEC7939; Sun, 25 Sep 2022 16:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1664122414; bh=zFKxfd0dMlvrCiDZJhyrqFzYOUW3pACNlLwaXhJ5hy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=FIeeBEHEtD1qcZTyHI8XaJZrSDB/6+Z5UZ4QJBjqALJfn3xj5wR15ESdvuWAoRm0O v7kG0N+mRjtdQPhgO1D7PQphik/qSOG+E63Zwls7Tf1qr6wmGSh0gH+cvKN3iGwHFo 3MSMmWq3qJWZogo3pJ0m8tZBvp65XKGAbjy1EoSc= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: qcom: apq8084: add tsens interrupt Date: Sun, 25 Sep 2022 18:13:17 +0200 Message-Id: <20220925161317.76356-2-luca@z3ntu.xyz> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220925161317.76356-1-luca@z3ntu.xyz> References: <20220925161317.76356-1-luca@z3ntu.xyz> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the interrupt for tsens, based on the information from downstream msm-3.4 dts. Signed-off-by: Luca Weiss Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-apq8084.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index defc0602d750..593672f827ed 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi @@ -264,6 +264,8 @@ tsens: thermal-sensor@fc4a8000 { nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #qcom,sensors = <11>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; timer@f9020000 {