adc: Add range control