Changes since V1: Apply review feedback: Introduce and use IIO_CHAN_INFO_HARDWAREGAIN Introduce and use Use IIO_VAL_INT_PLUS_MICRO_DB Modify out of staging include paths. Convert to new iio core API naming. Changes since V2: more sanity checking in write_raw Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			351 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			351 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# Gain Amplifiers, etc.
 | 
						|
#
 | 
						|
menu "Amplifiers"
 | 
						|
 | 
						|
config AD8366
 | 
						|
	tristate "Analog Devices AD8366 VGA"
 | 
						|
	depends on SPI
 | 
						|
	select BITREVERSE
 | 
						|
	help
 | 
						|
	  Say yes here to build support for Analog Devices AD8366
 | 
						|
	  SPI Dual-Digital Variable Gain Amplifier (VGA).
 | 
						|
 | 
						|
	  To compile this driver as a module, choose M here: the
 | 
						|
	  module will be called ad8366.
 | 
						|
 | 
						|
endmenu
 |