Re: [PATCH 3/5] iio: adc: ad7606: Make SPI register calculation generic and add spi support

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:06 +0300 Beniamin Bia wrote: > In order to support AD7616 software mode, the spi register access must be > added and the calculation of registers address must be generic. > The length of address and bit which specifies the read/write operation is > different for every

[PATCH 3/5] iio: adc: ad7606: Make SPI register calculation generic and add spi support

2019-05-16 Thread Beniamin Bia
In order to support AD7616 software mode, the spi register access must be added and the calculation of registers address must be generic. The length of address and bit which specifies the read/write operation is different for every device, that is why it was made generic. Signed-off-by: Beniamin