IIO : ADC: tiadc: Add support of TI's ADC driver
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna <rachna@ti.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
2b99bafab1
commit
5e53a69b44
6 changed files with 307 additions and 2 deletions
14
include/linux/platform_data/ti_am335x_adc.h
Normal file
14
include/linux/platform_data/ti_am335x_adc.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef __LINUX_TI_AM335X_ADC_H
|
||||
#define __LINUX_TI_AM335X_ADC_H
|
||||
|
||||
/**
|
||||
* struct adc_data ADC Input information
|
||||
* @adc_channels: Number of analog inputs
|
||||
* available for ADC.
|
||||
*/
|
||||
|
||||
struct adc_data {
|
||||
unsigned int adc_channels;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue