iio:dac:ad5686: Refactor the driver
In this patch restructures the existing ad5686 driver by adding a module for SPI and a header file, while the baseline module deals with the chip-logic. This is a necessary step, as this driver should support in the future similar devices which differ only in the type of interface used (I2C instead of SPI). Signed-off-by:Stefan Popa <stefan.popa@analog.com> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
- MAINTAINERS 7 additions, 0 deletionsMAINTAINERS
- drivers/iio/dac/Kconfig 9 additions, 4 deletionsdrivers/iio/dac/Kconfig
- drivers/iio/dac/Makefile 1 addition, 0 deletionsdrivers/iio/dac/Makefile
- drivers/iio/dac/ad5686-spi.c 93 additions, 0 deletionsdrivers/iio/dac/ad5686-spi.c
- drivers/iio/dac/ad5686.c 29 additions, 162 deletionsdrivers/iio/dac/ad5686.c
- drivers/iio/dac/ad5686.h 114 additions, 0 deletionsdrivers/iio/dac/ad5686.h
Loading
Please register or sign in to comment