mbox series

[V2,0/3] iio: adc: Add support for QCOM SPMI PMIC7 ADC

Message ID 1586942266-21480-1-git-send-email-jprakash@codeaurora.org (mailing list archive)
Headers show
Series iio: adc: Add support for QCOM SPMI PMIC7 ADC | expand

Message

Jishnu Prakash April 15, 2020, 9:17 a.m. UTC
The following changes are made in V2 for the three patches:

Added checks for the values of some ADC DT properties in the first patch,
wherever applicable. Also updated channel node regex and provided example.

Added the DT header files in the second patch, previously
added in third patch.

Removed the DT header files and made several recommended minor changes
in the third patch.

Jishnu Prakash (3):
  iio: adc: Convert the QCOM SPMI ADC bindings to .yaml format
  iio: adc: Add PMIC7 ADC bindings
  iio: adc: Add support for PMIC7 ADC

 .../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 173 --------------
 .../bindings/iio/adc/qcom,spmi-vadc.yaml           | 214 +++++++++++++++++
 drivers/iio/adc/qcom-spmi-adc5.c                   | 257 ++++++++++++++++++--
 drivers/iio/adc/qcom-vadc-common.c                 | 258 +++++++++++++++++++++
 drivers/iio/adc/qcom-vadc-common.h                 |  15 ++
 include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h    |  67 ++++++
 include/dt-bindings/iio/qcom,spmi-adc7-pm8350b.h   |  88 +++++++
 include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h   |  46 ++++
 include/dt-bindings/iio/qcom,spmi-adc7-pmr735a.h   |  28 +++
 include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h   |  28 +++
 include/dt-bindings/iio/qcom,spmi-vadc.h           |  78 ++++++-
 11 files changed, 1065 insertions(+), 187 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt
 create mode 100644 Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
 create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h
 create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pm8350b.h
 create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h
 create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmr735a.h
 create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h