Skip to contentSkip to conversation

iio: adc: imx93: add four channels for imx93 adc

PATCH Applied [email protected] 2 participants 4 messages Nov 16, 2023 – Dec 4, 2023

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 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
index 9bb1e4ba1aee..4ccf4819f1f1 100644
@@ -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
maintainer
#1 lore raw
Quoted 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.

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
index 9bb1e4ba1aee..4ccf4819f1f1 100644
@@ -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)
author maintainer
#2 lore raw
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 adc

Quoted 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

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")

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
index 9bb1e4ba1aee..4ccf4819f1f1 100644
@@ -93,6 +93,10 @@ static const struct iio_chan_spec

imx93_adc_iio_channels[] = {

Quoted 10 lines
drivers/iio/adc/imx93_adc.c +4 -0
 	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)
maintainer Applied
#3 lore raw
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 adc

Quoted 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

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 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
index 9bb1e4ba1aee..4ccf4819f1f1 100644
@@ -93,6 +93,10 @@ static const struct iio_chan_spec  

imx93_adc_iio_channels[] = {

Quoted 10 lines
drivers/iio/adc/imx93_adc.c +4 -0
 	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)