From patchwork Wed Aug 9 17:39:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 13348261 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A85C4C04A94 for ; Wed, 9 Aug 2023 17:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZFjlqCKqUVQrC9z4aFnmHgbmf5xtiaEqU4Njae9vaEc=; b=rcDeOZ3xKQewyh wqPG+yNWl2frvVk7J3t2FDD1Rhvw7NiBBgdkM4GBB4s/giGHaZjbIVfNnAjRPyGSjFZdLX4lIEPmZ wyKiL1eHoXssuyT7Q2oHrltKA+1rDuOCHRlwq7x77rVE8MQ29j4T9J+yPBYSxtImDkofEi1pwE+ya yk5bYZ76qs1vlyrZdBUj+xXt9oe4++DtiEr7A3Pn8E5yY89/IZkQ+3eoXZloMJd4CCaaYbKl7pP/c 39d29IO7BjXk05N0QZQ23aEeXJ4iOoSoX81ytEs2bxMCOXCR1L7Snfh3OJdGF0IJZIJirsPPlTDZW SlBMvWQzsdTWOwpcmN1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTn9g-005Xml-0P; Wed, 09 Aug 2023 17:39:32 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTn9d-005Xli-1Z for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 17:39:30 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 379HdCZw058014; Wed, 9 Aug 2023 12:39:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691602752; bh=DW02Hdws2cTgi1idHFvVaz8VmWVCgengNghKzecN+S8=; h=From:To:Subject:Date; b=RaA5ZPuttkZ2kC8EEl8F6MlIGEEMvA1BPGRR6RB/IC5y+kC5lu2IWgn8psRWTb+hE rdjMi/AMKD9WO5/L2JqA+Iv0g5LITo5enI/xFAmGk/M8/XyWzxw1Fja0F3MbYrEJQK bySdT/g6mqrA7QApovmKBn0d/EW1cFir5M15fIpQ= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 379HdCFM097117 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 12:39:12 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE102.ent.ti.com (157.170.170.32) 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:10 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) 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:10 -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 379Hd6ga077353; Wed, 9 Aug 2023 12:39:06 -0500 From: Apurva Nandan To: Apurva Nandan , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rafael J Wysocki , Daniel Lezcano , Amit Kucheria , Zhang Rui , , , , , Udit Kumar , Keerthy J Subject: [PATCH 0/3] Add support for thermal mitigation for K3 J7200 SoC Date: Wed, 9 Aug 2023 23:09:02 +0530 Message-ID: <20230809173905.1844132-1-a-nandan@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_103929_563778_C2EDADBC X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for thermal mitigation using the CPUFREQ for K3 J7200 SoC. K3 J7200 SoC supports Dynamic Frequency Scaling(DFS) for A72 & this can be used to drop the cpu frequency using cpufreq to produce a cooling effect in the SoC. Keerthy (3): thermal: k3_j72xx_bandgap: Add cooling device support arm64: dts: ti: k3-j7200: Add the supported frequencies for A72 arm64: dts: ti: k3-j7200-thermal: Add cooling maps and cpu_alert trip at 75C arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi | 14 +++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 28 +++++ drivers/thermal/k3_j72xx_bandgap.c | 121 +++++++++++++++++++ 3 files changed, 163 insertions(+)