aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-06-13 17:58:52 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-06-17 04:27:08 -0400
commit4a1b573346ee0d64d95beb78d49a5bbb574e6c6a (patch)
tree9e4e7b6ef6c5766174b4d68cd944e3234e3e4031 /arch/arm/Kconfig
parent621a0147d5c921f4cc33636ccd0602ad5d7cbfbc (diff)
ARM: 7758/1: introduce config HAS_BANDGAP
Bandgap is a device used to measure temperature on electronic equipments. It is widely used in digital integrated circuits. It is based on the dependency between silicon voltage and temperature. This patch introduce HAS_BANDGAP config entry. This config is a boolean value so that arch code can flag if they feature a bandgap device. This config entry follows the same idea behind ARCH_HAS_CPUFREQ. Cc: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Fabio Stevam <festevam@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d423d58f938d..bcbdec95b506 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -174,6 +174,9 @@ config ARCH_HAS_CPUFREQ
174 and that the relevant menu configurations are displayed for 174 and that the relevant menu configurations are displayed for
175 it. 175 it.
176 176
177config ARCH_HAS_BANDGAP
178 bool
179
177config GENERIC_HWEIGHT 180config GENERIC_HWEIGHT
178 bool 181 bool
179 default y 182 default y