Skip to content

Commit 2475ecd

Browse files
Haibo Chenjic23
authored andcommitted
iio: adc: imx93: add four channels for imx93 adc
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]> Fixes: 7d02296 ("iio: adc: add imx93 adc support") Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 60576e8 commit 2475ecd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/iio/adc/imx93_adc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ static const struct iio_chan_spec imx93_adc_iio_channels[] = {
9393
IMX93_ADC_CHAN(1),
9494
IMX93_ADC_CHAN(2),
9595
IMX93_ADC_CHAN(3),
96+
IMX93_ADC_CHAN(4),
97+
IMX93_ADC_CHAN(5),
98+
IMX93_ADC_CHAN(6),
99+
IMX93_ADC_CHAN(7),
96100
};
97101

98102
static void imx93_adc_power_down(struct imx93_adc *adc)

0 commit comments

Comments
 (0)