commit | 1d98b618cc0d8d65650ac0de88c93c98013b1166 | [log] [tgz] |
---|---|---|
author | Caesar Wang <wxt@rock-chips.com> | Thu Nov 05 13:17:58 2015 +0800 |
committer | Eduardo Valentin <edubezval@gmail.com> | Thu Nov 12 10:00:10 2015 -0800 |
tree | ec0d1dfacba9d20f58add946017cc0096121c970 | |
parent | a519c27da6e8a4e74df2fde5654ea9a42dda9fcb [diff] |
thermal: rockchip: better to compatible the driver for different SoCs The current driver is default to register the two thermal sensors in probe since some SoCs maybe only have one sensor for thermal. In some cases, the channel 0 is not always the cpu or gpu sensor. So add the channel can be configured for sensors. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>