https://github.com/torvalds/linux
Raw File
Tip revision: bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 authored by Linus Torvalds on 22 March 2015, 23:50:21 UTC
Linux 4.0-rc5
Tip revision: bc465aa
ad5933.h
/*
 * AD5933 AD5934 Impedance Converter, Network Analyzer
 *
 * Copyright 2011 Analog Devices Inc.
 *
 * Licensed under the GPL-2.
 */

#ifndef IIO_ADC_AD5933_H_
#define IIO_ADC_AD5933_H_

/*
 * TODO: struct ad5933_platform_data needs to go into include/linux/iio
 */

/**
 * struct ad5933_platform_data - platform specific data
 * @ext_clk_Hz:		the external clock frequency in Hz, if not set
 *			the driver uses the internal clock (16.776 MHz)
 * @vref_mv:		the external reference voltage in millivolt
 */

struct ad5933_platform_data {
	unsigned long			ext_clk_Hz;
	unsigned short			vref_mv;
};

#endif /* IIO_ADC_AD5933_H_ */
back to top