Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-05 Thread Quentin Schulz
On 04/07/2016 18:29, Guenter Roeck wrote: > On 07/04/2016 12:26 AM, Quentin Schulz wrote: >> On 03/07/2016 17:43, Guenter Roeck wrote: >>> On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-05 Thread Quentin Schulz
On 04/07/2016 18:29, Guenter Roeck wrote: > On 07/04/2016 12:26 AM, Quentin Schulz wrote: >> On 03/07/2016 17:43, Guenter Roeck wrote: >>> On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Guenter Roeck
On 07/04/2016 12:26 AM, Quentin Schulz wrote: On 03/07/2016 17:43, Guenter Roeck wrote: On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Guenter Roeck
On 07/04/2016 12:26 AM, Quentin Schulz wrote: On 03/07/2016 17:43, Guenter Roeck wrote: On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Quentin Schulz
On 03/07/2016 17:43, Guenter Roeck wrote: > On 07/03/2016 04:54 AM, Jonathan Cameron wrote: >> On 28/06/16 09:18, Quentin Schulz wrote: >>> The Allwinner SoCs all have an ADC that can also act as a touchscreen >>> controller and a thermal sensor. This patch adds the ADC driver which is >>> based

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Quentin Schulz
On 03/07/2016 17:43, Guenter Roeck wrote: > On 07/03/2016 04:54 AM, Jonathan Cameron wrote: >> On 28/06/16 09:18, Quentin Schulz wrote: >>> The Allwinner SoCs all have an ADC that can also act as a touchscreen >>> controller and a thermal sensor. This patch adds the ADC driver which is >>> based

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Guenter Roeck
On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Guenter Roeck
On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 03/07/16 12:54, Jonathan Cameron wrote: > On 28/06/16 09:18, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. >> >> This also

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 03/07/16 12:54, Jonathan Cameron wrote: > On 28/06/16 09:18, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. >> >> This also

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. This patch adds the ADC driver which is > based on the MFD for the same SoCs ADC. > > This also registers the thermal adc channel in the iio map

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. This patch adds the ADC driver which is > based on the MFD for the same SoCs ADC. > > This also registers the thermal adc channel in the iio map

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-06-28 Thread Antoine Tenart
Hello Quentin! On Tue, Jun 28, 2016 at 10:18:16AM +0200, Quentin Schulz wrote: > > diff --git a/drivers/iio/adc/sunxi-gpadc-iio.c > b/drivers/iio/adc/sunxi-gpadc-iio.c > new file mode 100644 > index 000..5840f43 > --- /dev/null > +++ b/drivers/iio/adc/sunxi-gpadc-iio.c > @@ -0,0 +1,371 @@

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-06-28 Thread Antoine Tenart
Hello Quentin! On Tue, Jun 28, 2016 at 10:18:16AM +0200, Quentin Schulz wrote: > > diff --git a/drivers/iio/adc/sunxi-gpadc-iio.c > b/drivers/iio/adc/sunxi-gpadc-iio.c > new file mode 100644 > index 000..5840f43 > --- /dev/null > +++ b/drivers/iio/adc/sunxi-gpadc-iio.c > @@ -0,0 +1,371 @@

[PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-06-28 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers the thermal adc channel in the iio map array so iio_hwmon could use it without modifying the

[PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-06-28 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers the thermal adc channel in the iio map array so iio_hwmon could use it without modifying the