iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 31 Oct 2017 20:01:45 +0000 (21:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Dec 2017 08:52:49 +0000 (09:52 +0100)
commitb13ec02ab4a24192ad56b47e39a82269cc4825ca
tree73b2b1ce2648a0369f93577b7d6091461484d880
parentb6c6d01a2debe8df9541a9bd21cc60760d20f6a2
iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13

commit 96748823c483c6eed8321f78bd128dd33f09c55c upstream.

The Meson GXBB and newer SoCs have a few more registers than the older
Meson8 and Meson8b SoCs.
Use a separate regmap config to limit the older SoCs to the DELTA_10
register.

Fixes: 6c76ed31cd05 ("iio: adc: meson-saradc: add Meson8b SoC compatibility")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/meson_saradc.c