linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fugang Duan <B38611@freescale.com>
To: <jic23@kernel.org>
Cc: <shawn.guo@linaro.org>, <sachin.kamat@linaro.org>,
	<pmeerw@pmeerw.net>, <lars@metafoo.de>, <mark.rutland@arm.com>,
	<linux-iio@vger.kernel.org>
Subject: [PATCH v5 0/3] *** iio:adc:imx: Add Freescale vf610 ADC driver support ***
Date: Sun, 26 Jan 2014 13:39:30 +0800	[thread overview]
Message-ID: <1390714773-23066-1-git-send-email-B38611@freescale.com> (raw)

The patch set is to enable Vybrid VF610 ADC driver.

Please see the Reference Manual of the ADC:
http://cache.freescale.com/files/32bit/doc/ref_manual/VYBRIDRM.pdf?fpsp=1&WT_TYPE=
Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation

*** Change Log***
* V5:
- Suggested by Jonathan to simply the driver tp supply generalized userspace ABIs.
- Do not use the devm_iio_device_register here as there have stuff to do in the remove.

* V4: (reviewed by:
        Shawn Guo <shawn.guo@linaro.org>
        Jonathan Cameron <jic23@kernel.org>
        Mark Rutland <mark.rutland@arm.com>
        Otavio Salvador <otavio@ossystems.com.br>
        Peter Meerwald <pmeerw@pmeerw.net>
        Lars-Peter Clausen <lars@metafoo.de>)
- Describe ADC refrence voltage with fixed regulator.
- Remove ADC configuration from DT, let them change at runtime.
- Add "VF610_" prefix for ADC register define.
- Update devicetree binding Documentation.

* V3: (review by Shawn Guo)
- DTS properties: use prefix "fsl," instead of "vf610".
- Drop DTS unnessary comments, and add "vref" optional propert comments.
- Modify driver format.
- Remove driver debug code.
- Remove the of_device_id .data init.
- Remove unnecessary device node check.
- Add clk_prepare_enable() return check.

* V2: (Simply review by Jonathan Cameron)
- Rename the driver after "vf610_adc".

* V1:
Feature:
- Enable Vybrid vf610 board ADC0 in dts file.
- ADC driver only support software trigger for the init version.
- ADC configuration support dts set.
Note: Since the ADC IP is used for Freescale Vybrid VF610, i.MX6SLX, i.MX7 serial sillicons.

Fugang Duan (3):
  ARM: dts: vf610-twr: Add ADC support
  iio:adc:imx: add Freescale Vybrid vf610 adc driver
  Documentation: add the binding file for Freescale vf610 ADC driver

 .../devicetree/bindings/iio/adc/vf610-adc.txt      |   22 +
 arch/arm/boot/dts/vf610-twr.dts                    |   21 +
 arch/arm/boot/dts/vf610.dtsi                       |   26 +
 drivers/iio/adc/Kconfig                            |    9 +
 drivers/iio/adc/Makefile                           |    1 +
 drivers/iio/adc/vf610_adc.c                        |  709 ++++++++++++++++++++
 6 files changed, 788 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/vf610-adc.txt
 create mode 100644 drivers/iio/adc/vf610_adc.c

-- 
1.7.2.rc3



             reply	other threads:[~2014-01-26  6:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26  5:39 Fugang Duan [this message]
2014-01-26  5:39 ` [PATCH v5 1/3] ARM: dts: vf610-twr: Add ADC support Fugang Duan
2014-02-15 10:30   ` Jonathan Cameron
2014-02-16  7:48   ` Shawn Guo
2014-02-19  5:07     ` Shawn Guo
2014-02-21  5:17       ` fugang.duan
2014-02-21  5:38         ` Shawn Guo
2014-02-21  6:06           ` fugang.duan
2014-02-16  7:50   ` Shawn Guo
2014-02-17  1:27     ` fugang.duan
2014-01-26  5:39 ` [PATCH v5 2/3] iio:adc:imx: add Freescale Vybrid vf610 adc driver Fugang Duan
2014-02-15 10:18   ` Jonathan Cameron
2014-02-15 10:28     ` Jonathan Cameron
2014-02-17  1:32       ` fugang.duan
2014-01-26  5:39 ` [PATCH v5 3/3] Documentation: add the binding file for Freescale vf610 ADC driver Fugang Duan
2014-02-15 10:19   ` Jonathan Cameron

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=1390714773-23066-1-git-send-email-B38611@freescale.com \
    --to=b38611@freescale.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=sachin.kamat@linaro.org \
    --cc=shawn.guo@linaro.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).