From: George Stark <GNStark@xxxxxxxxxxxxxx> Changelog: v1->v2: split refactoring patch [1] into 4 smaller patches, fix comment style [1] https://lore.kernel.org/lkml/20230621062715.455652-2-gnstark@xxxxxxxxxxxxxx/ v2->v3: remove patch 'meson saradc: unite iio channel array definitions' [1] after discussion patch 'meson saradc: add enum for iio channel array indexes' - change enum items prefix from INDEX_ to NUM_ since name 'channel index' is more relevant to channel array index in iio world and with 2 tables our array index is not always equal to channel number - resolve conflicts after deleting [1] - update commit message, previous patch [2] - return channel number for temp channel. It wasn't used and isn't used currently but may need later patch meson saradc: support reading from channel 7 mux inputs - resolve conflicts after deleting [1] - update commit message, previous patch [3] - add routine find_channel_by_num to get channel by channel number [1] https://lore.kernel.org/lkml/20230623022334.791026-4-gnstark@xxxxxxxxxxxxxx/ [2] https://lore.kernel.org/lkml/20230623022334.791026-5-gnstark@xxxxxxxxxxxxxx/ [3] https://lore.kernel.org/lkml/20230623022334.791026-7-gnstark@xxxxxxxxxxxxxx/ George Stark (5): meson saradc: move enums declaration before variables declaration meson saradc: move meson_sar_adc_set_chan7_mux routine upper meson saradc: add enum for iio channel numbers meson saradc: add channel labels meson saradc: support reading from channel 7 mux inputs drivers/iio/adc/meson_saradc.c | 165 +++++++++++++++++++++++++-------- 1 file changed, 126 insertions(+), 39 deletions(-) -- 2.38.4