![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * i2c-xiic.h 0004 * Copyright (c) 2009 Intel Corporation 0005 */ 0006 0007 /* Supports: 0008 * Xilinx IIC 0009 */ 0010 0011 #ifndef _LINUX_I2C_XIIC_H 0012 #define _LINUX_I2C_XIIC_H 0013 0014 /** 0015 * struct xiic_i2c_platform_data - Platform data of the Xilinx I2C driver 0016 * @num_devices: Number of devices that shall be added when the driver 0017 * is probed. 0018 * @devices: The actuall devices to add. 0019 * 0020 * This purpose of this platform data struct is to be able to provide a number 0021 * of devices that should be added to the I2C bus. The reason is that sometimes 0022 * the I2C board info is not enough, a new PCI board can for instance be 0023 * plugged into a standard PC, and the bus number might be unknown at 0024 * early init time. 0025 */ 0026 struct xiic_i2c_platform_data { 0027 u8 num_devices; 0028 struct i2c_board_info const *devices; 0029 }; 0030 0031 #endif /* _LINUX_I2C_XIIC_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |