iio: max517: Add support for MAX520 and MAX521 chips.

MAX520 and MAX521 are protocol-compatible with the already supported
chips, just have more channels.

Signed-off-by: Antonio Fiol <antonio@fiol.es>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Antonio Fiol
2015-03-28 09:07:14 +01:00
committed by Jonathan Cameron
parent 7253606d38
commit a878a1a61a
3 changed files with 42 additions and 16 deletions

View File

@@ -9,7 +9,7 @@
#define IIO_DAC_MAX517_H_
struct max517_platform_data {
u16 vref_mv[2];
u16 vref_mv[8];
};
#endif /* IIO_DAC_MAX517_H_ */