Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 494bbdd8 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Greg Kroah-Hartman
Browse files

staging: omap-thermal: change Kconfig dependency method



Now arch code has to specify CONFIG_ARCH_HAS_BANDGAP. So, this driver
will be selectable only if the platform reports itself as having a
bandgap device.

Any OMAP variant or any other OMAP version needs to
	select ARCH_HAS_BANDGAP
so that the driver will be applicable. A part from that it is
required to device the data structures that maps the registers
and their bitfields. The DT compatible list must also be updated.

CC: Santosh Shilimkar <santosh.shilimkar@ti.com>
CC: Vaibhav Bedia <vaibhav.bedia@ti.com>

Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9b6f8c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
config OMAP_BANDGAP
config OMAP_BANDGAP
	tristate "Texas Instruments OMAP4+ temperature sensor driver"
	tristate "Texas Instruments OMAP4+ temperature sensor driver"
	depends on THERMAL
	depends on THERMAL
	depends on ARCH_OMAP4 || SOC_OMAP5
	depends on ARCH_HAS_BANDGAP
	help
	help
	  If you say yes here you get support for the Texas Instruments
	  If you say yes here you get support for the Texas Instruments
	  OMAP4460+ on die bandgap temperature sensor support. The register
	  OMAP4460+ on die bandgap temperature sensor support. The register
+0 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,6 @@ on omap5-thermal.c
- Add support for GPU cooling
- Add support for GPU cooling


generally:
generally:
- write Kconfig dependencies so that omap variants are covered
- make checkpatch.pl and sparse happy
- make checkpatch.pl and sparse happy
- make sure this code works on OMAP4430, OMAP4460 and OMAP5430
- make sure this code works on OMAP4430, OMAP4460 and OMAP5430
- update documentation
- update documentation