root/include/linux/platform_data/i2c-ocores.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /*
   3  * i2c-ocores.h - definitions for the i2c-ocores interface
   4  *
   5  * Peter Korsgaard <peter@korsgaard.com>
   6  */
   7 
   8 #ifndef _LINUX_I2C_OCORES_H
   9 #define _LINUX_I2C_OCORES_H
  10 
  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 */
  19 };
  20 
  21 #endif /* _LINUX_I2C_OCORES_H */

/* [<][>][^][v][top][bottom][index][help] */