mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 23:23:52 +08:00
5e53a69b44
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>
15 lines
238 B
C
15 lines
238 B
C
#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
|