Re: [PATCH v9 1/5] thermal: rockchip: add driver for thermal

2014-10-14 Thread Caesar Wang
Doug, 在 2014年10月14日 00:11, Doug Anderson 写道: Caesar, On Sat, Oct 11, 2014 at 12:29 AM, Caesar Wang wrote: +static void rk_tsadcv2_initialize(int reset_mode, int chn, void __iomem *regs, + unsigned long hw_shut_temp) +{ + u32 shutdown_value; + + shu

Re: [PATCH v9 1/5] thermal: rockchip: add driver for thermal

2014-10-13 Thread Doug Anderson
Caesar, On Sat, Oct 11, 2014 at 12:29 AM, Caesar Wang wrote: > +static void rk_tsadcv2_initialize(int reset_mode, int chn, void __iomem > *regs, > + unsigned long hw_shut_temp) > +{ > + u32 shutdown_value; > + > + shutdown_value = rk_tsadcv2_temp_to_c

[PATCH v9 1/5] thermal: rockchip: add driver for thermal

2014-10-11 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were checked.I