]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: iio: ad7780: add gain & filter gpio support
authorRenato Lui Geh <renatogeh@gmail.com>
Sat, 16 Mar 2019 02:12:27 +0000 (23:12 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:02 +0000 (20:20 +0100)
commit9085daa4abcc3a1c19ae4eb00e609842ef28275a
treee8095de0f9e068709f9f41e5b12408d02b57f2ad
parentcaeffabc36cbb6a3cdfe5b7894f8e1bfef6504b3
staging: iio: ad7780: add gain & filter gpio support

Previously, the AD7780 driver only supported gpio for the 'powerdown'
pin. This commit adds suppport for the 'gain' and 'filter' pin.

Signed-off-by: Renato Lui Geh <renatogeh@gmail.com>
Signed-off-by: Giuliano Belinassi <giuliano.belinassi@usp.br>
Co-developed-by: Giuliano Belinassi <giuliano.belinassi@usp.br>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7780.c