Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4354206pxu; Mon, 21 Dec 2020 10:15:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJznlUDUz0qKCxsE9jXf7UmDkP+sujTTnLZ138ccCoAM+ACEke3Dh/PWMbOLeJB/zPiYQu0f X-Received: by 2002:a17:906:5796:: with SMTP id k22mr16160286ejq.435.1608574547297; Mon, 21 Dec 2020 10:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608574547; cv=none; d=google.com; s=arc-20160816; b=ocDVts2hhub/pGWpOLr/w/X0DCHW2Fl7bU+yW2lotTWuHDJSydwRUajiB1qWh1EEqa x39YtGkHtYTAQ3ncyYTGNZyzg/kT9tgR0I8af1+mRTiNIaOXSdynkXuixflChlZETk1j uaIHfNMD3S6ZlKkCC8XbM76ECTQx9lZYpx+4Sx1pXBI++uTwr1RRuRbcRLj1Z7wJ/+gs 95BnJI6gS35K58wFVmHE3F7Fy4HpZhJlJgK34qiBgL6ZebbObd465Zvgcad/lChhZNeI 5mROGClnbgEjyDFePp3y3x/hafd7AeLSB2NRkQ67/ZgwqOJICBwnUWXhw8X5wqP9Vnau Vu5Q== 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:cc:to:from :dkim-signature; bh=CYNvrmyBcR24qaTBP8yatBcY626HdS4K9apXn77mSNM=; b=EoxIqkU1CRkCM+Ik+JnE4cHBTpQMRI4ty5MJI/Px+2yOXgUWJdpRNEd69E2IheU/CQ RrYB6w42sM2z3Nz/V3ZK+CFrjmmBfvGjByF1rtH8XII3E/w/J4PdktBUT+FuEt48aV+k CK8mN51P71FDzd/tDX4cvUkffMcSd4h48HhTT6vMLmDCEoW9TZyjK8KeYSost8V1T5BH AiZrRWsyCTcp7FFb6Bm3RMm4somO1qeXSpG6recF537bFkdyOSDtQD4uryGYFOl/Y7+X N966JQwhmRiHyRX3AVDye6yJvKTAjIWh8jX86meABMyoj3A0rG76WPU9vlPbU/9gjB5m svYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=lD267zah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf21si11313683edb.369.2020.12.21.10.15.24; Mon, 21 Dec 2020 10:15:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=lD267zah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725935AbgLUSN7 (ORCPT + 99 others); Mon, 21 Dec 2020 13:13:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgLUSN7 (ORCPT ); Mon, 21 Dec 2020 13:13:59 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99D8AC061285 for ; Mon, 21 Dec 2020 10:13:43 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id v14so10719859wml.1 for ; Mon, 21 Dec 2020 10:13:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CYNvrmyBcR24qaTBP8yatBcY626HdS4K9apXn77mSNM=; b=lD267zahUVgA3DLau9u4L0oNjrXSi3d0rZHEzzA3ci0+hZfHJbDbQeSqa8dyZZgm8A Qiha3IP/O97P1NRVUm0/yueKbU9MfRiUZHURyi+oJEyoYaZM7wI6vFuICqR6Gc2kZRdw FwOC3bM/EiuB+KT3rgLfkgO+GNvW3GF6mmoRWejfhG1mIfGBt4ybgUSmynzTnDj25MP2 JrWt0W1TCL+AK9vAssOHE5EH8fl7HjedxcbAkXmylnqJweqfKLeZK61Lywe7lAnDG9N+ Lzlq+ssfe7dKMtc9646Gzs9+XgQ4WV6b5gJbQ7QGW1Mv/Az/unY+Zh2fkPyDh56cNYGW 9jXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CYNvrmyBcR24qaTBP8yatBcY626HdS4K9apXn77mSNM=; b=DzC7TIq/f9L2yZjgWNHMaJjjMcPZ2BQXiatHhnDtuCS/Oncl4ZCKO+2PGl9Bkngs1T uAhPa9SJmIcZZo8lv6iYzBKfb/lHu8QFNC/cQtXxIDPeBpFfPiJl6Gj9c2gFa8fZnWyY tRZJ4IUnLX58lCE2s0MSRLBk7FVuch8Ggj/Etwkiqg/nFl03TKLRqDbLJAUpX4KbrFOg 0/b3rP//4P1n50yG3QGR28XGeJ5GCbtnvjSHUAIlCFtQh09kTs7EDrvcwiHljyrHssv3 x04+WQScQi4kzGm8Xuj2xprTuLIHeV8ang6xpvBv8YqGfSOrVVxNw/pyEXFIG+uB6chN C7/w== X-Gm-Message-State: AOAM531oH8SMuaPtWx3BuOPzKq59FBa6Df/oxwrl0PV3N7HwT2JusrRu ecv1poPnWBKA0Js2LW8GFpbF3mXTmlI= X-Received: by 2002:a7b:c1c1:: with SMTP id a1mr17698718wmj.104.1608574422400; Mon, 21 Dec 2020 10:13:42 -0800 (PST) Received: from localhost.localdomain (p200300f137019000428d5cfffeb99db8.dip0.t-ipconnect.de. [2003:f1:3701:9000:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id m11sm23434936wmi.16.2020.12.21.10.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 10:13:41 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, narmstrong@baylibre.com, Martin Blumenstingl Subject: [PATCH 5/5] ARM: multi_v7_defconfig: Enable support for the ADC thermal sensor Date: Mon, 21 Dec 2020 19:13:06 +0100 Message-Id: <20201221181306.904272-6-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201221181306.904272-1-martin.blumenstingl@googlemail.com> References: <20201221181306.904272-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 32-bit Amlogic Meson platforms are using a special ADC channel to read the SoC temperature. Enable the "generic ADC thermal" driver so this data can be used to cool the SoC for example by reduing the maximum CPU and GPU frequencies temporarily. Signed-off-by: Martin Blumenstingl --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index c5f25710fedc..0a55240ce2fc 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -515,6 +515,7 @@ CONFIG_ARMADA_THERMAL=y CONFIG_BCM2711_THERMAL=m CONFIG_BCM2835_THERMAL=m CONFIG_BRCMSTB_THERMAL=m +CONFIG_GENERIC_ADC_THERMAL=m CONFIG_ST_THERMAL_MEMMAP=y CONFIG_UNIPHIER_THERMAL=y CONFIG_DA9063_WATCHDOG=m -- 2.29.2