[PATCH v3 0/2] Intial support for voltage ADC

From: Stanimir Varbanov
Date: Wed Sep 24 2014 - 08:57:24 EST


Changes since v2:

- fixes per comments from Hartmut Knaack and Jonathan Cameron.
- now register through IIO core only ADC channels described in DT.
- register TEMP_DIE channel as IIO_TEMP type and as processed return value.
- implement INFO_RAW and INFO_SCALE masks support in order to avoid losing
ADC precision.
- various cleanups.

-------------------------------------------------------------------------------
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.

-------------------------------------------------------------------------------
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.

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 | 130 +++
drivers/iio/adc/Kconfig | 10 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/qcom-spmi-vadc.c | 1029 ++++++++++++++++++++
include/dt-bindings/iio/qcom,spmi-pmic-vadc.h | 119 +++
5 files changed, 1289 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/