i am working on imx6qp sabre AI board . and yocto build with krenel version :4.1.15.
Now i integrated a new i2c device on i2c-2 bus. and also the device is detected (used i2cdetect tool) on bus "1" and address found to be 11.
And now i have written a i2c platform driver which can probe and communicate with the user space with "ioctl" call.
Please let me know how to register the device with its address. and build the driver code on board. please help.
Note: i tried to add device using "i2c_register_board_info()" in /arch/arm/mach-imx/mach-cpuimx35.c but did not work.
i.e : Driver did not probe device. and did load. can only see it at /sys/bus/i2c/drivers/"registered name"