From: Rama Krishna Phani A <rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
smohanad-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
mgautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
sivaa-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
knaack.h-Mmb7MZpHnFY@public.gmane.org,
lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org,
pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org,
Julia.Lawall-L2FTfq7BK8M@public.gmane.org,
Rama Krishna Phani A
<rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Subject: [PATCH V3 0/2] iio: adc: spmi-vadc: Changes to support different scaling
Date: Wed, 26 Oct 2016 20:11:25 +0530 [thread overview]
Message-ID: <1477492887-1663-1-git-send-email-rphani@codeaurora.org> (raw)
VADC is a 15 bit ADC that measures signals through the Main analog
multiplexer (AMUX). The driver arbitrates the request to issue ADC
read requests. These patches adds different scaling functionality
to convert adc code to physical units.
[V3]
1. Update the commit text to give more information on the
functionality implemented in the patches.
2. Added Dt maintainers.
[V2]
1. Replaced the do_div with normal division.
2. Split the functionality implemented in v1 patch.
3. Abstracted out common logic and updated change to report
Raw adc code properly.
4. Change to support different scaling functionality.
5. Added support for introducing new bindings in driver.
[V1]
https://lkml.org/lkml/2016/10/25/26
Rama Krishna Phani A (2):
iio: adc: spmi-vadc: Update changes to support reporting of Raw adc
code.
iio: adc: spmi-vadc: Changes to support different scaling
.../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 14 +
drivers/iio/adc/qcom-spmi-vadc.c | 311 ++++++++++++++++-----
2 files changed, 261 insertions(+), 64 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next reply other threads:[~2016-10-26 14:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 14:41 Rama Krishna Phani A [this message]
[not found] ` <1477492887-1663-1-git-send-email-rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-10-26 14:41 ` [PATCH V3 1/2] iio: adc: spmi-vadc: Update changes to support reporting of Raw adc code Rama Krishna Phani A
2016-10-30 17:35 ` Jonathan Cameron
[not found] ` <ee44e76a-b7e1-63b2-2251-6247d9e6bb9d-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-10-31 8:48 ` Rama Krishna Phani A
[not found] ` <0beb28aa-1726-3046-1652-96f0029fa5dc-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-11-01 18:30 ` Jonathan Cameron
[not found] ` <de2a0283-201d-fdab-98d0-be45ca71f5ea-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-11-02 13:12 ` Phani A, Rama Krishna
[not found] ` <a36d7f9c-7716-19bb-2710-7af90f8e0787-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-11-05 15:59 ` Jonathan Cameron
2016-11-07 15:07 ` Phani A, Rama Krishna
2016-10-26 14:41 ` [PATCH V3 2/2] iio: adc: spmi-vadc: Changes to support different scaling Rama Krishna Phani A
[not found] ` <1477492887-1663-3-git-send-email-rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-10-27 11:18 ` Stanimir Varbanov
[not found] ` <8418e7f1-55d9-2dfa-1dc7-5960f9da0305-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-10-27 17:37 ` Phani A, Rama Krishna
2016-10-30 17:13 ` Jonathan Cameron
[not found] ` <a96141dc-6ee5-2d7c-868c-7cb282002b89-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-10-31 7:12 ` Rama Krishna Phani A
2016-10-31 9:26 ` Stanimir Varbanov
2016-11-01 5:32 ` Phani A, Rama Krishna
2016-10-30 17:39 ` Jonathan Cameron
2016-10-31 7:45 ` Rama Krishna Phani A
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=1477492887-1663-1-git-send-email-rphani@codeaurora.org \
--to=rphani-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
--cc=Julia.Lawall-L2FTfq7BK8M@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=knaack.h-Mmb7MZpHnFY@public.gmane.org \
--cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mgautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sivaa-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=smohanad-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).