Message ID | 20230809173905.1844132-4-a-nandan@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:9d8d:b0:139:fa0d:b2d with SMTP id d13csp143336rwo; Wed, 9 Aug 2023 14:05:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNYq4ZVk+jBifwzENLCkK093+UMEyBU2dH+7F7YNHFOcOSjKr29mmmieVi9scsh9rdtkVr X-Received: by 2002:aa7:c0d6:0:b0:522:2bc8:cbb8 with SMTP id j22-20020aa7c0d6000000b005222bc8cbb8mr299894edp.6.1691615099870; Wed, 09 Aug 2023 14:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691615099; cv=none; d=google.com; s=arc-20160816; b=QH6cmfp4ZIKNHtGY3e1G/hMEidJsjwKyhWlsKnAI+oZ1CMWdwm49vSQxPCRS86enOe LiF50mIgu6FpvyHaovjWdbdP2xCCQUs9l5lyQ/GETlSVD3cmx/13DPxrI6ztn/KZXpnR neIP4XFs/dNFsb5yW6kJrX89RxOqXa0hr275wxZlwzHXJ8g+nnO7GGN7WYyQ7/Au/jdf 5hCv1pSfmnoZbJXoVfMpVzDXwBnIHvdeEJlmVQFCilyyQ4vMYPV84RiIKhjf5COugZQ3 EMKDgbSHmhxIul0o7S+w4Lw//AUDcNZtlTdtosN/O8uQKzET8HB7GgB61WxUZgCaiZPE 4vow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=bPJNJeQUgy0aF+J1sZlxi9L3YvHWdEofe+SYa/mf4fk=; fh=A+sJqtc66o/ycZb+bBWr5uFmf4t500A0xvaxVrwD2BU=; b=A6L/MoRjuIWJR9fWb0CC2N+wdVXbcF3sySsGxtd5eQIkX2k+sSBCrM40In8FWQGy8f 829aLH9V4ZodW/CnLhR3d91XxT6Q3AfZdj0DCHwMcqYoZv5qHKxYoQYl9YPdPaxw47D8 1mZHx51QJN47JPKJivs5pTWvzgHkfVW8b1huzxml6/hEf6MzUeGGzpOdDUKvlHCp4CSw 9T8vlP7pviEszyV0IgrJvi9C01jo/L6X59IGc9vTWZCslgiZFVm8BMcTmnRZomaFYip9 QRhWgll6TSImCvV1nz3LUW6xAt8TS0Q+kY3DEED5T23RSiIy5mUh7QmFaVZOY6CmW70u oFjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pdzmApGr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020aa7d854000000b00523346514dasi6431510eds.240.2023.08.09.14.04.29; Wed, 09 Aug 2023 14:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pdzmApGr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233027AbjHIRjn (ORCPT <rfc822;craechal@gmail.com> + 99 others); Wed, 9 Aug 2023 13:39:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232762AbjHIRjg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 13:39:36 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E7D610DE; Wed, 9 Aug 2023 10:39:35 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 379HdP6o044737; Wed, 9 Aug 2023 12:39:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691602765; bh=bPJNJeQUgy0aF+J1sZlxi9L3YvHWdEofe+SYa/mf4fk=; h=From:To:Subject:Date:In-Reply-To:References; b=pdzmApGr09OPwlRMQLcIl9ulvvIu8/BxJ0MF0yZ7rLMKHF8YUM4i/7c9e0w7X+iN2 VkZUtLFwSUqxsOKjnWgP8nz0QXWsKEjloB791GjECYHPdpOQ8P+jEpvyEOBczPHIx2 r9Ul9nR0XiBrir7Bl0XUjolwyRIAWVwC5dtcOkxc= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 379HdPAB097175 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 12:39:25 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 12:39:24 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 12:39:24 -0500 Received: from TI.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 379Hd6gd077353; Wed, 9 Aug 2023 12:39:20 -0500 From: Apurva Nandan <a-nandan@ti.com> To: Apurva Nandan <a-nandan@ti.com>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Rafael J Wysocki <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-pm@vger.kernel.org>, Udit Kumar <u-kumar1@ti.com>, Keerthy J <j-keerthy@ti.com> Subject: [PATCH 3/3] arm64: dts: ti: k3-j7200-thermal: Add cooling maps and cpu_alert trip at 75C Date: Wed, 9 Aug 2023 23:09:05 +0530 Message-ID: <20230809173905.1844132-4-a-nandan@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230809173905.1844132-1-a-nandan@ti.com> References: <20230809173905.1844132-1-a-nandan@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773786994754502824 X-GMAIL-MSGID: 1773786994754502824 |
Series |
Add support for thermal mitigation for K3 J7200 SoC
|
|
Commit Message
Apurva Nandan
Aug. 9, 2023, 5:39 p.m. UTC
From: Keerthy <j-keerthy@ti.com> Add cooling maps and mpu_alert trip at 75C Note: mpu_alert trip value should adjusted based on the system load and performance needs. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Apurva Nandan <a-nandan@ti.com> --- arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi index e7e3a643a6f0..eeb596727d48 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi @@ -28,6 +28,20 @@ mpu_crit: mpu-crit { hysteresis = <2000>; /* milliCelsius */ type = "critical"; }; + + mpu_alert0: mpu_alert { + temperature = <75000>; /* millicelsius */ + hysteresis = <5000>; /* millicelsius */ + type = "passive"; + }; + }; + + cpu_cooling_maps: cooling-maps { + map0 { + trip = <&mpu_alert0>; + cooling-device = + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; }; };