diff options
author | Stefan Agner <stefan@agner.ch> | 2015-05-27 14:47:51 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-07 18:53:25 +0200 |
commit | bf04c1a367e3d52b2e071cc7c7047c27dc1c3c5f (patch) | |
tree | fff0047d5bf6073ef91f709df2616a3eeb7e04d0 /drivers/iio/common | |
parent | iio: adc: twl4030_madc: Fix description of twl4030_madc_set_current_generator() (diff) | |
download | linux-bf04c1a367e3d52b2e071cc7c7047c27dc1c3c5f.tar.xz linux-bf04c1a367e3d52b2e071cc7c7047c27dc1c3c5f.zip |
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 <B38611@freescale.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions