From patchwork Fri Mar 29 10:12:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161415 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834972jan; Fri, 29 Mar 2019 03:13:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0lfbZP90EsO2swE4tAU1xiOK7QKQ/2bwtK0s/eW7KGt+EHWuVR0fRZrDeny+XhG3jmX7Z X-Received: by 2002:a17:902:2927:: with SMTP id g36mr19969216plb.57.1553854401023; Fri, 29 Mar 2019 03:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854401; cv=none; d=google.com; s=arc-20160816; b=NPoZzQoSSmop9Uot0o7DI0rGhzUktq6uI86OAEPMNq/eC7PthmkKGSzsKPZbpTTomd SBPkNIbTU1tUQe0NParujNXZBQYcbW2wOI+du5O9puK5nqVFIzlXwiXN3Zmiaas8vHSS 97nSowdkYx3+HS0B11AbEGRNY+hiTVRtM4lxOjujmiEL+VuoUHW5uIiEdgpcvz5InIPp Cro3SoYR7v1HPT11FYeaoiagE4ycyxylTjC4XABTwAh6A0dV2SRbPW0Rp2//VVLlFQ25 s2niZJS2kQwBZAmV0fYkcmWDO8vPdcBcSIsX+tWeJngZauf8jDCEyq9GLGWtN/J2lTjr 1nzg== 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=GMhKoLn2Wu4mDbDBaYOJH5k2h/NUh6EmN0Lzx+o1RBfeGrhc1kqWf5mPaXa8bXSff8 HLqgOSSwh0kR+I9+srcVULmF47yxf7AjxR6hZ28/613uTmMQ06geMg+K1PDFk4BTfxaU Z8SvxM/rjfPu8Fn0L6FbezPIXd4/EaReY4elMUHLtwUACsFSJKyWNEXuTc3EAUyzxyOW qWT/gTT7Zrh5NbO2MntShgsFSeG/144DSfZvFOya1r1AoHHBjQYrIL88aoJf8rJ/SVWv OXiMgWcjlVjOPiz4msdCDxuhri2jkNd5H8jyobQ4tIOLzXJX1tkwguUo9yBJPpIpK7fh JjUQ== 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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 i65si1611579plb.438.2019.03.29.03.13.20; Fri, 29 Mar 2019 03:13:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729173AbfC2KNU (ORCPT + 15 others); Fri, 29 Mar 2019 06:13:20 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42629 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729202AbfC2KNT (ORCPT ); Fri, 29 Mar 2019 06:13:19 -0400 Received: by mail-wr1-f68.google.com with SMTP id g3so1848103wrx.9 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=fKzGG4bCvJhEYf/Bd6bf34WRlopkKcwv+AtpnpbrXGDqllFdTz0WS+3yTqPwSOk0QC yessN0ARZbimC/JWf0g+oCfTLrriUNbCCwuRJWdvTkwqYVSFyIhlQJn1pvZeUSnYgBvv PTrV9f1UBo4xeREpBjiyQv93Whuexknkg2cw2DybeIH9fhODn+GzLRJq4kM023LiI/DZ VHr3QkEASEGsRFgyM9LProR3wx1jrN+1EJw4h4iCNjJ2jAvsU7pmBp/6OhmbLwRujsmI fGhTVxcym0yNm16VGcCbmVlBVh1aQjlEt4cucW1oW+fG2od3IL8QUbVQwnVL7xdBmIkS icXw== X-Gm-Message-State: APjAAAVqiSYiQH0lwaFQ28upT2Vkd0xGnuAIUfk6XdrmnffIzu7AI5h+ Dlr3yos3rRORpPTJ37oQwV+vBA== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(+) -- 2.17.1 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 { From patchwork Fri Mar 29 10:12:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161418 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1835312jan; Fri, 29 Mar 2019 03:13:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwU93uYZnGEztlZJJhvczJbmqpAs5Zw6Uz3pcuKxdBNhQksh6LWzpIKCtEoePLv1bk/+t4m X-Received: by 2002:a63:6985:: with SMTP id e127mr45489065pgc.101.1553854420112; Fri, 29 Mar 2019 03:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854420; cv=none; d=google.com; s=arc-20160816; b=OoVmgHkGY+9R9F1XuGxD4Ik5ngpZyLRqlbrMKaJkuaGeYP4/2BSkLoZ97QPkOKnRFR ZrUIDP76MIVfwSJ/X/2vyAWg/OJkDM3YL3gROmKqKWV+1vZ/A5tJUsLoEzhcUjBG9I7g qJLV21hnUVD/a4glCrtpCY40Wup3dYzN59nKbbAgpioHXxmx/P31UCgguTluTqrX9xer qBNXcXLITZdMck3KMrO/LXWa9WChn27A8Bhy2nl/MzIzbOveIr7s96QTs4Vgz2e2QrD5 WGoP/VPzddfPSm1gTMrez0plnQfa7I1R+zS1e3Kr9zCf5ejsmzecTjRMo8GUcxxiiGuj e2Jw== 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=7Xe7EiqZq0M1Qyy2HtL4P1xMmE3v1eI2RJwikfAYNmQ=; b=N5haIoDUefJx2t/3wEYHq75tUiKzMPM6Aa8s3e/uZ0wCp1yn/5FEHQ0M4ECtHfK9eW u6ECHHRNTIc8ewWNIW2guJoKntROP5OqzFrMqSvj0AABwocAFwNvPmPdQMMKlMqLrycT T1NUY0oGMpiq4NEL+9d5I2VO05zUWuUhhTTpkNWAAE+BqLYKJM10yNl7jzDvIBy0A1H4 w/bklbj1p/Ohx2L5WuffjzF6KBHM7PPHgFNsXj3rkoTLma83XGqxHBE2/jE2bZG3Dip/ xR/O2citpKUuLwSUdjmexvUr8Gm6cGNwRffe93IMmFpJ+Y7kARyCyt+17zG+vvKvRbty cA2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ssaX2K4+; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 q13si1535168pls.284.2019.03.29.03.13.39; Fri, 29 Mar 2019 03:13:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=ssaX2K4+; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727654AbfC2KNi (ORCPT + 15 others); Fri, 29 Mar 2019 06:13:38 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37982 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729292AbfC2KNh (ORCPT ); Fri, 29 Mar 2019 06:13:37 -0400 Received: by mail-wr1-f68.google.com with SMTP id k11so1873659wro.5 for ; Fri, 29 Mar 2019 03:13:37 -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=7Xe7EiqZq0M1Qyy2HtL4P1xMmE3v1eI2RJwikfAYNmQ=; b=ssaX2K4+U8rP7Q0pUqz/wu/qqNVlJBHWFdV4egfy2k2mRv2xucCpxxCRAGCcL8+Wzw SLMh/yNAYdd78yj4chO0L9Pv3OuiKQgS9ndmefToa6SECQ++tYmdCogLBYpsJcoDwTvE WGIq4zSI606OVoGUogBr46guvmnbcZIWDbmA4dopKQwx/d8tjuyD3uM0TmnugnP7bt+v E9Y2Kgqr9VB59WnRnzEO67oCL4KhUwy1H85pOthhyjF9QdVCwUDA+0VUXGnWruz2q/s+ 9A3sRN0cjaeV2ULaiGz9S/vVsG/ntpLMKfufDPzXoB4vpJ+z8t6JEW0gmmsdmjgKPooR qLWQ== 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=7Xe7EiqZq0M1Qyy2HtL4P1xMmE3v1eI2RJwikfAYNmQ=; b=OLHqNfWgPL/YRJ++r+o0SClD9nUzmnuRwPpLlm4P0dx3adGonYfWw6Sa1vDyjOXRMG 7aC4H1cw3b1v4xb/m9ENciLyPpKdvpkeVjuvXlCY7fwVSe88d7t6IVyx6ugGDjJBalku 563skFdtr7TixUl5u09U85extUiExgbZJI2l5Y7cUdehBBQqPaqdQ/Y54JSpsVS1GZIe SRvtw5q6p8u1Xo2dogoivK1ktOoNV5MZ50tYXDqSI1TaK9wA/ScJJ3ezWDoHmH/XW+ft KUehUjraMlrrKRe+tfkKXKuEUj187vkJF0Ro/EURSoVyHrhL9kGijtw6b3pg70GtVRhn 37mg== X-Gm-Message-State: APjAAAVKYKSqhJg2900Lp3XKcU82yfqTpmWEVSsNDG8Gzmeu9PgFwt1J Oo/pbMSn3a5bKwdMds/T/giY7CyqyMk= X-Received: by 2002:adf:82f0:: with SMTP id 103mr30601778wrc.260.1553854416276; Fri, 29 Mar 2019 03:13:36 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id n189sm2557811wmb.28.2019.03.29.03.13.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:35 -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 11/13] arm64: dts: msm8916: thermal: Make trip names consistent Date: Fri, 29 Mar 2019 15:42:17 +0530 Message-Id: <83bd84ec3a4ed9c4758f1c9bdf5168048e1f3b39.1553853990.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index c8aa9a0986d2..ea734b98ec96 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -180,19 +180,19 @@ }; thermal-zones { - cpu-thermal0 { + cpu0_1-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens 4>; trips { - cpu_alert0: trip0 { + cpu0_1_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit0: trip1 { + cpu0_1_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -201,7 +201,7 @@ cooling-maps { map0 { - trip = <&cpu_alert0>; + trip = <&cpu0_1_alert0>; cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, @@ -210,19 +210,19 @@ }; }; - cpu-thermal1 { + cpu2_3-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens 3>; trips { - cpu_alert1: trip0 { + cpu2_3_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit1: trip1 { + cpu2_3_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -231,7 +231,7 @@ cooling-maps { map0 { - trip = <&cpu_alert1>; + trip = <&cpu2_3_alert0>; cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, @@ -247,12 +247,12 @@ thermal-sensors = <&tsens 2>; trips { - gpu_alert: trip0 { + gpu_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - gpu_crit: trip1 { + gpu_crit: gpu_crit { temperature = <95000>; hysteresis = <2000>; type = "critical"; @@ -267,12 +267,12 @@ thermal-sensors = <&tsens 1>; trips { - cam_alert: trip0 { + cam_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cam_crit: trip1 { + cam_crit: cam_crit { temperature = <95000>; hysteresis = <2000>; type = "critical"; From patchwork Fri Mar 29 10:12:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161419 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1835386jan; Fri, 29 Mar 2019 03:13:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyL8vjjkvHZ3cXC6thKpBqHFX7aEibgkdZbaj8ltmfYMUjwX5gnyqULeSi0QEs9R8VpAt61 X-Received: by 2002:a17:902:ba8b:: with SMTP id k11mr39192202pls.40.1553854425519; Fri, 29 Mar 2019 03:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854425; cv=none; d=google.com; s=arc-20160816; b=v0xtjPGXtFF2MXHlnrEpVHRQI6S58CPO5xkuaqSG50UVNM/71LycEk7VFTJV8Ghbct gp0NbWgkzjbWD0x78at2Q6Vj5CLrJ3nns6ZDcyB71E+GRmSHZjuBILDTEhKa2dwdMCe5 1VkaOk64iClvdttv+0lWg+9Mg/x/ZPKlYu2gIcvUcXxh5OrejfjC42JDrNiILyznNyQW FLMhAxlTQhhsSULtk34Wfctvvl9DgHOV8+VpgQLil+WTcEuN9rYpOpJa651x7zVG1bxN dAzXK8a+AzpgnaDJ+B9Ezc6CaIv1NcAa2GIw6HWzIEuScF2Hsgs30IkC9nGOofsh8o8W /4mA== 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=WwtyREvJ+UtkrXa1gre5M7056T+QmrB65TrvTpb7eZU=; b=Gy+gv4o8NTA2n3BYVDcZRZX3kYCcKoY4qLYxxHS69N83GV1Vc0bw8t4Z3sf9BIOp4B kBXaDqQrLHnG5qd93KXZEJozrJKtcBu2jHhtOwiwO3DWlE5nPATHXpbcqTSDGIBm4ynH PdXtANpUMjwzdZBlmdxqNl7wtRMMI2Y/CtUSdTsHTRVeNnux/sYKK1nna7gUNT0WIfbh LNEMOSTfUO5C5lWfo6Hvn3jwAAlgjjtXnAC3LLrAFpVZRmzfrUF/noMENCj8pDxGcxSs G64iCVrp4Jei9TqETXCsuF8KPYFjhp9QL+u0W4fUobmJNeJzGk72Jem+Rzn2BkrQCczs KCCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gy0e/+kA"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 f7si1529562pgs.316.2019.03.29.03.13.45; Fri, 29 Mar 2019 03:13:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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="gy0e/+kA"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729316AbfC2KNo (ORCPT + 15 others); Fri, 29 Mar 2019 06:13:44 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55328 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729314AbfC2KNo (ORCPT ); Fri, 29 Mar 2019 06:13:44 -0400 Received: by mail-wm1-f68.google.com with SMTP id o25so1891511wmf.5 for ; Fri, 29 Mar 2019 03:13:43 -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=WwtyREvJ+UtkrXa1gre5M7056T+QmrB65TrvTpb7eZU=; b=gy0e/+kAyAeoBpJjObYYpyULNweOvtWOxFHJJ09TxHS66FQh0TLnslQAhXzAEyDAnF 38lwaBzZPSTRzkN+dplRa3t1JHqJi5MAwTRP4SchhTVXhGiwwIhgLgNzZARe4xWcrhKz qn35XRc8hVaTXhWb/0BL4CCyRpPmDQpIq8WgshN4cwzaAAtYJEN90PAwHpO4soo7Suq8 2dihz+d/duI35s9NixSWajP4EU5utM4iD8NMZ67dc2DbYfQFoxVuTIh83a+zByKp5xgT Nz2lHwlJ/P8uJ/nt6+Oz3RcGmARXxQQAO+9gow/zVUAokEiHTYp23bLEI+/+85lYjWoi 6erQ== 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=WwtyREvJ+UtkrXa1gre5M7056T+QmrB65TrvTpb7eZU=; b=jAziJOjJbwiV8qN+kEdAlGGo5ieqVCOyWOdzEMIWOYqFyzzt9SZguuNvxDdmomTAj7 pzkDzH86NANjUVVrtEC7U4+WeWvo/qOTSnru9beva6qI7lAZdkAbE6LUjeMxh4dLtwte T+i4KejT0j1NBRD0hqZ9jfdAIvGKV3qtCU2aaLM4/rqf7aXQc2F/V2jbz7mb8/HLZf4c L+wUENZxu/CoV1VT8RtIUHAfzeOCkEX/bRW8sCwEO7bKvjbFY8x/iM3dQs1foOe4WGOp wIRcFjDpGqW3gzA9QOba0bqmgAZuIZnmL7Sjg9hps8HQFHQy0ZznaldLiOpiGgqEYtQm EhSA== X-Gm-Message-State: APjAAAVccFp3Ja9xOoJ2apURPmaduwhc8stD0nwB8iMSvfyL9XRCcF91 G4q8azmwmD3jyLU3GGQU4CfBC6Tq3ZM= X-Received: by 2002:a1c:c013:: with SMTP id q19mr3006025wmf.148.1553854422346; Fri, 29 Mar 2019 03:13:42 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id n1sm1404943wmc.19.2019.03.29.03.13.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:41 -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 12/13] arm64: dts: msm8996: thermal: Make trip names consistent Date: Fri, 29 Mar 2019 15:42:18 +0530 Message-Id: <659854a32b8a92ae564e0f2b08d962d9002a033a.1553853990.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index e2408ee91184..edcddc74a4fc 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -154,20 +154,20 @@ }; thermal-zones { - cpu-thermal0 { + cpu0-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 3>; trips { - cpu_alert0: trip0 { + cpu0_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit0: trip1 { + cpu0_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -175,20 +175,20 @@ }; }; - cpu-thermal1 { + cpu1-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 5>; trips { - cpu_alert1: trip0 { + cpu1_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit1: trip1 { + cpu1_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -196,20 +196,20 @@ }; }; - cpu-thermal2 { + cpu2-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 8>; trips { - cpu_alert2: trip0 { + cpu2_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit2: trip1 { + cpu2_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -217,20 +217,20 @@ }; }; - cpu-thermal3 { + cpu3-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 10>; trips { - cpu_alert3: trip0 { + cpu3_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit3: trip1 { + cpu3_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; From patchwork Fri Mar 29 10:12:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161420 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1835499jan; Fri, 29 Mar 2019 03:13:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyARo7DEs6EyFJ/bF8v+W073LBB4walrXZDHPZC9UQjtWnRpaKbCHgJomV4mL35B5T9TFTF X-Received: by 2002:a65:6098:: with SMTP id t24mr6818710pgu.57.1553854432345; Fri, 29 Mar 2019 03:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854432; cv=none; d=google.com; s=arc-20160816; b=iStWfUXbNHRraN8D0M6e53WnCWlRKkbbBeshbi/Rb3kW3b3u4KpSmrQtRwYmVfqrl/ B43ulAuIHJ3rKqbF/QyJPZn3eZs9H8SEBxlYWDUV77VYwg2kHM0Ba/tdCV1BK2aaTFT8 1Bn8Z49zWHDDOX6EUzi8hgxH2F5kjWodjqPbL/w+1dUAqeA8TRZjYCztxYXso1snYNTA 3Msn5ts+dfGK7Xz03kBc4P1hZf0nXk+j2W0na4Oh95Yc4714juBqkTDodq3fGs9QH7h4 obHLBJEAWo5JOUNXQesNXdKztYXDNiCO8wCf4IBUL0ArH1TzymwIkUVr4OltCW2C3rgz rqkA== 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=Nh0o7w+Yt9ud7+T6lHPtFI13Y0R7ShnQgi+aiu0VS3Q=; b=Dd1hTUxzheKoDf1d9MYkeBsUycAHj9sJSUrFgtVs7xPuY30DGST1jOUnUZQqnuwkNU EGbaHqjL/U/zEKawllGOJtHCsioPHsi756VtLPDNxmvmOz9y+d+nLLJ9O6QQWGY4iMpH HDsrkag/r38++CcJaRO6ObcuNTzb4J/xNrhnYKB6Ftj88dsffPuRDUPdZEyivZDb9iFF s/pC8bAN0MxRztGk2nPtj48As/QGebsWGvZCh55/Azrdk71nXNcYgzK5Y9pRIDrwptNa Y4Dia5bkySCJrGZAoTyuhGIDZ+Foc/AsV2yCxbzwmLYqNdWNM3bFOWfovcw9FlHiv0AV utzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZGFrmr7z; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 gn6si1608355plb.167.2019.03.29.03.13.52; Fri, 29 Mar 2019 03:13:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=ZGFrmr7z; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1728774AbfC2KNu (ORCPT + 15 others); Fri, 29 Mar 2019 06:13:50 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39891 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728784AbfC2KNu (ORCPT ); Fri, 29 Mar 2019 06:13:50 -0400 Received: by mail-wm1-f68.google.com with SMTP id n25so2109153wmk.4 for ; Fri, 29 Mar 2019 03:13:49 -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=Nh0o7w+Yt9ud7+T6lHPtFI13Y0R7ShnQgi+aiu0VS3Q=; b=ZGFrmr7zZI0jIM9pHHSJelJtWGPZIU0l0RAciOHkHM1DjuIM6iZmobVUiIXoWPsOpX e9uwfcKiOwD1A2+NKeqetExfxWJbVjbKmJQ88BETyDe6d88gS0Z1MdRUzFI4DIIYxLBN 7rrdZApkc38NWlFElPDFVr272rtDux3HxDyX4WoFwhQlUw7xQlg3tkGjkZzF6kyfO5PI ov9WKuj3MZ/G5A7duSglQTPfSWZMAPclvk752DT4g+iPWo/H8zU7ifHlQt7WyGAu5Bn7 12/hhoUxguTqZpftfdGWIzQnz+L+GcoL5P2VNCnfBX3kewA/O4Y02YyETikhcJpDpaQh Eg7g== 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=Nh0o7w+Yt9ud7+T6lHPtFI13Y0R7ShnQgi+aiu0VS3Q=; b=Brkhgc8fn4Y03cjmSL+8dFxs1HlOGGcU74BptBz5ZmQvaxWHdhK5yF/OU9OQitzj65 VehuuE5Db/vcEjFMV7OiYvFCmYPsvyPvHAJKTcwlmB/Ljob/wLmoe+0+eHqJbCfa5lVI Duz4rCYTELzS8W225DKH8KK1rXWcQ73/v9xqB0xea4DJcBCuhnIfxS+ttv62tv3qF2N3 z2/5Da5PFQWeE/5OEsCckhwC6ui1bga6fCAyG2/Q5YSz39ShTSP+hRdMtlL1QBwiaJ1C HnELPQXEX6vaW07/b1wfjTrxcOPbWHhCN8yfeJtR9IKYBcLB2WzYdkjxDqeufoMrIMkc 6Uew== X-Gm-Message-State: APjAAAVnkhTRgQXM8syfwhKBy0AgsieHpqCUIKo/LrX8yonZn9ZPUCBV PPHirWwNhSprCwEtQGvU4SNQfQ/3IFc= X-Received: by 2002:a1c:a7c5:: with SMTP id q188mr2990714wme.126.1553854428681; Fri, 29 Mar 2019 03:13:48 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id n189sm2558433wmb.28.2019.03.29.03.13.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:47 -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 13/13] arm64: dts: msm8916: thermal: Convert camera trip type to hot Date: Fri, 29 Mar 2019 15:42:19 +0530 Message-Id: <86fe318aa10e4fa967b88cf1d0a728271a54613e.1553853990.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org We don't have any cooling-devices related to the camera. Use the "hot" trip type so allow the temperature to be exported to userspace and remove the "critical" trip. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index ea734b98ec96..e4b1010f70b6 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -270,12 +270,7 @@ cam_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; - type = "passive"; - }; - cam_crit: cam_crit { - temperature = <95000>; - hysteresis = <2000>; - type = "critical"; + type = "hot"; }; }; };