mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC.
Add device tree bindings for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
86117ba3f9
commit
7cf74d515b
1 changed files with 10 additions and 0 deletions
10
include/dt-bindings/iio/adc/ingenic,adc.h
Normal file
10
include/dt-bindings/iio/adc/ingenic,adc.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* 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
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue