[PATCHv2 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-13 Thread Paul Cercueil
This patch adds support for the AD5592R (spi) and AD5593R (i2c) ADC/DAC devices. Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/Kconfig | 27 drivers/iio/dac/Makefile | 3 + drivers/iio/dac/ad5592r-base.c

[PATCHv2 1/2] Documentation: ad5592r: Added devicetree bindings documentation

2015-10-13 Thread Paul Cercueil
Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- .../devicetree/bindings/iio/dac/ad5592r.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5592r.txt v2: Fix indentation issue diff

[PATCHv2 3/3] iio: ad5064: Always use external vref if there is no internal vref

2015-10-12 Thread Paul Cercueil
-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/ad5064.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) v2: No change in this patch diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index e77631d..18674e5 100644 --- a/drive

[PATCHv2 1/3] Documentation: ad5064: Added devicetree bindings documentation

2015-10-12 Thread Paul Cercueil
Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- .../devicetree/bindings/iio/dac/ad5064.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5064.txt v2: No change in this patch diff

[PATCHv2 2/3] iio: ad5064: Explicitly configure whether to use external supply

2015-10-12 Thread Paul Cercueil
() fails, the driver no longer reverts to using the internal vref, but returns an error instead. Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/ad5064.c | 36 +++- include/linux/platform_data/ad5064.

[PATCH 2/3] iio: ad5064: Explicitly configure whether to use external supply

2015-10-02 Thread Paul Cercueil
() fails, the driver no longer reverts to using the internal vref, but returns an error instead. Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/ad5064.c | 36 +++- include/linux/platform_data/ad5064.

[PATCH 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-02 Thread Paul Cercueil
This patch adds support for the AD5592R (spi) and AD5593R (i2c) ADC/DAC devices. Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/Kconfig | 22 +++ drivers/iio/dac/Makefile | 2 + drivers/iio/dac/ad5592r-base.c

[PATCH 1/2] Documentation: ad5592r: Added devicetree bindings documentation

2015-10-02 Thread Paul Cercueil
Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- .../devicetree/bindings/iio/dac/ad5592r.txt| 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5592r.txt diff --git a/Documentation/devicetree/bi

[PATCH 1/3] Documentation: ad5064: Added devicetree bindings documentation

2015-10-02 Thread Paul Cercueil
Signed-off-by: Paul Cercueil <paul.cercu...@analog.com> --- .../devicetree/bindings/iio/dac/ad5064.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5064.txt diff --git a/Documentation/devicetree/bindin

[PATCH 3/3] iio: ad5064: Always use external vref if there is no internal vref

2015-10-02 Thread Paul Cercueil
-by: Paul Cercueil <paul.cercu...@analog.com> --- drivers/iio/dac/ad5064.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index 7146f42..daee39e 100644 --- a/drivers/iio/dac/ad5064.c +++ b/drivers/iio/dac/ad

[PATCH 3/3] devicetree: ad5064: Added devicetree bindings documentation

2014-02-12 Thread Paul Cercueil
Signed-off-by: Paul Cercueil paul.cercu...@analog.com Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga...@codeaurora.org Cc: devicetree@vger.kernel.org

[PATCH] devicetree: ad7303: Updated documentation

2014-02-12 Thread Paul Cercueil
Added documentation about the adi,use-external-reference property. Signed-off-by: Paul Cercueil paul.cercu...@analog.com --- Documentation/devicetree/bindings/iio/dac/ad7303.txt |3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/dac/ad7303.txt b

Re: [PATCH 3/3] devicetree: ad5064: Added devicetree bindings documentation

2014-02-12 Thread Paul Cercueil
On 02/12/14 13:18, Mark Rutland wrote: On Wed, Feb 12, 2014 at 12:01:58PM +, Paul Cercueil wrote: Signed-off-by: Paul Cercueil paul.cercu...@analog.com Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc