2011/10/10 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>: > On Mon, Oct 10, 2011 at 10:42:49AM +0100, Jonathan Cameron wrote: > >> It really depends on what those general adc callbacks get used for. > > If it's a general purpose ADC it's up to the board designer - you > sometimes see things like battery or supply monitoring but really it > could be any low volume analogue input. It's really up to the board designer. In this case, all real-world scenarios use the adc for analog-keys AND battery monitoring. Jonathan, your analysis of the driver is completely correct: Currently, only the not-yet-submitted analog-keys input driver uses this, but I'd like to add battery monitoring shortly, so this has at least two users. Where should the adc driver go in this case ? Zoltan -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html