Jump to content

Recommended Posts

Posted

Hello everyone.

I have a custom board with A20 SoC running Buster kernel version 5. Configured device tree, everything works. My problem is that the board uses I2C4 bus to drive CSI1 camera and that I2C4 bus seems to be reserved for HDMI.

i2cdetect -l

gives i2c-0i2c-1i2c-2i2c-3 and sunxi-hdmi-i2c adapter.

Of course, trying to access sunxi-hdmi-i2c adapter from code (c++) or a tool (v4l2-ctl) results in an error as resource is busy.

As I don't use HDMI at all and I2C2 bus is free, my question is how can I set dummy I2C2 bus to be assigned to HDMI or somehow release I2C4 bus so it's accessible by camera driver.

Removing or disabling HDMI from device tree doesn't help as I2C does not appear at all.

 

Thank you all in advance.

 

Regards,

 

Javor

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines