linux/drivers/iio
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
..
accel iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
adc iio: adc: ti-ads1015: add 10% to conversion wait time 2017-09-03 18:10:31 +01:00
amplifiers iio:amplifiers:ad8366 drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:24:50 +01:00
buffer iio: buffer-dmaengine: Add missing header buffer_impl.h 2017-06-13 20:56:05 +01:00
chemical iio:chemical: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:25:20 +01:00
common iio:common: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:25:33 +01:00
counter iio:counter:104-quad-8 drop assign iio_info.driver_module 2017-08-22 21:26:11 +01:00
dac drivers: misc: ti_dac7512: Remove duplicate driver 2017-09-13 17:49:57 +01:00
dummy iio:dummy: drop assignment of iio_info.driver_module 2017-08-22 21:27:45 +01:00
frequency iio:frequency: drop assign iio_info.driver_module 2017-08-22 21:28:20 +01:00
gyro iio:gyro: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:28:56 +01:00
health iio:health: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:29:44 +01:00
humidity iio:humidity: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:30:20 +01:00
imu iio: imu: inv_mpu6050: make arrays hz and d static 2017-09-03 18:10:32 +01:00
light iio: light: tcs3472: support out-of-threshold events 2017-09-03 18:10:29 +01:00
magnetometer iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
multiplexer iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values 2017-09-03 18:10:29 +01:00
orientation iio:orientation: drop assign iio_info.driver_module 2017-08-22 21:33:36 +01:00
potentiometer iio:potentiometer:max5487: Drop explicit setting of module owner 2017-09-03 18:10:27 +01:00
potentiostat iio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:34:48 +01:00
pressure iio: pressure: add support to LPS33HW and LPS35HW 2017-09-03 18:10:33 +01:00
proximity iio:proximity: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 22:14:51 +01:00
temperature iio:temperature: drop assignment of iio_info.driver_module 2017-08-22 22:14:52 +01:00
trigger iio:triggers: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 22:14:52 +01:00
iio_core_trigger.h
iio_core.h iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
industrialio-buffer.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
industrialio-configfs.c iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem 2015-12-05 16:25:30 +00:00
industrialio-core.c iio: Use macro magic to avoid manual assign of driver_module 2017-08-22 20:03:14 +01:00
industrialio-event.c iio: iio_push_event(): Don't crash if the event interface is not registered 2016-09-10 16:40:44 +01:00
industrialio-sw-device.c iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio:trigger: Remove necessity to have a trig->ops structure. 2017-08-22 21:20:28 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c First round of IIO new device support, features and cleanups for the 4.14 cycle. 2017-07-27 21:29:49 -07:00
Kconfig iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00
Makefile iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00