OpenCloudOS-Kernel/drivers/iio/dac
Stefan Popa 12d323cf6d iio:dac:ad5686: Add AD5310R support
The AD5310R is a single channel DAC with 10-bit precision, which is
part of the same family as AD5311R, except that it uses the spi interface
instead of i2c. The device has a built-in 2.5V reference which is enabled
by default.

Another important difference is that the SPI write command operation is
16 bits long. The first four bits represent the command, while the
remaining 12 bits are for data. In the control reg, DB9 and DB10 are used
for power-down modes, while DB8 is the REF bit. In order to accommodate
this change, a new regmap type was defined and checked 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 <stefan.popa@analog.com>
Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-12-08 15:35:55 +00:00
..
Kconfig iio:dac:ti-dac7311 Add driver for Texas Instrument DAC7311 2018-11-11 15:29:44 +00:00
Makefile iio:dac:ti-dac7311 Add driver for Texas Instrument DAC7311 2018-11-11 15:29:44 +00:00
ad5064.c iio: ad5064: Fix regulator handling 2018-09-29 13:28:47 +01:00
ad5360.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5380.c iio: Replace occurrences of magic number 0 by IIO_CHAN_INFO_RAW 2018-03-07 20:14:36 +00:00
ad5421.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5446.c drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
ad5449.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5504.c drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
ad5592r-base.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ad5592r-base.h iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
ad5592r.c iio: dac: ad5592r: Add ACPI support 2016-12-30 17:19:36 +00:00
ad5593r.c iio: dac: ad5593r: Add ACPI support 2016-12-30 17:20:14 +00:00
ad5624r.h
ad5624r_spi.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5686-spi.c iio:dac:ad5686: Add AD5310R support 2018-12-08 15:35:55 +00:00
ad5686.c iio:dac:ad5686: Add AD5310R support 2018-12-08 15:35:55 +00:00
ad5686.h iio:dac:ad5686: Add AD5310R support 2018-12-08 15:35:55 +00:00
ad5696-i2c.c iio:dac:ad5686: Add AD5311R support 2018-06-10 14:30:09 +01:00
ad5755.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5758.c iio: dac: ad5758: Add support for hard reset 2018-09-02 19:01:30 +01:00
ad5761.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5764.c iio: Replace occurrences of magic number 0 by IIO_CHAN_INFO_RAW 2018-03-07 20:14:36 +00:00
ad5791.c drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
ad7303.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad8801.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
cio-dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
dpot-dac.c iio: dpot-dac: mark expected switch fall-through with text GCC expects. 2018-10-14 18:01:00 +01:00
ds4424.c iio: dac: ds4422/ds4424 dac driver 2017-10-09 20:49:39 +01:00
lpc18xx_dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ltc1660.c iio: dac: add support for ltc1660 2018-08-25 09:24:07 +01:00
ltc2632.c treewide: convert ISO_8859-1 text comments to utf-8 2018-08-23 18:48:43 -07:00
m62332.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
max517.c iio: dac: max517: avoid using CONFIG_PM_SLEEP 2018-08-19 17:40:24 +01:00
max5821.c iio: dac: max5821: avoid using CONFIG_PM_SLEEP 2018-08-19 17:41:31 +01:00
mcp4725.c iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP 2018-08-19 17:42:21 +01:00
mcp4922.c iio: dac: mcp4922: fix error handling in mcp4922_write_raw 2018-08-25 09:47:36 +01:00
stm32-dac-core.c iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
stm32-dac-core.h iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
stm32-dac.c iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
ti-dac082s085.c iio: dac: ti-dac082s085: Read chip spec from device table 2017-10-21 20:36:45 +01:00
ti-dac5571.c iio: dac: ti-dac5571: provide of_match_table to driver 2018-08-25 09:58:52 +01:00
ti-dac7311.c iio:dac:ti-dac7311 Add driver for Texas Instrument DAC7311 2018-11-11 15:29:44 +00:00
vf610_dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00