> From: linux-iio-owner@xxxxxxxxxxxxxxx <linux-iio-owner@xxxxxxxxxxxxxxx> > On Behalf Of Alexandru Ardelean > Sent: Freitag, 24. April 2020 07:18 > To: linux-iio@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Cc: jic23@xxxxxxxxxx; lars@xxxxxxxxxx; Ardelean, Alexandru > <alexandru.Ardelean@xxxxxxxxxx> > Subject: [RFC PATCH 0/4] iio: scan_mask rework to track enabled channels on > per-channel basis > > > From my side, I'll admit that the specific use-cases for these patches > are a bit outside of my scope of understanding. > I did my best to re-apply them on a newer tree, and dig-up the > information from the ADI tree [where they've been living for a while > now]. > > Also, I don't have any idea if there was a prior discussion about this. > I could not find anything on a quick search. > > I'm hoping that the author would have some input on them/ > > Hence the RFC. > Yeah, I remember I stumbled against this when looking to some of our drivers where we have (IIRC) a 16 channel ADC where 1 channel occupies 1 bit. I just gave a quick look on this and it looks good to me (naturally it needs a deeper look :D). I just have one remark/question inline in patch 4. - Nuno Sá