Message ID | 20210724190449.221894-3-cbranchereau@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | iio/adc: ingenic: add support for the JZ4760(B) Socs to the ingenic sadc driver | expand |
Le sam., juil. 24 2021 at 21:04:46 +0200, Christophe Branchereau <cbranchereau@gmail.com> 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 <cbranchereau@gmail.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> 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 >
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
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 <cbranchereau@gmail.com> --- include/dt-bindings/iio/adc/ingenic,adc.h | 1 + 1 file changed, 1 insertion(+)