Merge tag 'ceph-for-5.13-rc1' of git://github.com/ceph/ceph-client
[linux-block.git] / include / linux / platform_data / ad7791.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
7b123c85
LPC
2#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