Re: [PATCH v2 2/2] iio: adc: sun4i_lradc: new driver

2016-07-18 Thread Jonathan Cameron
On 12/07/16 20:04, Alexandre Belloni wrote: > Add an IIO driver for the Allwinner Low Resolution ADC. This ADC is usually > used for physical buttons connected using a resistor ladder. > > Signed-off-by: Alexandre Belloni A few small bits and pieces from me... Jonathan > --- > Changes in v2: >

Re: [PATCH v2 2/2] iio: adc: sun4i_lradc: new driver

2016-07-18 Thread Maxime Ripard
Hi Alex, On Tue, Jul 12, 2016 at 09:04:12PM +0200, Alexandre Belloni wrote: > Add an IIO driver for the Allwinner Low Resolution ADC. This ADC is usually > used for physical buttons connected using a resistor ladder. > > Signed-off-by: Alexandre Belloni > --- > Changes in v2: > - prefixed defin

[PATCH v2 2/2] iio: adc: sun4i_lradc: new driver

2016-07-12 Thread Alexandre Belloni
Add an IIO driver for the Allwinner Low Resolution ADC. This ADC is usually used for physical buttons connected using a resistor ladder. Signed-off-by: Alexandre Belloni --- Changes in v2: - prefixed defines with SUN4I_LRADC_ - removed sun4i_lradc_write_raw_get_fmt - set indio_dev->dev.of_node