summaryrefslogtreecommitdiff
path: root/include/dt-bindings/iio
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2019-07-27 21:59:39 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-09-08 13:23:44 +0100
commitb23bf21f550a6736316e65bd302fff3c9cf78c7a (patch)
treec0770de3c639cfbb8b1c6b93031c4373b0286f0c /include/dt-bindings/iio
parentcec8b1e3cb518e191a8491a426a03d4507fa82ee (diff)
dt-bindings: iio/adc: Add AUX2 channel idx for JZ4770 SoC ADC
Introduce support for AUX2 channel found in ADC hardware present on Ingenic JZ4770 SoC. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/dt-bindings/iio')
-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 82706b2706ac..42f871ab3272 100644
--- a/include/dt-bindings/iio/adc/ingenic,adc.h
+++ b/include/dt-bindings/iio/adc/ingenic,adc.h
@@ -6,5 +6,6 @@
/* ADC channel idx. */
#define INGENIC_ADC_AUX 0
#define INGENIC_ADC_BATTERY 1
+#define INGENIC_ADC_AUX2 2
#endif