From patchwork Sun Aug 21 17:30:48 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: 12950020 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 D20D5C3F6B0 for ; Sun, 21 Aug 2022 17:32: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: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=UYzH0+9yMxeNQaa4rnuFhQHlHMNjqhB2SZYcYtMJZV4=; b=3UA9XL3roOyVuX z+PRjcV9p5Arsvg7rdIgYxsRd+dbAqHC5Dj01Z0obMhaSFUgWMyafJPNbCaKcxTpR8IIj32pxX0V6 2M7LXxerXenmTEeKC6U4pQccK/WNOY/Vwq3VT57J5AYj233jQgemAWAJmjCPfiFOklmnG1mrhi18q fVa+6a/tInxRY00ebEVAsnpSQQyIHRRRk2ViR511kzq+RU9084bbcNI82USCQtoWh6nDwPFrmqCGM A+BeoCkDTecKRCw0xsDUrgB9Prf04qOvJC4OskyV3wjalEavqJZKFMMtdGxCAGsm/YHFH4zQ3+Ev5 kXPkBp6wmGQEyCI8hJPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPonD-00Cpz6-Ap; Sun, 21 Aug 2022 17:31:23 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPomy-00CpsL-6F for linux-arm-kernel@lists.infradead.org; Sun, 21 Aug 2022 17:31:09 +0000 Received: by mail-wr1-x433.google.com with SMTP id k9so10681777wri.0 for ; Sun, 21 Aug 2022 10:31:07 -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=aSJ84KqrNn6MWyh6FORcW3yirHeYw6hYSs0IzGec01M=; b=oMPqfpeHVVfNLHP2MjvlbDraFSkaHgYrFskuQI4NmmbhLtDnnhLOa3vC2pdNgKyy9t +Fb4PAHxafTxVQLv2RdYwIQnu469rsfq3eC5wkJkZGheKOO0TwANXPxpol8qfr8qCYWM jV075pLCfKUO0CMi68yqYoaMawBNfzo4UJxSCYGRmD0bnBj9Q7e28YKUOEKxio16M1I+ qb8ON1lB2aOqY+jhfsDiOnyXb+gY6gH6jLnP+97TO2I+mqwhlqhr1LFVdrFuUc24nUdj Da6dWlIzJccvrTZ2TlyNOhkKBm4OBpPMrIBaiyljjVAwCOR40N+l5yczII4Td45mMr1Y ScaQ== 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=aSJ84KqrNn6MWyh6FORcW3yirHeYw6hYSs0IzGec01M=; b=dL48XuovTxw+2luzsdkWXtpgmwYSe55ppBuKL7I4p3YZsPiGdR1T5GL8OeRfdR+jD4 KNQLLa4xRKFoXhj37iUgvImg1x++O0p9EzC1lmTQ6LKL7vIrEQcY53+vg1e3yHUcsqoX LdZbeCZ4jjOHU92gYTUEedc08wl30B450NJx46LYJKgutadZe+ssBmoEUIcYDFIk/FIL u5GJxQ3LxaJwv+12KzHAMjJ+pPZTyqUx37ecA9Bk963XXEdaBOpO9IPISzcof5eIr8No BeZN8OsvSGGvcCUDnNtmN1/UI7lT+cvgX8jPwB2AGu6eCk1gUnJhZiWVPDrmoyCO/wP6 5+KQ== X-Gm-Message-State: ACgBeo2QbFiyZEyCMe34adh1D6c1KAEIRF3mO/QhR/lPRRMjhNu8D3NA jNxKkWcU7Ua/AobZMmPf+LA= X-Google-Smtp-Source: AA6agR6fKo9R8ycp4Gb4tGnIr8ckPmGoMswlycqEn46ezfu/KXVXYdHG72MTfHpaSq4d5MQIOxl36Q== X-Received: by 2002:adf:eb01:0:b0:225:294d:c9c6 with SMTP id s1-20020adfeb01000000b00225294dc9c6mr8779399wrn.285.1661103065929; Sun, 21 Aug 2022 10:31:05 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:a77:3d70:9d84:ec8d:98d9:c29a]) by smtp.gmail.com with ESMTPSA id b18-20020adff912000000b00224f7c1328dsm9387205wrr.67.2022.08.21.10.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Aug 2022 10:31:05 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Catalin Marinas , Will Deacon Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= Subject: [PATCH v2 1/4] arm64: defconfig: Enable devfreq cooling device Date: Sun, 21 Aug 2022 19:30:48 +0200 Message-Id: <20220821173051.155038-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220821173051.155038-1-peron.clem@gmail.com> References: <20220821173051.155038-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220821_103108_264796_7A76E1D4 X-CRM114-Status: GOOD ( 10.84 ) 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 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 Acked-by: Jernej Skrabec --- 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