| From: |
| Jishnu Prakash <jprakash-AT-codeaurora.org> |
| To: |
| agross-AT-kernel.org, bjorn.andersson-AT-linaro.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, mka-AT-chromium.org, linus.walleij-AT-linaro.org, Jonathan.Cameron-AT-huawei.com, andy.shevchenko-AT-gmail.com, amit.kucheria-AT-verdurent.com, smohanad-AT-codeaurora.org, kgunda-AT-codeaurora.org, aghayal-AT-codeaurora.org |
| Subject: |
| [PATCH V7 0/7] iio: adc: Add support for QCOM SPMI PMIC7 ADC |
| Date: |
| Tue, 23 Jun 2020 12:59:52 +0530 |
| Message-ID: |
| <1592897399-24089-1-git-send-email-jprakash@codeaurora.org> |
| Cc: |
| linux-arm-msm-AT-vger.kernel.org, linux-arm-msm-owner-AT-vger.kernel.org, Jishnu Prakash <jprakash-AT-codeaurora.org> |
| Archive-link: |
| Article |
The following changes are made in V7:
In the seventh patch, the function pointer is defined using typedef
instead of struct, to address a review comment.
There are no changes in any other patches, from V6.
Jishnu Prakash (7):
iio: adc: Convert the QCOM SPMI ADC bindings to .yaml format
iio: adc: Add PMIC7 ADC bindings
iio: adc: Add info property under adc_data
iio: adc: Add support for PMIC7 ADC
iio: adc: Update return value checks
iio: adc: Update debug prints
iio: adc: Combine read functions for PMIC5 and PMIC7
.../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 173 -------------
.../bindings/iio/adc/qcom,spmi-vadc.yaml | 278 +++++++++++++++++++++
drivers/iio/adc/qcom-spmi-adc5.c | 242 ++++++++++++++++--
drivers/iio/adc/qcom-vadc-common.c | 262 +++++++++++++++++++
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, 1109 insertions(+), 196 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
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project