mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 08:30:52 +07: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
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 New Issue
Block a user