devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] iio: Add Cosmic Circuits ADC support
@ 2014-11-13 14:13 Ezequiel Garcia
       [not found] ` <1415888044-16635-1-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Ezequiel Garcia @ 2014-11-13 14:13 UTC (permalink / raw)
  To: Andrew Bresticker, James Hartley, Lars-Peter Clausen,
	Jonathan Cameron
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	Pawel.Moll-5wv7dgnIgG8, Mark.Rutland-5wv7dgnIgG8,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ,
	Naidu.Tellapati-1AXoQHu6uovQT0dZR+AlfA, Ezequiel Garcia

Here goes the third round of this series. You can find the previous patchset
and its discussion here: http://thread.gmane.org/gmane.linux.kernel.iio/14553.

Changes from v2:

  * Changed a devicetree property from adc-available-channels to
    adc-reserved-channels, so it can be made optional.

  * Renamed the driver from cc_10001_xxx to cc10001_xxx so it's consistent
    with the rest of the kernel style.

  * Some more minor cosmetic fixes.

Changes from v1:

  * Removed unneeded header includes.

  * Changed all the names and macros prefix: s/CC_10001_/CC10001_.

  * Used .update_scan_mode callback to preallocate the buffer.

  * Used indio_dev for the struct iio_dev.

  * Only read the regulator voltage when needed.

  * Fixed probe() error handling.

  * Used for_each_set_bit() instead of open-coding it.

  * Name the power-down register as _POWER_UP, to make the code
    less silly.

  * Error out when no valid sample can be read (i.e. when end-of-conversion
    poll times out).

  * ... plus some assorted code cleaning based on the feedback.

Ezequiel Garcia (1):
  DT: Add a vendor prefix for Cosmic Circuits

Phani Movva (2):
  iio: adc: Cosmic Circuits 10001 ADC driver
  DT: iio: adc: Add CC_10001 binding documentation

 .../devicetree/bindings/iio/adc/cc10001_adc.txt    |  22 ++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/adc/Kconfig                            |  11 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/cc10001_adc.c                      | 425 +++++++++++++++++++++
 5 files changed, 460 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/cc10001_adc.txt
 create mode 100644 drivers/iio/adc/cc10001_adc.c

-- 
2.1.0

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-11-27 15:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 14:13 [PATCH v3 0/3] iio: Add Cosmic Circuits ADC support Ezequiel Garcia
     [not found] ` <1415888044-16635-1-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-13 14:13   ` [PATCH v3 1/3] iio: adc: Cosmic Circuits 10001 ADC driver Ezequiel Garcia
     [not found]     ` <1415888044-16635-2-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-15 10:46       ` Jonathan Cameron
     [not found]         ` <54672F04.40201-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2014-11-15 18:05           ` Ezequiel Garcia
2014-11-22  1:15       ` Hartmut Knaack
     [not found]         ` <546FE3A7.6040308-Mmb7MZpHnFY@public.gmane.org>
2014-11-25 17:46           ` Ezequiel Garcia
     [not found]             ` <5474C062.2020604-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-25 21:41               ` Hartmut Knaack
     [not found]                 ` <5474F7A5.6030008-Mmb7MZpHnFY@public.gmane.org>
2014-11-25 22:03                   ` Ezequiel Garcia
     [not found]                     ` <5474FCC8.8080906-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-25 22:53                       ` Hartmut Knaack
     [not found]                         ` <5475085E.8090806-Mmb7MZpHnFY@public.gmane.org>
2014-11-27 15:08                           ` Ezequiel Garcia
     [not found]                             ` <54773E63.4020300-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-27 15:16                               ` Lars-Peter Clausen
     [not found]                                 ` <5477406A.8020403-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>
2014-11-27 15:18                                   ` Ezequiel Garcia
2014-11-13 14:13   ` [PATCH v3 2/3] DT: iio: adc: Add CC_10001 binding documentation Ezequiel Garcia
     [not found]     ` <1415888044-16635-3-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-13 14:37       ` Rob Herring
     [not found]         ` <CAL_JsqK=F36EweJyWKemYn=5TbzKWv3xLFfhbfQ1bvQKR6tQLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-13 18:18           ` Ezequiel Garcia
2014-11-13 18:19       ` [PATCH v4 " Ezequiel Garcia
2014-11-13 14:14   ` [PATCH v3 3/3] DT: Add a vendor prefix for Cosmic Circuits Ezequiel Garcia
     [not found]     ` <1415888044-16635-4-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-13 14:34       ` Rob Herring
2014-11-13 14:14   ` [PATCH v3 0/3] iio: Add Cosmic Circuits ADC support Ezequiel Garcia
     [not found]     ` <1415888044-16635-5-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-13 19:10       ` Andrew Bresticker

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