linux_dsm_epyc7002/drivers/iio/dac
Lukas Wunner f98677cf31 iio: dac: ti-dac082s085: Read chip spec from device table
The two properties unique to each supported chip, resolution and number
of channels, are currently gleaned from the chip's name.
E.g. dac102s085 is a dual channel 10-bit DAC.
        ^^^
This was deemed unmaintainable by the subsystem maintainer once the
driver is extended to support further chips, hence it was requested
to add an explicit table for chip-specific information and use an
enum to reference into it.

This adds 17 LoC without any immediate gain, so make the change in a
separate commit which can be reverted if we determine in 10 years that
it was unnecessary.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-10-21 20:36:45 +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_spi.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00
ad5624r.h staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09: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
ds4424.c iio: dac: ds4422/ds4424 dac driver 2017-10-09 20:49:39 +01:00
Kconfig iio: dac: Add Texas Instruments 8/10/12-bit 2/4-channel DAC driver 2017-10-21 20:35:43 +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
Makefile iio: dac: Add Texas Instruments 8/10/12-bit 2/4-channel DAC driver 2017-10-21 20:35:43 +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
ti-dac082s085.c iio: dac: ti-dac082s085: Read chip spec from device table 2017-10-21 20:36:45 +01:00
vf610_dac.c iio:dac: drop assignment of iio_info.driver_module 2017-08-22 21:26:54 +01:00