diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2021-09-01 15:30:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-09-14 12:00:34 +0100 |
commit | e6d5eee4dfa28a3517b8089c7a6f3eb3f3fa1456 (patch) | |
tree | 2bf999dd8cf344f916a9b61350ab199b7217258e /lib | |
parent | 8940de2e48902e95b588b6244d5a1b61a4d75c4a (diff) | |
download | lwn-e6d5eee4dfa28a3517b8089c7a6f3eb3f3fa1456.tar.gz lwn-e6d5eee4dfa28a3517b8089c7a6f3eb3f3fa1456.zip |
iio: adc: at91-sama5d2_adc: add support for separate end of conversion registers
Some platforms have separated the end-of-conversion information from the
usual ISR/IMR/IER/IDR registers, into EOC_ISR/EOC_IMR/EOC_IER/EOC_IDR.
To cope with both variants, helpers are being added, that will make
code more clear and more easy to read.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Link: https://lore.kernel.org/r/20210901123013.329792-6-eugen.hristev@microchip.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions