Re: [PATCH v5 1/2] iio: adc: add driver for Rockchip saradc

2014-07-20 Thread Lars-Peter Clausen
On 07/14/2014 10:43 PM, Heiko Stübner wrote: Looks really good overall. [...] +static int rockchip_saradc_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int *val, int *val2, long mask) +{ + stru

Re: [PATCH v5 1/2] iio: adc: add driver for Rockchip saradc

2014-07-20 Thread Hartmut Knaack
Heiko Stübner schrieb: > The ADC is a 3-channel signal-ended 10-bit Successive Approximation > Register (SAR) A/D Converter. It uses the supply and ground as its reference > and converts the analog input signal into 10-bit binary digital codes. > > Signed-off-by: Heiko Stuebner Reviewed-by: Hartmu

[PATCH v5 1/2] iio: adc: add driver for Rockchip saradc

2014-07-14 Thread Heiko Stübner
The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: Heiko Stuebner --- changes since v4: - address comments from Hartm