On 31/07/2019 14:14, Guillaume La Roque wrote: > Signed-off-by: Guillaume La Roque <glaroque@xxxxxxxxxxxx> > --- > drivers/thermal/Kconfig | 12 +- > drivers/thermal/Makefile | 1 + > drivers/thermal/amlogic_thermal.c | 335 ++++++++++++++++++++++++++++++ > 3 files changed, 347 insertions(+), 1 deletion(-) > create mode 100644 drivers/thermal/amlogic_thermal.c > > diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > index 9966364a6deb..2332ef1bfafc 100644 > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -1,4 +1,3 @@ > -# SPDX-License-Identifier: GPL-2.0-only |\ typo ? > # > # Generic thermal sysfs drivers configuration > # > @@ -348,6 +347,17 @@ config MTK_THERMAL > Enable this option if you want to have support for thermal management > controller present in Mediatek SoCs > > +config AMLOGIC_THERMAL > + tristate "Amlogic Thermal Support" > + default ARCH_MESON > + depends on OF && ARCH_MESON > + help > + If you say yes here you get support for Amlogic Thermal > + for G12 SoC Family. > + > + This driver can also be built as a module. If so, the module will > + be called amlogic_thermal. > + > menu "Intel thermal drivers" > depends on X86 || X86_INTEL_QUARK || COMPILE_TEST > source "drivers/thermal/intel/Kconfig" [...]