]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: omap-thermal: introduce clock feature flag
authorRadhesh Fadnis <radhesh.fadnis@ti.com>
Tue, 26 Feb 2013 22:53:25 +0000 (18:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:48:52 +0000 (09:48 -0700)
commit6c9c1d66e44e84a0c2a3d543479c74c8b8a44cea
tree5972983a1938895099cb3418ea0530a6554ce93b
parentb3bf0e90f05f1addf86ec7237e59b8a096e64e49
staging: omap-thermal: introduce clock feature flag

The clock to Bandgap module is SW controlled on some version of
OMAP silicon (OMAP44xx). But on OMAP54xx ES2.0
onwards this is HW-Auto controlled. Hence introduce a feature flag
to use/not-to-use SW enable/disable of BG clock.

Signed-off-by: Radhesh Fadnis <radhesh.fadnis@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap-bandgap.c
drivers/staging/omap-thermal/omap-bandgap.h
drivers/staging/omap-thermal/omap4-thermal.c
drivers/staging/omap-thermal/omap5-thermal.c