From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH v2 2/3] dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC. Date: Sat, 9 Feb 2019 15:39:36 +0000 Message-ID: <20190209153936.351ac73a@archlinux> References: <20190204001514.29891-1-contact@artur-rojek.eu> <20190204001514.29891-2-contact@artur-rojek.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190204001514.29891-2-contact@artur-rojek.eu> Sender: linux-kernel-owner@vger.kernel.org To: Artur Rojek Cc: Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil List-Id: devicetree@vger.kernel.org On Mon, 4 Feb 2019 01:15:13 +0100 Artur Rojek wrote: > Add device tree bindings for the ADC controller on JZ47xx SoCs, > used by the ingenic-adc driver. > > Signed-off-by: Artur Rojek Applied, Thanks, Jonathan > --- > > Changes: > > v2: no change > > include/dt-bindings/iio/adc/ingenic,adc.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 include/dt-bindings/iio/adc/ingenic,adc.h > > diff --git a/include/dt-bindings/iio/adc/ingenic,adc.h b/include/dt-bindings/iio/adc/ingenic,adc.h > new file mode 100644 > index 000000000000..82706b2706ac > --- /dev/null > +++ b/include/dt-bindings/iio/adc/ingenic,adc.h > @@ -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