diff mbox series

[v2,2/3] dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC.

Message ID 20190204001514.29891-2-contact@artur-rojek.eu (mailing list archive)
State New, archived
Headers show
Series [v2,1/3] dt-bindings: iio/adc: Add docs for Ingenic JZ47xx SoCs ADC. | expand

Commit Message

Artur Rojek Feb. 4, 2019, 12:15 a.m. UTC
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>
---

 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

Comments

Jonathan Cameron Feb. 9, 2019, 3:39 p.m. UTC | #1
On Mon,  4 Feb 2019 01:15:13 +0100
Artur Rojek <contact@artur-rojek.eu> wrote:

> 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>
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
diff mbox series

Patch

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