devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] iio: dac: mcp4725: use regulator framework, add vref and dt support
@ 2016-10-18 17:43 Tomas Novotny
       [not found] ` <1476812589-18333-1-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Tomas Novotny @ 2016-10-18 17:43 UTC (permalink / raw)
  To: Jonathan Cameron, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald, Rob Herring,
	Mark Rutland, Akinobu Mita, Yong Li,
	linux-iio-u79uwXL29TY76Z2rM5mHXA, Tomas Novotny

From: Tomas Novotny <tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>

Hi all,

here is a third version of a series to use regulator framework, add an
option to set external reference and to add devicetree support for
mcp4725/6.

Third version fixes mainly small bits found in the previous version.

Series is tested on MCP4726 on device tree platform.

Changes since v2:
- whitespace fix of two consecutive lines between patches (it affects
  already applied patch)
- abort probe instead of recovery in case of invalid configuration
- use local variable instead of allocation for platform data
- move unrelated comment fix to the new patch
- add ack from Rob
- fix doubled space in an assignment
- add documentation for the struct mcp4725_platform_data
- move the documentation patch forward because it is referenced in struct
  mcp4725_platform_data now
 
Changes since v1:
- add the first patch
- use regulator framework
- fix printf argument (%u instead of %d)
- add parenthesis to make expression more clear
- fix typo in documentation (Microchpip)
- move vref configuration from probe function to new mcp4726_set_cfg

Tomas Novotny (5):
  iio: dac: mcp4725: use regulator framework
  iio: dac: mcp4725: fix incorrect comment
  Documentation: dt: iio: add mcp4725/6 dac device binding
  iio: dac: mcp4725: support voltage reference selection
  iio: dac: mcp4725: add devicetree support

 .../devicetree/bindings/iio/dac/mcp4725.txt        |  35 ++++
 drivers/iio/dac/mcp4725.c                          | 177 +++++++++++++++++++--
 include/linux/iio/dac/mcp4725.h                    |  12 +-
 3 files changed, 206 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/mcp4725.txt

-- 
2.1.4

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

end of thread, other threads:[~2016-10-24 10:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 17:43 [PATCH v3 0/5] iio: dac: mcp4725: use regulator framework, add vref and dt support Tomas Novotny
     [not found] ` <1476812589-18333-1-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-18 17:43   ` [PATCH v3 1/5] iio: dac: mcp4725: use regulator framework Tomas Novotny
     [not found]     ` <1476812589-18333-2-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-22 18:01       ` Jonathan Cameron
2016-10-18 17:43   ` [PATCH v3 2/5] iio: dac: mcp4725: fix incorrect comment Tomas Novotny
     [not found]     ` <1476812589-18333-3-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-22 18:02       ` Jonathan Cameron
2016-10-18 17:43   ` [PATCH v3 3/5] Documentation: dt: iio: add mcp4725/6 dac device binding Tomas Novotny
     [not found]     ` <1476812589-18333-4-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-22 18:02       ` Jonathan Cameron
2016-10-18 17:43   ` [PATCH v3 4/5] iio: dac: mcp4725: support voltage reference selection Tomas Novotny
     [not found]     ` <1476812589-18333-5-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-22 18:18       ` Jonathan Cameron
     [not found]         ` <2a820b1f-b6d7-88f9-7403-06a1c5e3b2ee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-10-24 10:16           ` Tomas Novotny
2016-10-18 17:43   ` [PATCH v3 5/5] iio: dac: mcp4725: add devicetree support Tomas Novotny
     [not found]     ` <1476812589-18333-6-git-send-email-tomas.novotny-MzfF5RY65ECbtNqbA8UwFdBPR1lH4CV8@public.gmane.org>
2016-10-22 18:26       ` Jonathan Cameron

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