drm/atomic-helper: document drm_atomic_helper_check() restrictions
[drm/drm-misc.git] / include / linux / platform_data / ads7828.h
blob0fa4186c617191934b9873a069605acbf6c2a106
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * TI ADS7828 A/D Converter platform data definition
5 * Copyright (c) 2012 Savoir-faire Linux Inc.
6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
8 * For further information, see the Documentation/hwmon/ads7828.rst file.
9 */
11 #ifndef _PDATA_ADS7828_H
12 #define _PDATA_ADS7828_H
14 /**
15 * struct ads7828_platform_data - optional ADS7828 connectivity info
16 * @diff_input: Differential input mode.
17 * @ext_vref: Use an external voltage reference.
18 * @vref_mv: Voltage reference value, if external.
20 struct ads7828_platform_data {
21 bool diff_input;
22 bool ext_vref;
23 unsigned int vref_mv;
26 #endif /* _PDATA_ADS7828_H */