diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-11-28 23:28:10 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-12-03 19:40:22 +0000 |
commit | 5eb39ef81ab9c8376df27dab20ca63c6e4c76870 (patch) | |
tree | 0c5ca25560984a66da86f9cf0b4b39e4b64017e9 /Documentation | |
parent | 197cefcdc81d6a253487e5dfbaffb01f0a2f9172 (diff) |
iio: adc: at91_adc: rework resolution selection
Move the possible resolution values back to the driver. This removes the
atmel,adc-res and atmel,adc-res-names properties, leaving only
atmel,adc-use-res. As atmel,adc-res-names had to contain "lowres" and
"highres", those where already the only allowed values for
atmel,adc-use-res.
Also introduce a new compatible string for the sama5d3 as this is the only
one with a different resolution. Also it doesn't even have the LOWRES
bit.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20201128222818.1910764-3-alexandre.belloni@bootlin.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions