From patchwork Thu Aug 18 20:39:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 12947865 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 EF2E0C25B0E for ; Thu, 18 Aug 2022 20:40:53 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZQMGUMnTatymL4W9mFZ8+LTfPV2fWTazX0vqC7HJGcE=; b=0YCekxXI9Ro70w DyOp0VcckSQFFJZxat706S5L1X9PaVfAt3PnemMs1ULbGBmKbe7btLXW34XGpfGCkTOaetXMfcYxk nnBe54vfJ9BGKK7c1ONpzKiuL8nZGOGv4D/aups9uovOrPIdDYor46EKs2q/1CfpAG94QNfQORdfa 79yiSQyXVK2GH+psIza3Uhnp1Zv9R7Lu10qfVSMxtzsJco4jzEhmBaGsdVmPtn7l4zHHNMapdMw7d 2K5yJUVemxyqEkteqgJ57TyI6BPbnL9Q4iPbSUACmfaHSd8FpoPYEeTN7LOQAj9wogFaXuni0VAp5 USxuy9BV4U9cGrr+a9jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOmIp-009KDA-KW; Thu, 18 Aug 2022 20:39:43 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOmIl-009K4r-L1 for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 20:39:41 +0000 Received: by mail-wr1-x42a.google.com with SMTP id u14so2992334wrq.9 for ; Thu, 18 Aug 2022 13:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=xygn6gbcrMpkU6O3LJ14UZxn1nCFuKxX8e/wHh/7Pno=; b=hDoGWC05/Y3Yjy5+Kzqp+U5WYRjYFZycwb09fnHn9n+Hz8YHHFWEiDh28HyuITaWr5 oMZQ0tVlU5Nf8UWEUmE3qYgwV1V1J/4KpyybLUNGfdRF8zaSl2SmU8922xVh+1bzHszb ssDsor3eAuiOnlSouoY68hI0LeObyV8tYmJmqLVt3VDzaWhgcpypZt2qbrRd8CsPkZ62 C56HijPTJlxO2iIo3EAU708uoANyraQjmFv9A+4f2aEhg+xx2NtUaQnNswbrspysvBLG XrkJYoWjiH3NJJaxzRQLU9ZWKHqHF76X4Wh40Pl1JMlbEOsEx41tI17N5oqMrKTrpIZz cBjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=xygn6gbcrMpkU6O3LJ14UZxn1nCFuKxX8e/wHh/7Pno=; b=6dLhowBIK+9STgM3VdeG55PlYCQCMJUucHEgBlO6cMgmpBmUM0FJPjG1mSzZksDRhP W4vCutRjt5I04Ayw/9KdoCXV2jxeaZjyWE3ipi372w8RMTd4fUdJp6zvTIRZIx4ox/os bA16EfJ3BZZmql6jRQDZ7OAkhe1RsMQL96nP9OQVCiGBFH0yMbQlWyB6L6CepsYV3Y8Q Ys9WnA7I1DtBUyd7tzjJekHLz7rjGb+zEdml5ZV1nyDDnOUafia6tiSys3sP9rcxu3zF dJObG7Z5hz65P2rvK3FEdV2A4IvSd7GgnOgT0nd5B/zNmxn4Kav++7WhSGbeGhzbK5cV iQrg== X-Gm-Message-State: ACgBeo0TIPZqIjWlnS2gX2k4uDzQyirD5IdVgtgRVqJaViFqfQQtWrWg VJgozhGUVazLfWB3cISvhtQ= X-Google-Smtp-Source: AA6agR63LHfoemL/kg5QS25U8mqGufbAT7XDxsG8MKNfAZ5DniFWkDDq8xOXZipXmh3DKHD3pH49pw== X-Received: by 2002:adf:f64c:0:b0:225:28cb:3334 with SMTP id x12-20020adff64c000000b0022528cb3334mr2485613wrp.700.1660855174760; Thu, 18 Aug 2022 13:39:34 -0700 (PDT) Received: from localhost.localdomain (2a01cb000c0d3d00cc34c67bc193cac8.ipv6.abo.wanadoo.fr. [2a01:cb00:c0d:3d00:cc34:c67b:c193:cac8]) by smtp.gmail.com with ESMTPSA id u18-20020a05600c19d200b003a54d610e5fsm1571648wmq.26.2022.08.18.13.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 13:39:33 -0700 (PDT) From: " =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= " X-Google-Original-From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Catalin Marinas , Will Deacon Cc: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: defconfig: Enable devfreq cooling device Date: Thu, 18 Aug 2022 22:39:25 +0200 Message-Id: <20220818203928.131059-2-cpe@outsight.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220818203928.131059-1-cpe@outsight.tech> References: <20220818203928.131059-1-cpe@outsight.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_133939_738729_2352FEC2 X-CRM114-Status: GOOD ( 10.62 ) 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 From: Clément Péron Devfreq cooling device framework is used in Panfrost to throttle GPU in order to regulate its temperature. Enable this driver for ARM64 SoC. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d5b2d2dd4904..109004e44d21 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -584,6 +584,7 @@ CONFIG_SENSORS_INA2XX=m CONFIG_SENSORS_INA3221=m CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y +CONFIG_DEVFREQ_THERMAL=y CONFIG_THERMAL_EMULATION=y CONFIG_IMX_SC_THERMAL=m CONFIG_IMX8MM_THERMAL=m