Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2351879imj; Mon, 18 Feb 2019 04:37:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IZSkmv3zAcCqSAkTSEmaKxZOWNAK8KmoiCg0F1bNm4r1m1V2cy8l5DQRPkwpzLXCIw8t/uD X-Received: by 2002:a17:902:a7:: with SMTP id a36mr25067080pla.295.1550493474566; Mon, 18 Feb 2019 04:37:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493474; cv=none; d=google.com; s=arc-20160816; b=Ob6KrYsXH3a6rm9TlpU7+X9GA63HuzgafelQDBlHP7sfVK4gP4e0nAb+jop8axfX+W s/LyEO5UsIWfcXlwvp5XQxpn246qvtLQiOdUxJkXXItK10gRW+fDSfanuttEo35OMNmg zLFEBNn2NOEKg7wUi39MXIgoe39ndweMDHlns5JzNqTR04NM8MOGoxzGd1I5IvpSQgnl z1Fbbw+IXUsP2KZ+2WzGRtuzvRdPM2FomnWAxq0EmGQnvJiq/Bh2CkPhbJWjhlXbbFm9 ImwZLpYzbu3+R2dpYkOxEiX9Erhpn+AN29PNX6cyHpnUrNG0mpMtoQg5m1TfKXnQ4BsY fOBA== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=Vw88Hb0fhB5MqLQbvt/vfnBzTdekfYkl4+E7vaMTMeN87lzp8MZ0d+g6omq4sGrwVu YZo0Q03lGCO42yk1dubtMJdejEGu7RCJ1KnwOhMJZ1h9s3ljwo8AE89V2/IH1Z74gwl5 KhqhFTUcvLWAGYbNFKSharEWuLSovWvKN7vait/GUjuW9fUZWXWgNvFDL2Xe0ErdOsC+ Qr9q1TNlDs1ucrCEWHka6B5M3wmt7PL8IX7keBq3tj1Ic6oE6JpXnqJvdnfQI5WCOVC9 6rRl14TBXMZUPNTx9soxDZWKibkffLrt/9y660gfhFZQlXL3O9JyKh5tiBdxwudaGpyH 2WrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGEc4QEx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 y16si5286904pll.83.2019.02.18.04.37.38; Mon, 18 Feb 2019 04:37:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=eGEc4QEx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730978AbfBRMg1 (ORCPT + 99 others); Mon, 18 Feb 2019 07:36:27 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44792 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730967AbfBRMg0 (ORCPT ); Mon, 18 Feb 2019 07:36:26 -0500 Received: by mail-wr1-f66.google.com with SMTP id w2so3565262wrt.11 for ; Mon, 18 Feb 2019 04:36:25 -0800 (PST) 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 :in-reply-to:references; bh=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=eGEc4QExCkJp0UwEHtuBBvbhlsO3OgbyxZSfLvym0jqGn78n6PlUJHNzp1+YzHhMi1 2aOmXquTExBGw+w6ImLDQubILng9lOzlL45Db4sJr1qhSw2cqqLbWy+H6kfg9U/FDDh1 Ffg6CMXKLkpuaYfvG+z3EtzvTM62QCphywJoxhNseLcZ1HAg4I7TwEvAguPWv/9AUTph +OekJPnuGaFd+IXwvvBkG0dvGrPLoa7JG7VNChH6GPKsaoD7yVtn0xasHUYFUHdbcmHe cVYwAYs1HCQZF2EoSXteN/8iH9UCBadyoZkZz9o2zo5P1fyrCOlmuvUwz++C6jO6QlXW 6dkA== 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:in-reply-to:references; bh=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=d+FfHnJNphwUAWyWWGokRPm5MNvpEr1PR7Cx8HJoKlKJnHV2AzhOuvLrVoXMglZeCm KspTqriw225OTKH2bePtyBXuwGuDQorg4ocPRAfZcMjj0AfBIyLRieX7dHFVxSCOuZM2 KWHe5I0IUvt1Ow/lgYssnSarG2ypJ09HdpwdqM7gAQDSMPL3Kkv0VB/mtftVz7AO6BA7 lzrQ1hesjxbI8LgeKgZ8m4zXeV9G78vuJx0umWWMPu3lxyFzfURUk/2uC1ImDLpGzIB8 PQ6aElwRy1CH61m182oQzSZTokmtkGBEvmuHxuozg1Y6B1HDCD5pO6n94Grcwbvn1DFv A4DQ== X-Gm-Message-State: AHQUAuZuuedxtiquHdToO/X+x368mAldGjZDf2VSd7HW7vwBbGjziI9H 5BtXbOYdGqcSPQ0RC3LqYVUSMg1rQ2A= X-Received: by 2002:adf:eb90:: with SMTP id t16mr15906905wrn.324.1550493384509; Mon, 18 Feb 2019 04:36:24 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id u8sm1209194wrr.33.2019.02.18.04.36.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:24 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v1 08/12] arm64: dts: msm8998: thermal: Add temperature sensors near major peripherals Date: Mon, 18 Feb 2019 18:05:22 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org msm8998 has a total of 22 temperature sensors. Populate DT with information about them. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 63 +++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index dc641523fcbd..26a493af0866 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -513,6 +513,69 @@ thermal-sensors = <&tsens0 13>; }; + + cluster0-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 5>; + }; + + cluster1-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 6>; + }; + + cluster1-l2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 11>; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 1>; + }; + + mem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 2>; + }; + + wlan-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 3>; + }; + + q6-dsp-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 4>; + }; + + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 5>; + }; + + multimedia-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 6>; + }; }; timer { -- 2.17.1