Message ID | 20230627224017.1724097-1-gnstark@sberdevices.ru (mailing list archive) |
---|---|
Headers | show |
Series | meson saradc: add iio channels to read channel 7 mux inputs | expand |
On Wed, 28 Jun 2023 01:37:13 +0300 George Stark <gnstark@sberdevices.ru> wrote: > From: George Stark <GNStark@sberdevices.ru> > > Changelog: > > v1->v2: > split refactoring patch [1] into 4 smaller patches, fix comment style > > [1] https://lore.kernel.org/lkml/20230621062715.455652-2-gnstark@sberdevices.ru/ > > 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@sberdevices.ru/ > [2] https://lore.kernel.org/lkml/20230623022334.791026-5-gnstark@sberdevices.ru/ > [3] https://lore.kernel.org/lkml/20230623022334.791026-7-gnstark@sberdevices.ru/ > > 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 iio: adc: meson: .... to make it clear these are changing the IIO driver. Jonathan ` > > drivers/iio/adc/meson_saradc.c | 165 +++++++++++++++++++++++++-------- > 1 file changed, 126 insertions(+), 39 deletions(-) >
From: George Stark <GNStark@sberdevices.ru> Changelog: v1->v2: split refactoring patch [1] into 4 smaller patches, fix comment style [1] https://lore.kernel.org/lkml/20230621062715.455652-2-gnstark@sberdevices.ru/ 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@sberdevices.ru/ [2] https://lore.kernel.org/lkml/20230623022334.791026-5-gnstark@sberdevices.ru/ [3] https://lore.kernel.org/lkml/20230623022334.791026-7-gnstark@sberdevices.ru/ 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(-)