I wonder do we need to write/port I2C driver for Raspberry Pi CM3 for u-boot because under the u-boot menuconfig option I could not see any I2C driver relating to Raspberry, I had blindly enabled the I2C command and tried to access the bus but nothing has turned out. My u-boot version is "u-boot-2018.09"
No I2C bus selected
Current bus is -1
I had verified the pinctrl driver module which has been enabled for bcm283x device, but I am not clear whether we need to enable the bcm2835 pin control device please help me clarify. finally, my goal is to use the I2C Bus from U-boot to control my I2c Chip device.
By the way the configuration that I am using for building the u-boot is "rpi_3_32b_defconfig" and with this configuration I could do everything else except accessing the I2C Bus, even after the kernel boot, I could access the I2C device using the command "i2cdetect - y 1" , so I doubt whether the device tree "bcm2837-rpi-3-b.dts" loaded by the default configuration is correct or not?, At kernel I tried inserting the i2c_bcm2835 and i2c_dev modules manually, but still the bus is not created under the /dev/
I have enabled the I2C device tree param to "ON" (dtparam=i2c_arm=on ) in /boot/config file , Please provide some pointer
Thanks In Advance.