2021-07-24 19:06:33

by Christophe Branchereau

[permalink] [raw]
Subject: [PATCH v3 2/5] dt-bindings: iio/adc: add an INGENIC_ADC_AUX0 entry

The JZ4760(B) socs have 3 AUX inputs, add an entry to prepare including the one named AUX in the sadc driver.
Leaving the rest untouched as it's ABI.

Signed-off-by: Christophe Branchereau <[email protected]>
---
include/dt-bindings/iio/adc/ingenic,adc.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/dt-bindings/iio/adc/ingenic,adc.h b/include/dt-bindings/iio/adc/ingenic,adc.h
index 4627a00e369e..a6ccc031635b 100644
--- a/include/dt-bindings/iio/adc/ingenic,adc.h
+++ b/include/dt-bindings/iio/adc/ingenic,adc.h
@@ -13,5 +13,6 @@
#define INGENIC_ADC_TOUCH_YN 6
#define INGENIC_ADC_TOUCH_XD 7
#define INGENIC_ADC_TOUCH_YD 8
+#define INGENIC_ADC_AUX0 9

#endif
--
2.30.2


2021-07-25 09:16:18

by Paul Cercueil

[permalink] [raw]
Subject: Re: [PATCH v3 2/5] dt-bindings: iio/adc: add an INGENIC_ADC_AUX0 entry



Le sam., juil. 24 2021 at 21:04:46 +0200, Christophe Branchereau
<[email protected]> a ?crit :
> The JZ4760(B) socs have 3 AUX inputs, add an entry to prepare
> including the one named AUX in the sadc driver.
> Leaving the rest untouched as it's ABI.
>
> Signed-off-by: Christophe Branchereau <[email protected]>

Reviewed-by: Paul Cercueil <[email protected]>

Cheers,
-Paul

> ---
> include/dt-bindings/iio/adc/ingenic,adc.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/dt-bindings/iio/adc/ingenic,adc.h
> b/include/dt-bindings/iio/adc/ingenic,adc.h
> index 4627a00e369e..a6ccc031635b 100644
> --- a/include/dt-bindings/iio/adc/ingenic,adc.h
> +++ b/include/dt-bindings/iio/adc/ingenic,adc.h
> @@ -13,5 +13,6 @@
> #define INGENIC_ADC_TOUCH_YN 6
> #define INGENIC_ADC_TOUCH_XD 7
> #define INGENIC_ADC_TOUCH_YD 8
> +#define INGENIC_ADC_AUX0 9
>
> #endif
> --
> 2.30.2
>