]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
thermal: register thermal zone even if ref-channel not provided in DT
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Fri, 27 Mar 2015 08:45:33 +0000 (14:15 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Mon, 30 Mar 2015 09:54:56 +0000 (02:54 -0700)
commit52848d022933990bebe43ed8bedf78c302225a3e
treec8ad4e024699faf78d478cd798e0ddbb3776989b
parent3a623df049254dd9939dffbe52fa1b85d579ab60
thermal: register thermal zone even if ref-channel not provided in DT

Register thermal zone even if ref-channel not provided in DT.
For Hawkeye platform SW need to read two channels to get system
temperature and battery temperature so need to provide ref-channel and
sensor-channel in DT, for all other platforms ref-channel not provided
in DT.

Bug 200083122

Change-Id: I30e618b0714c4c6d692345e36581f98259dda2fa
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/724137
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/thermal/of_generic_adc_thermal.c