b23bf21f55
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>
12 lines
242 B
C
12 lines
242 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
|
|
#define _DT_BINDINGS_IIO_ADC_INGENIC_ADC_H
|
|
|
|
/* ADC channel idx. */
|
|
#define INGENIC_ADC_AUX 0
|
|
#define INGENIC_ADC_BATTERY 1
|
|
#define INGENIC_ADC_AUX2 2
|
|
|
|
#endif
|