Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-07 Thread Maxime Ripard
On Mon, May 06, 2019 at 07:55:25PM +0200, Ondřej Jirman wrote: > On Tue, May 07, 2019 at 01:08:39AM +0800, Frank Lee wrote: > > On Tue, May 7, 2019 at 12:52 AM Icenowy Zheng wrote: > > > > > > 在 2019-05-06一的 14:28 +0200,Maxime Ripard写道: > > > > Hi, > > > > > > > > On Sun, May 05, 2019 at 04:22:15P

Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-06 Thread Ondřej Jirman
Hi, On Tue, May 07, 2019 at 01:08:39AM +0800, Frank Lee wrote: > On Tue, May 7, 2019 at 12:52 AM Icenowy Zheng wrote: > > > > 在 2019-05-06一的 14:28 +0200,Maxime Ripard写道: > > > Hi, > > > > > > On Sun, May 05, 2019 at 04:22:15PM +0100, Jonathan Cameron wrote: > > > > On Fri, 3 May 2019 03:28:07 -0

Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-06 Thread Frank Lee
On Tue, May 7, 2019 at 12:52 AM Icenowy Zheng wrote: > > 在 2019-05-06一的 14:28 +0200,Maxime Ripard写道: > > Hi, > > > > On Sun, May 05, 2019 at 04:22:15PM +0100, Jonathan Cameron wrote: > > > On Fri, 3 May 2019 03:28:07 -0400 > > > Yangtao Li wrote: > > > > > > > For some SOCs, there are more than

Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-06 Thread Icenowy Zheng
在 2019-05-06一的 14:28 +0200,Maxime Ripard写道: > Hi, > > On Sun, May 05, 2019 at 04:22:15PM +0100, Jonathan Cameron wrote: > > On Fri, 3 May 2019 03:28:07 -0400 > > Yangtao Li wrote: > > > > > For some SOCs, there are more than one thermal sensor, and there > > > are > > > currently four sensors o

Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-06 Thread Maxime Ripard
Hi, On Sun, May 05, 2019 at 04:22:15PM +0100, Jonathan Cameron wrote: > On Fri, 3 May 2019 03:28:07 -0400 > Yangtao Li wrote: > > > For some SOCs, there are more than one thermal sensor, and there are > > currently four sensors on the A80. So we need to do some work in order > > to support multi

Re: [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-05 Thread Jonathan Cameron
On Fri, 3 May 2019 03:28:07 -0400 Yangtao Li wrote: > For some SOCs, there are more than one thermal sensor, and there are > currently four sensors on the A80. So we need to do some work in order > to support multiple thermal sensors: > > 1) add sensor_count in gpadc_data. > 2) introduce su

[PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple thermal sensor

2019-05-03 Thread Yangtao Li
For some SOCs, there are more than one thermal sensor, and there are currently four sensors on the A80. So we need to do some work in order to support multiple thermal sensors: 1) add sensor_count in gpadc_data. 2) introduce sun4i_sensor_tzd in sun4i_gpadc_iio, to support multiple thermal