Re: [PATCH v5 06/11] staging:iio:ad7780: add chip ID values and mask

2019-03-16 Thread Jonathan Cameron
On Fri, 15 Mar 2019 23:14:27 -0300 Renato Lui Geh wrote: > The ad7780 supports both the ad778x and ad717x families. Each chip has > a corresponding ID. This patch provides a mask for extracting ID values > from the status bits and also macros for the correct values for the > ad7170, ad7171,

[PATCH v5 06/11] staging:iio:ad7780: add chip ID values and mask

2019-03-15 Thread Renato Lui Geh
The ad7780 supports both the ad778x and ad717x families. Each chip has a corresponding ID. This patch provides a mask for extracting ID values from the status bits and also macros for the correct values for the ad7170, ad7171, ad7780 and ad7781. Signed-off-by: Renato Lui Geh --- Changes in v5: