The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Signed-off-by: Cristian Pop
---
Changelog v6:
- Include "asm/unaligned.h"
drivers/iio/dac/Kconfig | 10 +
drivers/iio/dac/Make
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
Changelog v6:
- Use microvolt unit
- Remove unrelevant to the binding comment
.../bindings/iio/dac/adi,ad5766.yaml | 63 +++
1 file changed, 63 insertions(+)
create mode
New interface is proposed for dither functionality. This future allows
composing an external signals to the selected output channel.
The dither signal can be turned on/off, scaled, inverted, or it can be
selected from different sources.
Signed-off-by: Cristian Pop
---
Changelog v6
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Signed-off-by: Cristian Pop
---
Changelog v5:
- Remove explicit init in "ad5766_span_tbl"
- Check the retur
New interface is proposed for dither functionality. This future allows
composing an external signals to the selected output channel.
The dither signal can be turned on/off, scaled, inverted, or it can be
selected from different sources.
Signed-off-by: Cristian Pop
---
Changelog v5
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
Changelog v5:
-rename to property to "output-range-voltage"
.../bindings/iio/dac/adi,ad5766.yaml | 64 +
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Signed-off-by: Cristian Pop
---
Changelog v4:
- Select output range
- Set possible dither source to: 0 - N0 and 1 for N1
New interface is proposed for dither functionality. This future allows
composing an external signals to the selected output channel.
The dither signal can be turned on/off, scaled, inverted, or it can be
selected from different sources.
Signed-off-by: Cristian Pop
---
Changelog v4
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
Changelog v4:
- Add range selection
- Reset is GPIO_ACTIVE_LOW
.../bindings/iio/dac/adi,ad5766.yaml | 64 +++
1 file changed, 64 insertions(+)
create mode
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
Changes in v3:
- Fix errors
.../bindings/iio/dac/adi,ad5766.yaml | 58 +++
1 file changed, 58 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/adi
New interface is proposed for dither functionality. This future allows
composing an external signals to the selected output channel.
The dither signal can be turned on/off, scaled, inverted, or it can be
selected from different sources.
Signed-off-by: Cristian Pop
---
.../ABI/testing/sysfs-bus
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Link:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf
Signed-off-by: Cristian Pop
---
Changelog in v3
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Link:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf
Signed-off-by: Cristian Pop
---
Changes in v2
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
Changes in v2:
- Add "additionalProperties: false" property
- Remove blank line
.../bindings/iio/dac/adi,ad5766.yaml | 53 +++
1 file changed, 53 insertions(
This adds device tree bindings for the AD5766 DAC.
Signed-off-by: Cristian Pop
---
.../bindings/iio/dac/adi,ad5766.yaml | 52 +++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
diff --git a/Documentation
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs
Digital-to-Analog converters.
This change adds support for these DACs.
Link:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf
Signed-off-by: Cristian Pop
---
drivers/iio/dac/ad5766.c
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add "additionalProperties: false" for channel child nodes.
- Fix "reg" spelling.
.../bindings/iio/adc/adi,ad7768-1.yaml| 32 +++
1 file ch
For better identification of the channels.
Signed-off-by: Cristian Pop
---
drivers/iio/adc/ad7768-1.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c
index 0e93b0766eb4..5c0cbee03230 100644
--- a
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add this extra commit
Documentation/devicetree/bindings/iio/adc/adc.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/adc.txt
b
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add this extra commit
Documentation/devicetree/bindings/iio/adc/adc.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/adc.txt
b
For better identification of the channels.
Signed-off-by: Cristian Pop
---
drivers/iio/adc/ad7768-1.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c
index 0e93b0766eb4..5c0cbee03230 100644
--- a
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add "additionalProperties: false" for channel child nodes.
- Fix "reg" spelling.
.../bindings/iio/adc/adi,ad7768-1.yaml| 32 +++
1 file ch
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
drivers/iio/industrialio-core.c | 40 +
include/linux
If a label is defined for this channel add that to the channel specific
attributes. This is useful for userspace to be able to identify an
individual channel.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Specify affected only channels which we are implementing in this patch
set
If a label is defined for this channel add that to the channel specific
attributes. This is useful for userspace to be able to identify an
individual channel.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Specify affected only channels which we are implementing in this patch
set
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
drivers/iio/industrialio-core.c | 40 +
include/linux
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add this extra commit
Documentation/devicetree/bindings/iio/adc/adc.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/adc.txt
b
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Add "additionalProperties: false" for channel child nodes.
- Fix "reg" spelling.
.../bindings/iio/adc/adi,ad7768-1.yaml| 32 +++
1 file ch
If a label is defined for this channel add that to the channel specific
attributes. This is useful for userspace to be able to identify an
individual channel.
Signed-off-by: Cristian Pop
---
Changes in v7:
- Specify affected only channels which we are implementing in this patch
set
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
drivers/iio/industrialio-core.c | 40 +
include/linux
For better identification of the channels.
Signed-off-by: Cristian Pop
---
drivers/iio/adc/ad7768-1.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c
index 0e93b0766eb4..5c0cbee03230 100644
--- a
If a label is defined for this channel add that to the channel specific
attributes. This is useful for userspace to be able to identify an
individual channel.
Signed-off-by: Cristian Pop
---
Changes in v6:
- Fix documentation
Documentation/ABI/testing/sysfs-bus-iio | 72
For better identification of the channels.
Signed-off-by: Cristian Pop
---
Changes in v6:
- Use static variable for labels
drivers/iio/adc/ad7768-1.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768
Optional attribute for better identification of the channels.
Signed-off-by: Cristian Pop
---
.../bindings/iio/adc/adi,ad7768-1.yaml| 31 +++
1 file changed, 31 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml
b/Documentation
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
Changes in V6:
- Fix indentation
- Check for "read_label callback&qu
If a label is defined in the device tree for this channel add that to the
channel specific attributes. This is useful for userspace to be able to
identify an individual channel.
Signed-off-by: Cristian Pop
---
Changes in V5:
Create a separate patch file for this commit.
Documentation/ABI
This is a demo usage of new "label" attribute for channel.
Signed-off-by: Cristian Pop
---
Changes in V5:
Create a separate patch file for this commit
drivers/iio/adc/ad7768-1.c | 49 ++
1 file changed, 49 insertions(+)
diff --git a/drivers/iio/ad
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
Changes in V5:
Create patch for single commits.
drivers/iio/industrialio
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
Change in V4:
- Check for callback before generating file system for label
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
Changes in V3:
- Add "read_label" callback function
d
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
Changes in v2:
- Move label check before "read_raw" callback.
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
drivers/iio/industrialio-core.c | 10 --
include/linux/iio/iio.h | 2
If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.
Signed-off-by: Cristian Pop
---
drivers/iio/industrialio-core.c | 45 +++--
include/linux
Implementation for 1-bit ADC (comparator) and a 1-bit DAC (switch)
Signed-off-by: Cristian Pop
---
drivers/iio/addac/one-bit-adc-dac.c | 229
1 file changed, 229 insertions(+)
create mode 100644 drivers/iio/addac/one-bit-adc-dac.c
diff --git a/drivers/iio/addac
44 matches
Mail list logo