[PATCH v4 0/3] iio: adc: mt6360: Add ADC driver for MT6360

From: Gene Chen
Date: Tue Sep 15 2020 - 13:54:15 EST


This patch series add MT6360 ADC support contains driver, testing document
and binding document

Gene Chen (2)
dt-bindings: iio: adc: add bindings doc for MT6360 ADC
Documentation: ABI: testing: mt6360: Add ADC sysfs guideline
iio: adc: mt6360: Add ADC driver for MT6360

Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 | 83 ++
Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml | 32
drivers/iio/adc/Kconfig | 11
drivers/iio/adc/Makefile | 1
drivers/iio/adc/mt6360-adc.c | 357 ++++++++++
5 files changed, 484 insertions(+)

changelogs between v1 & v2
- adc: use IIO_CHAN_INFO_PROCESSED only
- adc: use devm_iio_triggered_buffer_setup
- adc: use use s64 to record timestamp

changelogs between v2 & v3
- Rearrange include file order by alphabet
- Set line length constraint below 100
- Add Document for testing adc sysfs node guideline
- Set compiler 64 bit aligned when handle iio timestamp

changelogs between v3 & v4
- Fix sysfs guideline description
- Replace iio channel processed by raw/scale/offset
- Add comment of read adc flow for special HW design