Skip to content

Commit

Permalink
dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC.
Browse files Browse the repository at this point in the history
Add device tree bindings for the ADC controller on JZ47xx SoCs,
used by the ingenic-adc driver.

Signed-off-by: Artur Rojek <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
zear authored and jic23 committed Feb 9, 2019
1 parent 86117ba commit 7cf74d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/dt-bindings/iio/adc/ingenic,adc.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7cf74d5

Please sign in to comment.