[PATCH v2 2/9] thermal: rockchip: better to compatible the driver for different SoCs

2015-11-04 Thread Caesar Wang
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 --- Changes in v2:

[PATCH v2 2/9] thermal: rockchip: better to compatible the driver for different SoCs

2015-11-04 Thread Caesar Wang
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