Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2011
questions about i2c_register_board_info() and platform_add_devices()
I am trying to develop a i2c device driver on our embedded system.
I have found that i2c_register_board_info() is used to declare a i2c device information, but I am not very sure if this function also "add" a i2c device to our platform??
Usually we use platform_add_devices() in a platform configure file to let the system know what devices are there in our system. Is platform_add_devices() still a MUST even if I have used i2c_register_board_info() ??