OpenCloudOS-Kernel/drivers/iio/dac
Lukas Wunner 49b3f87496 drivers: misc: ti_dac7512: Remove duplicate driver
The Texas Instruments DAC7512 has the exact same pinout, programming
interface and power-down modes as the Texas Instruments DAC121S101 and
Analog Devices AD5320, which are already supported by the IIO driver
ad5446.c.  Remove the duplicate misc driver.

This requires user space to migrate to the standardized IIO sysfs ABI.
(In other words, it needs to change a filename.)

The IIO driver supports the chip's features more fully, e.g. the ability
to power down the output or choose one of the available powerdown modes.

There is an oddity with the misc driver in that it initializes the SPI
slave to SPI_MODE_0, in contradiction to the datasheet which specifies
that data is latched in on the falling edge, implying that SPI_MODE_1
or SPI_MODE_2 must be used.  Another oddity is that Kconfig and the
MODULE_DESCRIPTION() claim the chip has 16-bit resolution although it
actually has 12-bit.

Datasheets:
http://www.ti.com/lit/ds/symlink/dac7512.pdf
http://www.ti.com/lit/ds/symlink/dac121s101.pdf
http://www.analog.com/media/en/technical-documentation/data-sheets/AD5320.pdf

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Daniel Mack <daniel@zonque.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-09-13 17:49:57 +01:00
..
Kconfig iio: dac: ad5446: Add IDs of compatible Texas Instruments chips 2017-09-13 17:49:57 +01:00
Makefile iio: dac: add support for stm32 DAC 2017-04-14 16:36:16 +01:00
ad5064.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5360.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5380.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5421.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5446.c drivers: misc: ti_dac7512: Remove duplicate driver 2017-09-13 17:49:57 +01:00
ad5449.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5504.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5592r-base.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01: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.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5755.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5761.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5764.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5791.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +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:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
lpc18xx_dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ltc2632.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
m62332.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
max517.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
max5821.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
mcp4725.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
mcp4922.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
stm32-dac-core.c iio: dac: stm32-dac-core: explicitly request exclusive reset control 2017-08-20 15:41:18 +01:00
stm32-dac-core.h iio: dac: add support for stm32 DAC 2017-04-14 16:36:16 +01:00
stm32-dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
vf610_dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00