summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Branchereau <cbranchereau@gmail.com>2021-07-26 10:20:30 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-07-31 19:14:53 +0200
commitd827cbcdb34e1972e31cf7e603410c05de584ca9 (patch)
tree06322e8c7afa5a70a646deee1f5970a9516bd0c3
parentiio/adc: ingenic: rename has_aux2 to has_aux_md (diff)
downloadlinux-d827cbcdb34e1972e31cf7e603410c05de584ca9.tar.xz
linux-d827cbcdb34e1972e31cf7e603410c05de584ca9.zip
dt-bindings: iio/adc: add an INGENIC_ADC_AUX0 entry
The JZ4760(B) socs have 3 AUX inputs, add an entry to prepare including the one named AUX in the sadc driver. Leaving the rest untouched as it's ABI. Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210726082033.351533-3-cbranchereau@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--include/dt-bindings/iio/adc/ingenic,adc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/iio/adc/ingenic,adc.h b/include/dt-bindings/iio/adc/ingenic,adc.h
index 4627a00e369e..a6ccc031635b 100644
--- a/include/dt-bindings/iio/adc/ingenic,adc.h
+++ b/include/dt-bindings/iio/adc/ingenic,adc.h
@@ -13,5 +13,6 @@
#define INGENIC_ADC_TOUCH_YN 6
#define INGENIC_ADC_TOUCH_XD 7
#define INGENIC_ADC_TOUCH_YD 8
+#define INGENIC_ADC_AUX0 9
#endif