diff options
author | Gregory CLEMENT <gregory.clement@bootlin.com> | 2019-03-15 10:52:30 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 21:20:02 +0200 |
commit | e32cff6f6163fa03b41812eeab0f8d6a429ef416 (patch) | |
tree | 3aaedc7063f5639d61f2a6d780f961c6c91135d9 /.gitignore | |
parent | iio: adc: lpc32xx: Cleanup headers (diff) | |
download | linux-e32cff6f6163fa03b41812eeab0f8d6a429ef416.tar.xz linux-e32cff6f6163fa03b41812eeab0f8d6a429ef416.zip |
iio: adc: lpc32xx: Add scale feature
Until now this driver only exposed the raw value of the channels. With
this patch, the scale value is also exposed.
It depends of a regulator supply, and unlike most of the other driver, do
not having this regulator won't prevent to use the driver. The reason for
it is to allow to continue to use this driver with an old device tree. If
there is no regulator supply then the scale won't be exposed.
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions