linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] iio: dac: mcp4725: use regulator framework, add vref and dt support
@ 2016-10-11 13:57 Tomas Novotny
  2016-10-11 13:57 ` [PATCH v2 1/4] iio: dac: mcp4725: use regulator framework Tomas Novotny
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Tomas Novotny @ 2016-10-11 13:57 UTC (permalink / raw)
  To: Jonathan Cameron, devicetree
  Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald, Rob Herring,
	Mark Rutland, Akinobu Mita, Yong Li, linux-iio

Hi all,

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

I wasn't using the regulator framework in the previous version. That is the
reason why is the second iteration very different. I took ad7303.c as a
reference.

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 (4):
  iio: dac: mcp4725: use regulator framework
  iio: dac: mcp4725: support voltage reference selection
  Documentation: dt: iio: add mcp4725/6 dac device binding
  iio: dac: mcp4725: add devicetree support

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

-- 
2.1.4

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

end of thread, other threads:[~2016-10-18 13:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 13:57 [PATCH v2 0/4] iio: dac: mcp4725: use regulator framework, add vref and dt support Tomas Novotny
2016-10-11 13:57 ` [PATCH v2 1/4] iio: dac: mcp4725: use regulator framework Tomas Novotny
2016-10-14 11:58   ` Lars-Peter Clausen
2016-10-14 12:06     ` Lars-Peter Clausen
2016-10-14 12:24     ` Tomas Novotny
2016-10-15 14:00       ` Jonathan Cameron
2016-10-11 13:57 ` [PATCH v2 2/4] iio: dac: mcp4725: support voltage reference selection Tomas Novotny
2016-10-15 14:07   ` Jonathan Cameron
2016-10-18 13:51     ` Tomas Novotny
2016-10-11 13:57 ` [PATCH v2 3/4] Documentation: dt: iio: add mcp4725/6 dac device binding Tomas Novotny
2016-10-15 14:08   ` Jonathan Cameron
2016-10-18 12:43   ` Rob Herring
2016-10-11 13:57 ` [PATCH v2 4/4] iio: dac: mcp4725: add devicetree support Tomas Novotny
2016-10-15 14:14   ` Jonathan Cameron
2016-10-18 13:56     ` Tomas Novotny

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