drm/atomic-helper: document drm_atomic_helper_check() restrictions
[drm/drm-misc.git] / include / linux / platform_data / i2c-ocores.h
blobe6326cbafe593a99aba698376fd050085b2c12d9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * i2c-ocores.h - definitions for the i2c-ocores interface
5 * Peter Korsgaard <peter@korsgaard.com>
6 */
8 #ifndef _LINUX_I2C_OCORES_H
9 #define _LINUX_I2C_OCORES_H
11 struct ocores_i2c_platform_data {
12 u32 reg_shift; /* register offset shift value */
13 u32 reg_io_width; /* register io read/write width */
14 u32 clock_khz; /* input clock in kHz */
15 u32 bus_khz; /* bus clock in kHz */
16 bool big_endian; /* registers are big endian */
17 u8 num_devices; /* number of devices in the devices list */
18 struct i2c_board_info const *devices; /* devices connected to the bus */
21 #endif /* _LINUX_I2C_OCORES_H */