1I2C_BOARD_INFO(9) I2C and SMBus Subsystem I2C_BOARD_INFO(9)
2
3
4
6 I2C_BOARD_INFO - macro used to list an i2c device and its address
7
9 I2C_BOARD_INFO(dev_type, dev_addr);
10
12 dev_type
13 identifies the device type
14
15 dev_addr
16 the deviceĀ“s address on the bus.
17
19 This macro initializes essential fields of a struct i2c_board_info,
20 declaring what has been provided on a particular board. Optional fields
21 (such as associated irq, or device-specific platform_data) are provided
22 using conventional syntax.
23
25Kernel Hackers Manual 2.6. June 2019 I2C_BOARD_INFO(9)