]> git.baikalelectronics.ru Git - kernel.git/commit
iio:cdc:ad7150: Move driver out of staging.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Mar 2021 18:15:11 +0000 (18:15 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:37 +0000 (08:36 +0100)
commitb3128ed2c53b7f782d7e937fd975e6dfec882324
tree26b8405b215d929899976d996c78284240d5b17e
parent197f7bfda7ff57696b6c49b89726ea8979a57404
iio:cdc:ad7150: Move driver out of staging.

This capacitance to digital converter (CDC) driver is compliant with
the IIO ABI.  Note, not all features supported (e.g. window event modes)
but the driver should be in a useful functional state.

The cleanup was done against QEMU emulation of the device rather than
actual hardware.   Whilst this was a bit of an experiment, it made it
easy to confirm that the driver remained in a consistent working state
through the various refactors.  If it worked in the first place, it
should still be working after this cleanup.

Given some IIO drivers require expensive hardware setups, (not particularly
true with this one) the use of QEMU may provide a viable way forward
for providing testing during code changes where previously we'd had
to rely on sharp eyes and crossed fingers.

Note, no explicit MAINTAINERS entry as it will be covered by the
generic catch-alls for ADI and IIO drivers which are sufficient.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210314181511.531414-25-jic23@kernel.org
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/cdc/Kconfig [new file with mode: 0644]
drivers/iio/cdc/Makefile [new file with mode: 0644]
drivers/iio/cdc/ad7150.c [new file with mode: 0644]
drivers/staging/iio/cdc/Kconfig
drivers/staging/iio/cdc/Makefile
drivers/staging/iio/cdc/ad7150.c [deleted file]