1 i2c_board_info数据结构的定义
Note:Pay attetion on the value of the addr member.(addr=chip_address>>1)
2 I2C 器件注册到I2C Bus
i2c_register_board_info(0, ARRAY_AND_SIZE(stargate2_i2c_board_info));
i2c_register_board_info(1,
ARRAY_AND_SIZE(stargate2_pwr_i2c_board_info));
Note: The first parameter is the I2C Bus ID.
Author: WoodPecker <Pecker.hu@gmail.com>