blob: cc7533049b5b34cc3ea08721cf6565777adba607 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Lars-Peter Clausen7b123c82012-09-04 16:26:00 +01002#ifndef __LINUX_PLATFORM_DATA_AD7791__
3#define __LINUX_PLATFORM_DATA_AD7791__
4
5/**
6 * struct ad7791_platform_data - AD7791 device platform data
7 * @buffered: If set to true configure the device for buffered input mode.
8 * @burnout_current: If set to true the 100mA burnout current is enabled.
9 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
10 * bipolar mode.
11 */
12struct ad7791_platform_data {
13 bool buffered;
14 bool burnout_current;
15 bool unipolar;
16};
17
18#endif