devicetree.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
       [not found] ` <1476194263-12015-1-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Tomas Novotny @ 2016-10-11 13:57 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

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
     [not found] ` <1476194263-12015-1-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
2016-10-11 13:57   ` [PATCH v2 1/4] iio: dac: mcp4725: use regulator framework Tomas Novotny
     [not found]     ` <1476194263-12015-2-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
2016-10-14 11:58       ` Lars-Peter Clausen
     [not found]         ` <87088906-8986-cca0-c29a-747610bae982-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>
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
     [not found]     ` <1476194263-12015-3-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
2016-10-15 14:07       ` Jonathan Cameron
     [not found]         ` <e015de34-51bd-f43b-4a9f-cfe047d4fb3c-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
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
     [not found]     ` <1476194263-12015-4-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
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
     [not found]     ` <1476194263-12015-5-git-send-email-tomas-P46umIhNmdHrBKCeMvbIDA@public.gmane.org>
2016-10-15 14:14       ` Jonathan Cameron
     [not found]         ` <a710bc16-24e9-8b30-5db0-8eff371a012b-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
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).