From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanimir Varbanov Subject: [PATCH v2 0/2] Intial support for voltage ADC Date: Thu, 11 Sep 2014 18:13:21 +0300 Message-ID: <1410448403-19402-1-git-send-email-svarbanov@mm-sol.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Ian Campbell , Pawel Moll , Rob Herring , Kumar Gala , Mark Rutland , Grant Likely , Jonathan Cameron , Arnd Bergmann Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , Lars-Peter Clausen , Hartmut Knaack , Angelo Compagnucci , Doug Anderson , Fugang Duan , Johannes Thumshirn , Jean Delvare , Philippe Reynes , Lee Jones , Josh Cartwright , Stephen Boyd , David Collins , Stanimir Varbanov List-Id: linux-arm-msm@vger.kernel.org Here is version 2. Changes since v1: - the review comments from Peter Meerwald and Hartmut Knaack are taken into account - the driver private sysfs attributes are dropped out. - dt binding document is changed in the section of adc channel nodes - now the adc channel number is represented by "reg" property. - various cleanups found during preparation of version 2. regards, Stan ------------------------------------------------------------------------------- Introduce inital support for VADC inside Qualcomm SPMI PMICs. The vadc driver is reworked version of the same downstream driver but now it is implemented through Industrial IO core. Comments are welcome! Stanimir Varbanov (2): iio: vadc: Qualcomm SPMI PMIC voltage ADC driver DT: iio: vadc: document dt binding .../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 123 +++ drivers/iio/adc/Kconfig | 11 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/qcom-spmi-vadc.c | 999 ++++++++++++++++++++ include/dt-bindings/iio/qcom,spmi-pmic-vadc.h | 119 +++ 5 files changed, 1253 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt create mode 100644 drivers/iio/adc/qcom-spmi-vadc.c create mode 100644 include/dt-bindings/iio/qcom,spmi-pmic-vadc.h