Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NXP: MLK-11476 iio: adc: Enable i.MX6SX adc driver.
Enable i.MX6SX adc driver. ADC driver will try getting ADC controller channel number via device tree, because i.MX chip enable 4 channels on each controller. Signed-off-by: Luwei Zhou <b45643@freescale.com> Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit 9a1c0b13424b1c8f2cddbe863cdcdc04ecd6a822) Using this patch to provide a number of channel limitation if the supported channel number is smaller than the maximum channel number. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Christoph Fritz <chf@fritzc.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Andrej Picej <andrej.picej@norik.com> Reviewed-by: Yunus Bas <y.bas@phytec.de>
- Loading branch information