ASoC: wm_adsp: Separate concept of booted and running
[linux-2.6/btrfs-unstable.git] / include / linux / platform_data / ads7828.h
blob3245f45f9d773317c6afb883c5cc7414c24db808
1 /*
2 * TI ADS7828 A/D Converter platform data definition
4 * Copyright (c) 2012 Savoir-faire Linux Inc.
5 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
7 * For further information, see the Documentation/hwmon/ads7828 file.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #ifndef _PDATA_ADS7828_H
15 #define _PDATA_ADS7828_H
17 /**
18 * struct ads7828_platform_data - optional ADS7828 connectivity info
19 * @diff_input: Differential input mode.
20 * @ext_vref: Use an external voltage reference.
21 * @vref_mv: Voltage reference value, if external.
23 struct ads7828_platform_data {
24 bool diff_input;
25 bool ext_vref;
26 unsigned int vref_mv;
29 #endif /* _PDATA_ADS7828_H */