From: Siddartha Mohanadoss <smohanad@codeaurora.org>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Siddartha Mohanadoss <smohanad@codeaurora.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org, Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Rob Herring <robh+dt@kernel.org>
Subject: [PATCH v2 0/2] Add QCOM PMIC5 ADC driver
Date: Thu, 28 Jun 2018 11:29:10 -0700 [thread overview]
Message-ID: <1530210550-16085-1-git-send-email-smohanad@codeaurora.org> (raw)
This patch series adds the PMIC5 ADC family of chipset
that supports clients to measure voltage and current on
inputs connected to the PMIC ADC AMUX. Clients include
reading voltage phone power and on board system thermistors
for thermal management.
The v2 patchset addresses most of the review comments from
prior patchset.
Changes since patchset v1
* Merged DT bindings with prior PMIC family instead of a
seperate DT file for PMIC5 family.
* Updated documentation for 'label' and 'value' property.
* Updated using unique prefix adc5 for functions and defines
specific for this family of chipset.
* Refactored scaling functions to use function pointer for
scaling lookup.
* Added documentation comments as requested in the
scaling functions as applicable.
* Added utility functions in the scaling API to avoid some of
the code repetitions.
* Use consistent hex format for adc_data and use specific length
while assigning data.
* Added support to determine controller version and check against
supported hardware settling delay values.
* Various minor changes.
Siddartha Mohanadoss (2):
dt-bindings: iio: adc: Add DT binding document for PMIC5 ADC
iio: adc: Add QCOM SPMI PMIC5 ADC driver
.../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 77 +-
drivers/iio/adc/Kconfig | 20 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/qcom-spmi-adc5.c | 878 +++++++++++++++++++++
drivers/iio/adc/qcom-vadc-common.c | 230 +++++-
drivers/iio/adc/qcom-vadc-common.h | 56 ++
include/dt-bindings/iio/qcom,spmi-vadc.h | 115 ++-
7 files changed, 1352 insertions(+), 25 deletions(-)
create mode 100644 drivers/iio/adc/qcom-spmi-adc5.c
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
reply other threads:[~2018-06-28 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1530210550-16085-1-git-send-email-smohanad@codeaurora.org \
--to=smohanad@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.