From: Dragos Bogdan
The LTC2314-14 is a 14-bit, 4.5Msps, serial sampling A/D converter that draws
only
6.2mA from a wide range analog supply adjustable from 2.7V to 5.25V.
Signed-off-by: Dragos Bogdan
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7476.c | 6 ++
1 file changed, 6
From: Dragos Bogdan
The LTC2314-14 is a 14-bit, 4.5Msps, serial sampling A/D converter that draws
only
6.2mA from a wide range analog supply adjustable from 2.7V to 5.25V.
Signed-off-by: Dragos Bogdan
Signed-off-by: Mircea Caprioru
---
Changelog v2
- fix conflict with ADS7868 device
From: Dragos Bogdan
The LTC2314-14 is a 14-bit, 4.5Msps, serial sampling A/D converter that draws
only
6.2mA from a wide range analog supply adjustable from 2.7V to 5.25V.
Signed-off-by: Dragos Bogdan
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7476.c | 4
1 file changed, 4
com/
Signed-off-by: Sergiu Cuciurean
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/rockchip_saradc.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/adc/rockchip_saradc.c
b/drivers/iio/adc/rockchip_saradc.c
index 1f3d7d639d37..80084c526
com/
Signed-off-by: Sergiu Cuciurean
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/palmas_gpadc.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
index 889b88768b63..14874f11614d 100
com/
Signed-off-by: Sergiu Cuciurean
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/npcm_adc.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/npcm_adc.c b/drivers/iio/adc/npcm_adc.c
index d9d105920001..f7bc0bb7f112 100644
--- a/drivers/iio/
com/
Signed-off-by: Sergiu Cuciurean
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/vf610_adc.c | 28
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/iio/adc/vf610_adc.c b/drivers/iio/adc/vf610_adc.c
index 1d794cf3e3f1..b7d583993f0b 100
com/
Signed-off-by: Sergiu Cuciurean
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/spear_adc.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/adc/spear_adc.c b/drivers/iio/adc/spear_adc.c
index 1bc986a7009d..d93e580b3dc5 100644
--- a/driv
This patch fixes the device name typo.
Fixes: 951ad4700313 ("iio: adc: ad7124: move chip ID & name on the chip_info
table")
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c
This patch add device tree binding documentation for AD7192 adc in YAML
format.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- no changes here
Changelog V3:
- no changes here
Changelog V4:
- remove the const value from avdd and dvdd supply
.../bindings/iio/adc/adi,ad7192.yaml
Add initial ABI documentation for ad7192 adc sysfs interfaces.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- no changes here
Changelog V3:
- no changes here
Changelog V4:
- added sysfs ABI documentation
.../ABI/testing/sysfs-bus-iio-adc-ad7192 | 15 +++
1 file
This patch will add a system calibration attribute for each channel. Using
this option the user will have the ability to calibrate each channel for
zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM
to implement the functionality.
Signed-off-by: Mircea Caprioru
This patch exports the ad_sd_calibrate function in order to be able to
call it from outside ad_sigma_delta.
There are cases where the option to calibrate one channel at a time is
necessary (ex. system calibration for zero scale and full scale).
Signed-off-by: Mircea Caprioru
---
Changelog V2
This patch add device tree binding documentation for AD7192 adc in YAML
format.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- remove description from spi and interrupt properties
- changed the name of the device from ad7192 to adc in the example
Changelog V3:
- added semicolon at the end
This patch will add a system calibration attribute for each channel. Using
this option the user will have the ability to calibrate each channel for
zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM
to implement the functionality.
Signed-off-by: Mircea Caprioru
By adding this option we are able to remove the sync3 field and dt binding.
When setting the required cutoff frequency we also determine the ADC
configuration for chop and sync filter.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- no changes here
Changelog V3:
- no changes here
drivers
This patch exports the ad_sd_calibrate function in order to be able to
call it from outside ad_sigma_delta.
There are cases where the option to calibrate one channel at a time is
necessary (ex. system calibration for zero scale and full scale).
Signed-off-by: Mircea Caprioru
---
Changelog V2
This patch will add a system calibration attribute for each channel. Using
this option the user will have the ability to calibrate each channel for
zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM
to implement the functionality.
Signed-off-by: Mircea Caprioru
This patch exports the ad_sd_calibrate function in order to be able to
call it from outside ad_sigma_delta.
There are cases where the option to calibrate one channel at a time is
necessary (ex. system calibration for zero scale and full scale).
Signed-off-by: Mircea Caprioru
---
Changelog V2
This patch add device tree binding documentation for AD7192 adc in YAML
format.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- remove description from spi and interrupt properties
- changed the name of the device from ad7192 to adc in the example
.../bindings/iio/adc/adi,ad7192.yaml
By adding this option we are able to remove the sync3 field and dt binding.
When setting the required cutoff frequency we also determine the ADC
configuration for chop and sync filter.
Signed-off-by: Mircea Caprioru
---
Changelog V2:
- no changes here
drivers/staging/iio/adc/ad7192.c | 148
This patch will add a system calibration attribute for each channel. Using
this option the user will have the ability to calibrate each channel for
zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM
to implement the functionality.
Signed-off-by: Mircea Caprioru
This patch exports the ad_sd_calibrate function in order to be able to
call it from outside ad_sigma_delta.
There are cases where the option to calibrate one channel at a time is
necessary (ex. system calibration for zero scale and full scale).
Signed-off-by: Mircea Caprioru
---
drivers/iio
By adding this option we are able to remove the sync3 field and dt binding.
When setting the required cutoff frequency we also determine the ADC
configuration for chop and sync filter.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 148 +++
1
This patch add device tree binding documentation for AD7192 adc in YAML
format.
Signed-off-by: Mircea Caprioru
---
.../bindings/iio/adc/adi,ad7192.yaml | 123 ++
1 file changed, 123 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7192
a
problem with the device tree.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 14 ++--
drivers/staging/iio/adc/ad7192.h | 37
2 files changed, 2 insertions(+), 49 deletions(-)
delete mode 100644 drivers/staging/iio/adc/ad7192.h
diff
Convert AD7124 bindings documentation to YAML format.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- modified SPDX license to GPL-2.0 OR BSD-2-Clause
- added regex for a range from 0 to 15
- added minimum and maximum constraints for reg property
- set type and range of values for adi
differential or 8 pseudo-differential channels
ad7124-8 - can have 8 differential or 16 pseudo-differential channels
Also the device can suspport any other combination of differential and
pseudo-differential channels base on the physical number of inputs
available.
Signed-off-by: Mircea Caprioru
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
Changelog v3:
- nothing changed here
Changelog v4:
- nothing changed here
drivers/iio/adc/ad7124.c | 17
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
Changelog v3:
- added this separate commit for adi,buffered-positive and negative
properties
Changelog v4:
- nothing changed here
.../devicetree/bindings
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
Changelog v3:
- nothing changed here
Changelog v4:
- nothing changed here
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
Changelog v3:
- added this separate commit for adi,buffered-positive and negative
properties
.../devicetree/bindings/iio/adc/adi,ad7124.yaml | 11
Convert AD7124 bindings documentation to YAML format.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- modified SPDX license to GPL-2.0 OR BSD-2-Clause
- added regex for a range from 0 to 15
- added minimum and maximum constraints for reg property
- set type and range of values for adi
differential or 8 pseudo-differential channels
ad7124-8 - can have 8 differential or 16 pseudo-differential channels
Also the device can suspport any other combination of differential and
pseudo-differential channels base on the physical number of inputs
available.
Signed-off-by: Mircea Caprioru
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
Changelog v3:
- nothing changed here
drivers/iio/adc/ad7124.c | 17 +++--
1 file changed, 15 insertions
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
Changelog v3:
- nothing changed here
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index
Convert AD7124 bindings documentation to YAML format.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- modified SPDX license to GPL-2.0 OR BSD-2-Clause
- added regex for a range from 0 to 15
- added minimum and maximum constraints for reg property
- set type and range of values for adi
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 659ef37d5fe8..810234db9c0d 100644
differential or 8 pseudo-differential channels
ad7124-8 - can have 8 differential or 16 pseudo-differential channels
Also the device can suspport any other combination of differential and
pseudo-differential channels base on the physical number of inputs
available.
Signed-off-by: Mircea Caprioru
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
Changelog v2:
- nothing changed here
drivers/iio/adc/ad7124.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers
differential or 8 pseudo-differential channels
ad7124-8 - can have 8 differential or 16 pseudo-differential channels
Also the device can suspport any other combination of differential and
pseudo-differential channels base on the physical number of inputs
available.
Signed-off-by: Mircea Caprioru
Convert AD7124 bindings documentation to YAML format.
Signed-off-by: Mircea Caprioru
---
.../bindings/iio/adc/adi,ad7124.yaml | 146 ++
1 file changed, 146 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
diff --git
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 659ef37d5fe8..810234db9c0d 100644
--- a/drivers/iio/adc/ad7124.c
+++ b/drivers/iio
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 659ef37d5fe8..810234db9c0d 100644
--- a/drivers/iio/adc/ad7124.c
+++ b/drivers/iio
Convert AD7124 bindings documentation to YAML format.
Signed-off-by: Mircea Caprioru
---
.../bindings/iio/adc/adi,ad7124.yaml | 146 ++
1 file changed, 146 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
diff --git
and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc
differential or 8 pseudo-differential channels
ad7124-8 - can have 8 differential or 16 pseudo-differential channels
Also the device can suspport any other combination of differential and
pseudo-differential channels base on the physical number of inputs
available.
Signed-off-by: Mircea Caprioru
channel nodes and num_inputs value.
Signed-off-by: Mircea Caprioru
---
drivers/iio/adc/ad7124.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 659ef37d5fe8..810234db9c0d 100644
--- a/drivers/iio/adc/ad7124.c
+++ b/drivers/iio
.
Signed-off-by: Mircea Caprioru
---
drivers/iio/dac/ad5758.c | 55 +---
1 file changed, 18 insertions(+), 37 deletions(-)
diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c
index 2bdf1b0aee06..a513c70faefa 100644
--- a/drivers/iio/dac/ad5758.c
the checkpatch warning related to
in_voltage-voltage_scale_available naming.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 99
1 file changed, 61 insertions(+), 38 deletions(-)
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc
This patch will remove platform data members and replace them with device
tree properties. These properties will be subject to further modifications
and probably replaced with other functionalities at some point in time.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 33
as the clock source. When an external crystal is used it is
connected to MCLK1 and MCLK2 pins. If the external clock is used only MCLK2
pin will be connected.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 84 ++--
drivers/staging/iio/adc/ad7192.h
This patch fixes the odd indentation inside function ad7192_calibrate_all.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
index
This patch removes the goto out statement thus ensuring that an error is
report as soon as it occurs. This gives more information and improves
readability.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 13 +
1 file changed, 5 insertions(+), 8 deletions
This patch fixes the differential channels addresses for the ad7193.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
index
The AD5674R/AD5679R are low power, 16-channel, 12-/16-bit buffered voltage
output digital-to-analog converters (DACs). They include a 2.5 V internal
reference (enabled by default).
These devices are very similar to AD5684R/AD5686R, except that they have 16
channels.
Signed-off-by: Mircea
the value relative to the actual bit size.
Fixes: 0357e488b8 ("iio:dac:ad5686: Refactor the driver")
Signed-off-by: Mircea Caprioru
---
drivers/iio/dac/ad5686.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad56
the value relative to the actual bit size.
Fixes: 0357e488b8 ("iio:dac:ad5686: Refactor the driver")
Signed-off-by: Mircea Caprioru
---
drivers/iio/dac/ad5686.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad56
accordingly.
Because AD5310R does not have a readback register, the read_raw operation
will return "Operation is not supported".
Datasheet:
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/AD5310R_5311R.pdf
Signed-off-by: Stefan Popa
Signed-off-by: Mircea Caprioru
--
accordingly.
Because AD5310R does not have a readback register, the read_raw operation
will return "Operation is not supported".
Datasheet:
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/AD5310R_5311R.pdf
Signed-off-by: Stefan Popa
Signed-off-by: Mircea Caprioru
--
When using the internal clock the device has an option in which the clock
output is available on MCLK2 pin. This patch adds a dt binding for enabling
this property.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
When using the internal clock the device has an option in which the clock
output is available on MCLK2 pin. This patch adds a dt binding for enabling
this property.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
This patch adds a clock to the state structure of ad7192 for getting the
external clock frequency. This modifications is in accordance with clock
framework dt bindings documentation.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 74
This patch adds a clock to the state structure of ad7192 for getting the
external clock frequency. This modifications is in accordance with clock
framework dt bindings documentation.
Signed-off-by: Mircea Caprioru
---
drivers/staging/iio/adc/ad7192.c | 74
-by: Mircea Caprioru
---
MAINTAINERS | 1 +
drivers/iio/dac/Kconfig | 10 +
drivers/iio/dac/Makefile | 1 +
drivers/iio/dac/ad5770r.c | 548 ++
4 files changed, 560 insertions(+)
create mode 100644 drivers/iio/dac/ad5770r.c
diff --git
-by: Mircea Caprioru
---
MAINTAINERS | 1 +
drivers/iio/dac/Kconfig | 10 +
drivers/iio/dac/Makefile | 1 +
drivers/iio/dac/ad5770r.c | 548 ++
4 files changed, 560 insertions(+)
create mode 100644 drivers/iio/dac/ad5770r.c
diff --git
Adding dt-bindings documentation for AD5770R DAC. The bindings follow the
standard SPI and fixed regulator bindings.
Signed-off-by: Mircea Caprioru
---
.../devicetree/bindings/iio/dac/ad5770r.txt | 86 +++
MAINTAINERS | 7 ++
2 files changed
Adding dt-bindings documentation for AD5770R DAC. The bindings follow the
standard SPI and fixed regulator bindings.
Signed-off-by: Mircea Caprioru
---
.../devicetree/bindings/iio/dac/ad5770r.txt | 86 +++
MAINTAINERS | 7 ++
2 files changed
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V4 -> V5
- defined idle_state as s32 and used (u32 *) cast
- repla
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V4 -> V5
- defined idle_state as s32 and used (u32 *) cast
- repla
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V3 -> V4
- named enum to adgs1408_chip_id
- added .data with id enum val
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V3 -> V4
- named enum to adgs1408_chip_id
- added .data with id enum val
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V2 -> V3
- removed Kconfig line
- changed to GPL-2.0-or-later
- fixed t
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V2 -> V3
- removed Kconfig line
- changed to GPL-2.0-or-later
- fixed t
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V1 -> V2
- removed adgs140x wildcard
- removed cells verification since onl
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
Changelog V1 -> V2
- removed adgs140x wildcard
- removed cells verification since onl
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
MAINTAINERS| 7 +++
drivers/mux/Kconfig| 12
drivers/mux
This patch adds basic support for Analog Device ADGS1408/09 SPI mux
controller.
The device is probed and set to a disabled state. It uses the new mux
controller framework.
Signed-off-by: Mircea Caprioru
---
MAINTAINERS| 7 +++
drivers/mux/Kconfig| 12
drivers/mux
79 matches
Mail list logo