Post Go back to editing

Driver to support external voltage reference

I think one of the new requirements I have for the Linux driver of adaq400x in Zedboard is the support for external voltage reference, other than a single Vref (which as of now is fixed to 5V).

How can a Linux IIO driver support more than one Vref? Does it help if the device tree Vref node has a range between the regulator-min-microvolt and regulator-max-microvolt properties (instead of being equal)?