iio: adc: imx93: add four channels for imx93 adc
[email protected]
maintainerPATCH 1/1 iio: adc: imx93: add four channels for imx93 adc
From: Haibo Chen <[email protected]>
According to the spec, this ADC totally support 8 channels. i.MX93 contain this ADC with 4 channels connected to pins in the package. i.MX95 contain this ADC with 8 channels connected to pins in the package.
--- drivers/iio/adc/imx93_adc.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/iio/adc/imx93_adc.c +4 -0
@@ -93,6 +93,10 @@ static const struct iio_chan_spec imx93_adc_iio_channels[] = {IMX93_ADC_CHAN (1 ),IMX93_ADC_CHAN (2 ),IMX93_ADC_CHAN (3 ), +IMX93_ADC_CHAN (4 ), +IMX93_ADC_CHAN (5 ), +IMX93_ADC_CHAN (6 ), + IMX93_ADC_CHAN(7), };static void imx93_adc_power_down (struct imx93_adc *adc)
Signature · 1 line
2.34.1
Jonathan Cameron
maintainerQuoted 8 lines · On Thu, 16 Nov 2023 15:10:26 +0800 [email protected] wrote:
From: Haibo Chen <[email protected]>
According to the spec, this ADC totally support 8 channels. i.MX93 contain this ADC with 4 channels connected to pins in the package. i.MX95 contain this ADC with 8 channels connected to pins in the package.
Signed-off-by Haibo Chen <[email protected]>
Should I treat this as a fix?
If so could you reply with a fixes tag please
Thanks,
Jonathan
Quoted 19 lines
--- drivers/iio/adc/imx93_adc.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/iio/adc/imx93_adc.c +4
-0@@ -93,6 +93,10 @@ static const struct iio_chan_spec imx93_adc_iio_channels[] = {IMX93_ADC_CHAN (1 ),IMX93_ADC_CHAN (2 ),IMX93_ADC_CHAN (3 ), +IMX93_ADC_CHAN (4 ), +IMX93_ADC_CHAN (5 ), +IMX93_ADC_CHAN (6 ), + IMX93_ADC_CHAN(7), };static void imx93_adc_power_down (struct imx93_adc *adc)
Bough Chen
maintainerQuoted 19 lines
-----Original Message-----
From: Jonathan Cameron <[email protected]>
Sent: 2023年11月27日 0:03
To: Bough Chen <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]
Subject: Re: [PATCH] iio: adc: imx93: add four channels for imx93 adcQuoted 7 lines · On Thu, 16 Nov 2023 15:10:26 +0800 [email protected] wrote:
From: Haibo Chen <[email protected]>
According to the spec, this ADC totally support 8 channels. i.MX93 contain this ADC with 4 channels connected to pins in the package. i.MX95 contain this ADC with 8 channels connected to pins in the package.
Quoted 4 lines
Quoted 1 line
Signed-off-by Haibo Chen <[email protected]>Should I treat this as a fix?
If so could you reply with a fixes tag please
Yes, please help add:
Thanks
Haibo Chen
Quoted 25 lines
Thanks,
Jonathan
drivers/iio/adc/imx93_adc.c static const struct iio_chan_spec
Quoted 9 lines
--- drivers/iio/adc/imx93_adc.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/iio/adc/imx93_adc.c +0
-0@@ -93,6 +93,10 @@ static const struct iio_chan_specimx93_adc_iio_channels[] = {
Quoted 10 lines
drivers/iio/adc/imx93_adc.c +4
-0IMX93_ADC_CHAN (1 ),IMX93_ADC_CHAN (2 ),IMX93_ADC_CHAN (3 ), +IMX93_ADC_CHAN (4 ), +IMX93_ADC_CHAN (5 ), +IMX93_ADC_CHAN (6 ), + IMX93_ADC_CHAN(7), };static void imx93_adc_power_down (struct imx93_adc *adc)
Quoted 19 lines · On Mon, 27 Nov 2023 02:47:31 +0000 Bough Chen <[email protected]> wrote:
Quoted 19 lines
-----Original Message-----
From: Jonathan Cameron <[email protected]>
Sent: 2023年11月27日 0:03
To: Bough Chen <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]
Subject: Re: [PATCH] iio: adc: imx93: add four channels for imx93 adcQuoted 7 lines · On Thu, 16 Nov 2023 15:10:26 +0800 [email protected] wrote:
From: Haibo Chen <[email protected]>
According to the spec, this ADC totally support 8 channels. i.MX93 contain this ADC with 4 channels connected to pins in the package. i.MX95 contain this ADC with 8 channels connected to pins in the package.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Haibo Chen <[email protected]>Should I treat this as a fix?
If so could you reply with a fixes tag please
Yes, please help add:
Fixes 7d02296ac8b8 ("iio: adc: add imx93 adc support")
Applied. Thanks,
Jonathan
Quoted 29 lines
Thanks
Haibo ChenQuoted 25 lines
Thanks,
Jonathan
drivers/iio/adc/imx93_adc.c static const struct iio_chan_spec
Quoted 9 lines
--- drivers/iio/adc/imx93_adc.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/iio/adc/imx93_adc.c +0
-0@@ -93,6 +93,10 @@ static const struct iio_chan_specimx93_adc_iio_channels[] = {
Quoted 10 lines
drivers/iio/adc/imx93_adc.c +4
-0IMX93_ADC_CHAN (1 ),IMX93_ADC_CHAN (2 ),IMX93_ADC_CHAN (3 ), +IMX93_ADC_CHAN (4 ), +IMX93_ADC_CHAN (5 ), +IMX93_ADC_CHAN (6 ), + IMX93_ADC_CHAN(7), };static void imx93_adc_power_down (struct imx93_adc *adc)