From: Stefan Agner Date: Wed, 27 May 2015 12:47:51 +0000 (+0200) Subject: iio: adc: vf610: implement configurable conversion modes X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~256^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf04c1a367e3d52b2e071cc7c7047c27dc1c3c5f;p=pandora-kernel.git 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: Fugang Duan Signed-off-by: Stefan Agner Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed