OSDN Git Service

iio: adc: meson: support reading from channel 7 mux inputs
authorGeorge Stark <gnstark@sberdevices.ru>
Fri, 14 Jul 2023 11:37:53 +0000 (14:37 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:31 +0000 (19:21 +0100)
commit3a06b2845a09a2c7bcbd909d4289353f054363e9
tree305d2970e9e6296e479e9708a808c9953b131804
parentb593ce5db22483dd66405861ac3f782e5a7cd9f3
iio: adc: meson: support reading from channel 7 mux inputs

Add IIO channel for all muxed inputs of channel 7.
Meson saradc channel 7 is connected to a mux that can switch input
to well-known sources like Vdd, GND and several Vdd dividers.

Signed-off-by: George Stark <GNStark@sberdevices.ru>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230714114010.293440-7-gnstark@sberdevices.ru
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c