mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-09 23:34:42 +08:00
d827cbcdb3
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>
19 lines
455 B
C
19 lines
455 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
|
|
#define INGENIC_ADC_TOUCH_XP 3
|
|
#define INGENIC_ADC_TOUCH_YP 4
|
|
#define INGENIC_ADC_TOUCH_XN 5
|
|
#define INGENIC_ADC_TOUCH_YN 6
|
|
#define INGENIC_ADC_TOUCH_XD 7
|
|
#define INGENIC_ADC_TOUCH_YD 8
|
|
#define INGENIC_ADC_AUX0 9
|
|
|
|
#endif
|