linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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
Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	cdevired-sgV2jX0FEOL9JmXXK+q4OQ@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 V5 0/2] Changes to support different VADC scaling
Date: Thu, 24 Nov 2016 11:01:03 +0530	[thread overview]
Message-ID: <1479965465-30182-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.

[V5]
	1. Retain new line as suggested.

[V4] 
	1. Remove DT bindings and implement scaling logic with in driver.
	
[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 function for generic voltage conversion
  iio: adc: spmi-vadc: Changes to support different scaling

 drivers/iio/adc/qcom-spmi-vadc.c | 479 ++++++++++++++++++++++++++++-----------
 1 file changed, 350 insertions(+), 129 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

             reply	other threads:[~2016-11-24  5:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  5:31 Rama Krishna Phani A [this message]
     [not found] ` <1479965465-30182-1-git-send-email-rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-11-24  5:31   ` [PATCH V5 1/2] iio: adc: spmi-vadc: Update function for generic voltage conversion Rama Krishna Phani A
2016-11-24  5:31 ` [PATCH V5 2/2] iio: adc: spmi-vadc: Changes to support different scaling Rama Krishna Phani A
     [not found]   ` <1479965465-30182-3-git-send-email-rphani-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-11-27 15:48     ` Jonathan Cameron
2016-11-30  9:07       ` Phani A, Rama Krishna
2016-12-03  9:49         ` Jonathan Cameron
     [not found]           ` <4bd45f1b-d2c2-a7e6-d0f4-0cfbb196f805-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-12-09 14:40             ` Phani A, Rama Krishna

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=1479965465-30182-1-git-send-email-rphani@codeaurora.org \
    --to=rphani-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
    --cc=Julia.Lawall-L2FTfq7BK8M@public.gmane.org \
    --cc=cdevired-sgV2jX0FEOL9JmXXK+q4OQ@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=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).