]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: iio/adc: Add AUX2 channel idx for JZ4770 SoC ADC
authorArtur Rojek <contact@artur-rojek.eu>
Sat, 27 Jul 2019 19:59:39 +0000 (21:59 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Sep 2019 12:23:44 +0000 (13:23 +0100)
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>
include/dt-bindings/iio/adc/ingenic,adc.h

index 82706b2706acb2f50502a4f29529d847ff870ca3..42f871ab3272b60f351b21907c8ce0a3f5986df9 100644 (file)
@@ -6,5 +6,6 @@
 /* ADC channel idx. */
 #define INGENIC_ADC_AUX                0
 #define INGENIC_ADC_BATTERY    1
+#define INGENIC_ADC_AUX2       2
 
 #endif