From patchwork Wed Oct 26 12:41:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020534 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 56A85C38A2D for ; Wed, 26 Oct 2022 12:42:26 +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=c0TreiVDa5MQLUl6dsoBJB9uBNgIHtnBRiZl1YZh3VM=; b=rCJo0ePKWXFn3I MqZ32KfxYSMqcn5iageAVTKnvd8omWzvxF4Tn5e5pQrartKsPjDGHITkwKwq1u62hDuPNOBkd5guo ihtL978uM6y35/iqy7jzzOnAtsIw8hilqy6aO/B02wVPhNzX66xpviG8APn7Q0mZyBr88KIcjswOu Y5t5HDAgMfZt2VpTdSSCiiHqYGTMed7BFSmG2jL3ADWsCg4V4K0sbkOq6HuMVnlkeLDUjBGBix/n3 0kueqih5/SjnTZweNHL2UyP6+3hM7YCm3oUHjz2ngsU0o7fGbvAj87hMzuhzlocol10MbhR88ROQn EfpV/QHBCO3AgnshjnrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfic-009DG4-Tn; Wed, 26 Oct 2022 12:41:15 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgt-009CKI-5N for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787967; x=1698323967; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+2/GBXC4XF/5HlvdcWRuX3hCZqwDOJ+Wb6xvf5NS+68=; b=UEK+cQsXKnjAqVhbEyb0Elf+vWlMxj++nVITwHqu/9l3Ak/ChG2aa5uM 0ExIbZ+KN0ogXum5S9RZoFHkycjc9ve8hxrW9qyUo3X7fpjQk2I9bHxQm Lh3texvDQEOQBpgIjKMg4YkWytmQ24dPmOPSfhv6zwrYbnd4cIz1WsL+w BxK9+usozVucWCKrKpxgUtMKTUYN0SZO1S02q8KHNydm5J3kATyERxtdb sQE730z3UgFLaa2X7LgJ+tArUo/TsuwMkxqTz+UOltlLpfF7mesNyI5ht F5eq3hCrKsgcELSeiKOxcq0xsjbcHC1RzjRSt9hm83in+zmMOEdrq6Bmd w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="197101762" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:26 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:26 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:24 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 09/11] ARM: configs: at91: sama7: add config for thermal management Date: Wed, 26 Oct 2022 15:41:12 +0300 Message-ID: <20221026124114.985876-10-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_053927_229513_A36265B0 X-CRM114-Status: UNSURE ( 8.35 ) 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 config flags for thermal management. Signed-off-by: Claudiu Beznea --- arch/arm/configs/sama7_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index d5b748e2e772..9b98e190f405 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -128,6 +128,10 @@ CONFIG_POWER_RESET=y CONFIG_POWER_RESET_AT91_RESET=y CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC=y # CONFIG_HWMON is not set +CONFIG_THERMAL=y +CONFIG_THERMAL_STATISTICS=y +CONFIG_CPU_THERMAL=y +CONFIG_GENERIC_ADC_THERMAL=y CONFIG_WATCHDOG=y CONFIG_SAMA5D4_WATCHDOG=y CONFIG_MFD_ATMEL_FLEXCOM=y