Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp10826093ybl; Fri, 27 Dec 2019 02:58:12 -0800 (PST) X-Google-Smtp-Source: APXvYqznqVbVq9QjfuGCY9wpR7qp35E/UY2exxFgjtrs0NWGC45/Tvun+11cFFeiX/66/3pfcJrK X-Received: by 2002:a05:6830:121a:: with SMTP id r26mr49143723otp.225.1577444291994; Fri, 27 Dec 2019 02:58:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577444291; cv=none; d=google.com; s=arc-20160816; b=wv3SaW6bU8jMRS5+bcLRVehsu47sq6Qp0rkxjya+mFDClQgC7VcQSnpXg466y0viJa MmVRDdWNKxVL4hp9ZzYTv7A7QECC3MwbAfVay7k3DhElc0qwnKB23geCNbMtgBF9NvRf 2BZgEgWbldL3IrMKfAQCawN8922u0BXGiFhTAu9nTT9HF+iuBLx42jG9cRb1FBuX0J9n clICuQ2kZFTisRNeBlCK8TbMyd/okW3C+M6rVfub53gzoOb+TeTxFFSCK3jSJVGQVDi+ aJhvsWp8O+Hziqwvxvuy/sSNok2A631UWKhhz6hq1lEnr/lzsFeHiqbS9DR1sYcyd4Gt f0Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=9XYxrNMQs0vXbyciOdvVpfaSWWrvel0H/ZYToAsb3SU=; b=COUHbynmp5jDyQfewAj4IiWu1zrRGkFP0JO/kelLIULzsCHgfoMjpTY+4A8vvGCVtG FFUPYISq9MlH7cC5amlnzBZM8r4eiuSge/Fox6GLPSZsc60rtbjYTmWPwmJLQWoF54yo GGHCVADIdQG7PXjDTnPQ0b3ox7E+mCT3ffuwrBNl2TBWxnmZ9ls8PoofKk4LtTomU+5u NxtSw8qbQ+dYkufWizMDjB12s6NLcPBbtry13yFfceyPy8qNKhP29oFLszK1unLz3PNx 17OJufkZLA4mmYlE+zYA3BwOzC/yaL0e8z1nOfJ1Rrbtm6LeiHwenCx/VsV+tR+gXilb C04w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=n9BeOn2x; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si17269758otq.137.2019.12.27.02.57.45; Fri, 27 Dec 2019 02:58:11 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=n9BeOn2x; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbfL0K4R (ORCPT + 99 others); Fri, 27 Dec 2019 05:56:17 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:40949 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbfL0K4Q (ORCPT ); Fri, 27 Dec 2019 05:56:16 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1577444175; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=9XYxrNMQs0vXbyciOdvVpfaSWWrvel0H/ZYToAsb3SU=; b=n9BeOn2xLDChxb37tQnvicqfsHdNAcYxsHF00yLLf5wGdG0PZBm2JbB3S6g8botOPmHYKNyl VM7zcfouVYGi3tgYv9IE5ZiWoZAC2YVwnKBfhPkKng6OmH6N869hqUXEzLgaXCWG8xAvr/7g nXCuejua7ibRenThZHJpP6MG2Po= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e05e34e.7fe170574260-smtp-out-n03; Fri, 27 Dec 2019 10:56:14 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C52ADC4479C; Fri, 27 Dec 2019 10:56:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.242.50.228] (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rkambl) by smtp.codeaurora.org (Postfix) with ESMTPSA id CBE74C433CB; Fri, 27 Dec 2019 10:56:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CBE74C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=rkambl@codeaurora.org Subject: Re: [PATCH 1/2] arm64: dts: qcom: sc7180: Add critical interrupt and cooling maps for TSENS in SC7180. To: Bjorn Andersson Cc: Andy Gross , Rob Herring , Mark Rutland , Amit Kucheria , Zhang Rui , Daniel Lezcano , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, sanm@codeaurora.org, sivaa@codeaurora.org, manafm@codeaurora.org References: <1577106871-19863-1-git-send-email-rkambl@codeaurora.org> <1577106871-19863-2-git-send-email-rkambl@codeaurora.org> <20191227062235.GM549437@yoga> From: "Rajeshwari Ravindra Kamble (Temp)" Message-ID: Date: Fri, 27 Dec 2019 16:26:04 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20191227062235.GM549437@yoga> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/27/2019 11:52 AM, Bjorn Andersson wrote: > On Mon 23 Dec 05:14 PST 2019, Rajeshwari wrote: > > This patch adds critical interrupt to tsens nodes, add cooling maps, > renames nodes and renames labels. > > While the end result looks reasonable I would like to see this split in > a few different patches - and perhaps a line or two in the commit > message describing the new naming scheme for the renames. yeah sure, I'll provide separate patch for renames. > Thanks, > Rajeshwari > >> Signed-off-by: Rajeshwari >> --- >> arch/arm64/boot/dts/qcom/sc7180.dtsi | 289 +++++++++++++++++++++++++++++------ >> 1 file changed, 239 insertions(+), 50 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> index 3676bfd..e419ca0 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> @@ -10,6 +10,7 @@ >> #include >> #include >> #include >> +#include >> >> / { >> interrupt-parent = <&intc>; >> @@ -78,6 +79,7 @@ >> reg = <0x0 0x0>; >> enable-method = "psci"; >> next-level-cache = <&L2_0>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_0: l2-cache { >> compatible = "cache"; >> @@ -94,6 +96,7 @@ >> reg = <0x0 0x100>; >> enable-method = "psci"; >> next-level-cache = <&L2_100>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_100: l2-cache { >> compatible = "cache"; >> @@ -107,6 +110,7 @@ >> reg = <0x0 0x200>; >> enable-method = "psci"; >> next-level-cache = <&L2_200>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_200: l2-cache { >> compatible = "cache"; >> @@ -120,6 +124,7 @@ >> reg = <0x0 0x300>; >> enable-method = "psci"; >> next-level-cache = <&L2_300>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_300: l2-cache { >> compatible = "cache"; >> @@ -133,6 +138,7 @@ >> reg = <0x0 0x400>; >> enable-method = "psci"; >> next-level-cache = <&L2_400>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_400: l2-cache { >> compatible = "cache"; >> @@ -146,6 +152,7 @@ >> reg = <0x0 0x500>; >> enable-method = "psci"; >> next-level-cache = <&L2_500>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 0>; >> L2_500: l2-cache { >> compatible = "cache"; >> @@ -159,6 +166,7 @@ >> reg = <0x0 0x600>; >> enable-method = "psci"; >> next-level-cache = <&L2_600>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 1>; >> L2_600: l2-cache { >> compatible = "cache"; >> @@ -172,6 +180,7 @@ >> reg = <0x0 0x700>; >> enable-method = "psci"; >> next-level-cache = <&L2_700>; >> + #cooling-cells = <2>; >> qcom,freq-domain = <&cpufreq_hw 1>; >> L2_700: l2-cache { >> compatible = "cache"; >> @@ -1058,8 +1067,9 @@ >> reg = <0 0x0c263000 0 0x1ff>, /* TM */ >> <0 0x0c222000 0 0x1ff>; /* SROT */ >> #qcom,sensors = <15>; >> - interrupts = ; >> - interrupt-names = "uplow"; >> + interrupts = , >> + ; >> + interrupt-names = "uplow","critical"; >> #thermal-sensor-cells = <1>; >> }; >> >> @@ -1068,8 +1078,9 @@ >> reg = <0 0x0c265000 0 0x1ff>, /* TM */ >> <0 0x0c223000 0 0x1ff>; /* SROT */ >> #qcom,sensors = <10>; >> - interrupts = ; >> - interrupt-names = "uplow"; >> + interrupts = , >> + ; >> + interrupt-names = "uplow","critical"; >> #thermal-sensor-cells = <1>; >> }; >> >> @@ -1301,277 +1312,455 @@ >> }; >> >> thermal-zones { >> - cpu0-thermal { >> + cpu_0_0-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 1>; >> >> trips { >> - cpu0_alert0: trip-point0 { >> + cpu_0_0_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu0_alert1: trip-point1 { >> + cpu_0_0_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu0_crit: cpu_crit { >> + cpu_0_0_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_0_alert0>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_0_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu1-thermal { >> + cpu_0_1-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 2>; >> >> trips { >> - cpu1_alert0: trip-point0 { >> + cpu_0_1_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu1_alert1: trip-point1 { >> + cpu_0_1_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu1_crit: cpu_crit { >> + cpu_0_1_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_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>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_1_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu2-thermal { >> + cpu_0_2-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 3>; >> >> trips { >> - cpu2_alert0: trip-point0 { >> + cpu_0_2_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu2_alert1: trip-point1 { >> + cpu_0_2_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu2_crit: cpu_crit { >> + cpu_0_2_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_2_alert0>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_2_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu3-thermal { >> + cpu_0_3-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 4>; >> >> trips { >> - cpu3_alert0: trip-point0 { >> + cpu_0_3_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu3_alert1: trip-point1 { >> + cpu_0_3_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu3_crit: cpu_crit { >> + cpu_0_3_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_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>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_3_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu4-thermal { >> + cpu_0_4-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 5>; >> >> trips { >> - cpu4_alert0: trip-point0 { >> + cpu_0_4_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu4_alert1: trip-point1 { >> + cpu_0_4_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu4_crit: cpu_crit { >> + cpu_0_4_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_4_alert0>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_4_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu5-thermal { >> + cpu_0_5-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 6>; >> >> trips { >> - cpu5_alert0: trip-point0 { >> + cpu_0_5_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu5_alert1: trip-point1 { >> + cpu_0_5_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu5_crit: cpu_crit { >> + cpu_0_5_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_0_5_alert0>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_0_5_alert1>; >> + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu6-thermal { >> + cpu_1_0-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 9>; >> >> trips { >> - cpu6_alert0: trip-point0 { >> + cpu_1_0_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu6_alert1: trip-point1 { >> + cpu_1_0_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu6_crit: cpu_crit { >> + cpu_1_0_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_1_0_alert0>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_1_0_alert1>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu7-thermal { >> + cpu_1_1-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 10>; >> >> trips { >> - cpu7_alert0: trip-point0 { >> + cpu_1_1_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu7_alert1: trip-point1 { >> + cpu_1_1_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu7_crit: cpu_crit { >> + cpu_1_1_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_1_1_alert0>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_1_1_alert1>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu8-thermal { >> + cpu_1_2-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 11>; >> >> trips { >> - cpu8_alert0: trip-point0 { >> + cpu_1_2_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu8_alert1: trip-point1 { >> + cpu_1_2_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu8_crit: cpu_crit { >> + cpu_1_2_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_1_2_alert0>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_1_2_alert1>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - cpu9-thermal { >> + cpu_1_3-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> thermal-sensors = <&tsens0 12>; >> >> trips { >> - cpu9_alert0: trip-point0 { >> + cpu_1_3_alert0: trip-point0 { >> temperature = <90000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu9_alert1: trip-point1 { >> + cpu_1_3_alert1: trip-point1 { >> temperature = <95000>; >> hysteresis = <2000>; >> type = "passive"; >> }; >> >> - cpu9_crit: cpu_crit { >> + cpu_1_3_crit: cpu_crit { >> temperature = <110000>; >> hysteresis = <1000>; >> type = "critical"; >> }; >> }; >> + >> + cooling-maps { >> + map0 { >> + trip = <&cpu_1_3_alert0>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + map1 { >> + trip = <&cpu_1_3_alert1>; >> + cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, >> + <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; >> + }; >> + }; >> }; >> >> - aoss0-thermal { >> + aoss_0-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> @@ -1586,7 +1775,7 @@ >> }; >> }; >> >> - cpuss0-thermal { >> + cpuss_0-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> @@ -1606,7 +1795,7 @@ >> }; >> }; >> >> - cpuss1-thermal { >> + cpuss_1-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> @@ -1626,7 +1815,7 @@ >> }; >> }; >> >> - gpuss0-thermal { >> + gpuss_0-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> @@ -1641,7 +1830,7 @@ >> }; >> }; >> >> - gpuss1-thermal { >> + gpuss_1-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> @@ -1656,7 +1845,7 @@ >> }; >> }; >> >> - aoss1-thermal { >> + aoss_1-thermal { >> polling-delay-passive = <250>; >> polling-delay = <1000>; >> >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member >> of Code Aurora Forum, hosted by The Linux Foundation >>