Skip to content
Commit bf04c1a3 authored by Stefan Agner's avatar Stefan Agner Committed by Jonathan Cameron
Browse files

iio: adc: vf610: implement configurable conversion modes



Support configurable conversion mode through sysfs. So far, the
mode used was low-power, which is enabled by default now. Beside
that, the modes normal and high-speed are selectable as well.

Use the new device tree property which specifies the maximum ADC
conversion clock frequencies. Depending on the mode used, the
available resulting conversion frequency are calculated
dynamically.

Acked-by: default avatarFugang Duan <B38611@freescale.com>
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 994bda83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment