Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-04-02 Thread Jonathan Cameron
On 29/03/17 07:54, Quentin Schulz wrote: > Hi, > > On 28/03/2017 19:30, Icenowy Zheng wrote: >> This adds support for the Allwinner H3 thermal sensor. >> >> Allwinner H3 has a thermal sensor like the one in A33, but have its >> registers nearly all re-arranged, sample clock moved to CCU and a

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-04-02 Thread Jonathan Cameron
On 29/03/17 07:54, Quentin Schulz wrote: > Hi, > > On 28/03/2017 19:30, Icenowy Zheng wrote: >> This adds support for the Allwinner H3 thermal sensor. >> >> Allwinner H3 has a thermal sensor like the one in A33, but have its >> registers nearly all re-arranged, sample clock moved to CCU and a

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Maxime Ripard
On Wed, Mar 29, 2017 at 02:57:02PM +0800, Icenowy Zheng wrote: > > > @@ -691,6 +777,12 @@ static int sun4i_gpadc_remove(struct platform_device > > > *pdev) > > >  if (!info->no_irq && IS_ENABLED(CONFIG_THERMAL_OF)) > > >  iio_map_array_unregister(indio_dev); > > >  > > > + if

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Maxime Ripard
On Wed, Mar 29, 2017 at 02:57:02PM +0800, Icenowy Zheng wrote: > > > @@ -691,6 +777,12 @@ static int sun4i_gpadc_remove(struct platform_device > > > *pdev) > > >  if (!info->no_irq && IS_ENABLED(CONFIG_THERMAL_OF)) > > >  iio_map_array_unregister(indio_dev); > > >  > > > + if

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Lee Jones
On Wed, 29 Mar 2017, Icenowy Zheng wrote: > > 2017年3月29日 14:54于 Quentin Schulz 写道: > > > > Hi, > > > > On 28/03/2017 19:30, Icenowy Zheng wrote: > > > This adds support for the Allwinner H3 thermal sensor. > > > > > > Allwinner H3 has a thermal sensor like

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Lee Jones
On Wed, 29 Mar 2017, Icenowy Zheng wrote: > > 2017年3月29日 14:54于 Quentin Schulz 写道: > > > > Hi, > > > > On 28/03/2017 19:30, Icenowy Zheng wrote: > > > This adds support for the Allwinner H3 thermal sensor. > > > > > > Allwinner H3 has a thermal sensor like the one in A33, but have its > > >

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Quentin Schulz
Hi, On 28/03/2017 19:30, Icenowy Zheng wrote: > This adds support for the Allwinner H3 thermal sensor. > > Allwinner H3 has a thermal sensor like the one in A33, but have its > registers nearly all re-arranged, sample clock moved to CCU and a pair > of bus clock and reset added. It's also the

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Quentin Schulz
Hi, On 28/03/2017 19:30, Icenowy Zheng wrote: > This adds support for the Allwinner H3 thermal sensor. > > Allwinner H3 has a thermal sensor like the one in A33, but have its > registers nearly all re-arranged, sample clock moved to CCU and a pair > of bus clock and reset added. It's also the

[RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-28 Thread Icenowy Zheng
This adds support for the Allwinner H3 thermal sensor. Allwinner H3 has a thermal sensor like the one in A33, but have its registers nearly all re-arranged, sample clock moved to CCU and a pair of bus clock and reset added. It's also the base of newer SoCs' thermal sensors. An option is added to

[RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-28 Thread Icenowy Zheng
This adds support for the Allwinner H3 thermal sensor. Allwinner H3 has a thermal sensor like the one in A33, but have its registers nearly all re-arranged, sample clock moved to CCU and a pair of bus clock and reset added. It's also the base of newer SoCs' thermal sensors. An option is added to