Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1372001ybb; Fri, 29 Mar 2019 03:14:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuCEjDWFUPdOQAV4UZsYgQwIf5OiJ2V8i+tsO7IVuuyMw6BFXDIlbPlDLeu5hr/qqjml4j X-Received: by 2002:a63:5c43:: with SMTP id n3mr44326891pgm.163.1553854477483; Fri, 29 Mar 2019 03:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854477; cv=none; d=google.com; s=arc-20160816; b=LJ+BGyF8/RVc0MGF1hu1Op46gu6Lbp3iZES1zauoyU/CeGybrfEJJcrY98ITmqpWIG Vh6LyMsCxjB/yDAc99C4AlEU3DcaW/YNQT8bBsduAlTEOBYk74d6YjRFF71zJjYPyysy I/c15Ll5g76cGKcfbuvKsh2z8vCVimU0sG0KFZysssJdrtiR+9wLgc+OfX4PnbAENyLe IXBI+WuCv5Dy4DvibZIgmQS3be4MDPN0nTMPvZwpLENsgtrgdvp1P6Wu+oftE0vl7o8I dovNrRoQ6fh3opPGyEyY/bZ+SGGIhc/NM1qXuSoAT0hgu4sJUvrCYiIZPkpYY7Mv9F7X u/gg== 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=4WP7vJpVKRp4mAy2lLrKwHicvrn2dHrj30KYt06Ejqg=; b=bcArRAFi1rg7j3rfuUYRrTzYqqdUDoyrGAGQnPnQNdq7fMT+v/aZs4RWax1FDPJTaX 2M9iTWOpqgL1XVJQiv6CkqLxpRfs9/GGP2ctKDOzJL8uuREnhYMj52BQ7WoGFixbg1q3 3WXTplaT/kpc79Jcu/k7tGb6atw3HsX8ibkcppheTcxKUIvjifIaWJGgHUk0XErYRgG/ 8YcjNDXaV+Y0AeA1HlLBXHF4NZg9+JODYp4zLhs0kvjC3lWnygeiJL8Z0vjNvNNt0UEp /GJBc7pX66Crwx6i5gAZVi/qFkljWYxv+kMT1MYTaibjVzY0sSBUff12VrMk3/l4a7X8 SBgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HwfvFzt8; 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 w17si1586932pll.30.2019.03.29.03.14.22; Fri, 29 Mar 2019 03:14:37 -0700 (PDT) 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=HwfvFzt8; 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 S1729222AbfC2KNU (ORCPT + 99 others); Fri, 29 Mar 2019 06:13:20 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35139 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729206AbfC2KNU (ORCPT ); Fri, 29 Mar 2019 06:13:20 -0400 Received: by mail-wr1-f66.google.com with SMTP id w1so1887252wrp.2 for ; Fri, 29 Mar 2019 03:13:18 -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 :in-reply-to:references; bh=4WP7vJpVKRp4mAy2lLrKwHicvrn2dHrj30KYt06Ejqg=; b=HwfvFzt8WzHIRDTIuZ5svJlx/Vl9TO7GcKcruimTKRHJmnsLIZ69awWsY91wPokyYV HR7XGUH5V2ih3tAzX9UmYrB+yWh1bJen/kGRRVHuV1vP31iZIihdwOnRlsPlgPARDwSg YAaKXKXCBRLdxkr6Yvnb9drh9AEF5NR2yrMUUQZZQ86IMnWCE9a9qYS1Q37t5KfpDJ2R oj3pMR7ACboa4xPsVTQvKqVPRF8jEqWInoVWClXup7rHXEJC/z3AocRvGHRHOmpE8O5b t+7EjQUCmwAQim/YU2s0Yr8do7+e5n0VqoYy9M87M8AmEPEMBEcqJk5BuNtwmQLX6mUJ 8muQ== 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=4WP7vJpVKRp4mAy2lLrKwHicvrn2dHrj30KYt06Ejqg=; b=mKx41923JsLirtrO0nVbplODx0DuWQ+0/VyRANyCZPpimOtleNMU9KQ5YH1nUvumWU OrxbXhuDMXmHV8agBUi1hKepwSI2Dc4YU25hCV6K8FJocX8kjbx5fyd6KKLQB+VMKgHd EW6dtGdF1+9xn1pyzNDEAMIFuLCKQ7cFXgD4wMbN4NtceSMb/rVHZrGhnMelnQEYYArn yir0Y94PYaUyf2fyCYqwyG/UZQyEZAViFbiQAtiSCGYqvqs2an2huoM/wLGIZY6YKq9Y T3LARx7KZMBx7WOvI5V4IuDhZ7XpbEVuO7IxDGyyI8tanAmOe1Kkmn0FyQKJeib+gaHx D7Pg== X-Gm-Message-State: APjAAAUw26aGgrwcrJf6YzxjLtU85CJcTgAopkRnxxhBD8YJ74YqBw25 eqHVz79rbAsGXbI2b1NznN+vdg1ljuo= X-Received: by 2002:adf:fe03:: with SMTP id n3mr19580004wrr.59.1553854397857; Fri, 29 Mar 2019 03:13:17 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id s10sm1836419wmh.0.2019.03.29.03.13.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:17 -0700 (PDT) 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 v2 08/13] arm64: dts: msm8998: thermal: Add temperature sensors near major peripherals Date: Fri, 29 Mar 2019 15:42:14 +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 | 135 ++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index b368da235663..26e476078cb6 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -535,6 +535,141 @@ }; }; }; + + cluster0-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 5>; + + trips { + cluster0_mhm_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + cluster1-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 6>; + + trips { + cluster1_mhm_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + cluster1-l2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 11>; + + trips { + cluster1_l2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 1>; + + trips { + modem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + mem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 2>; + + trips { + mem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + wlan-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 3>; + + trips { + wlan_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + q6-dsp-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 4>; + + trips { + q6_dsp_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 5>; + + trips { + camera_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + multimedia-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 6>; + + trips { + multimedia_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; }; timer { -- 2.17.1