2018-11-27 06:51:27

by Anson Huang

[permalink] [raw]
Subject: [PATCH] defconfig: arm64: add i.MX system controller thermal support

This patch enables CONFIG_IMX_SC_THERMAL by default.

Signed-off-by: Anson Huang <[email protected]>
---
This patch is based on https://patchwork.kernel.org/patch/10677315/
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index d3aa3f7..6d224f7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -376,6 +376,7 @@ CONFIG_SENSORS_RASPBERRYPI_HWMON=m
CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
CONFIG_CPU_THERMAL=y
CONFIG_THERMAL_EMULATION=y
+CONFIG_IMX_SC_THERMAL=y
CONFIG_ROCKCHIP_THERMAL=m
CONFIG_RCAR_GEN3_THERMAL=y
CONFIG_ARMADA_THERMAL=y
--
2.7.4



2018-11-27 23:29:56

by Olof Johansson

[permalink] [raw]
Subject: Re: [PATCH] defconfig: arm64: add i.MX system controller thermal support

Hi,

On Mon, Nov 26, 2018 at 10:14 PM Anson Huang <[email protected]> wrote:
>
> This patch enables CONFIG_IMX_SC_THERMAL by default.
>
> Signed-off-by: Anson Huang <[email protected]>

I don't think this driver is needed to boot the system to root
filesystem, is it? If so, it would be preferred to enable this as a
module to keep kernel binary size down for all platforms.

It looks like we should revisit and bring some of the other platforms
back to modules too (Rockchip is today, but Renesas and Armada don't
seem to be).


-Olof