iio: adc: imx93: add four channels for imx93 adc
authorHaibo Chen <haibo.chen@nxp.com>
Thu, 16 Nov 2023 07:10:26 +0000 (15:10 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 4 Dec 2023 09:56:28 +0000 (09:56 +0000)
commit2475ecdb9b6e177b133cf26e64e8d441d37bebde
tree35e152ba99b8f585743eb2795f0958ebf54f221f
parent60576e84c187043cef11f11d015249e71151d35a
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 <haibo.chen@nxp.com>
Fixes: 7d02296ac8b8 ("iio: adc: add imx93 adc support")
Link: https://lore.kernel.org/r/20231116071026.611269-1-haibo.chen@nxp.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/imx93_adc.c