Jump to content

AllWinner A20 HDMI change I2C bus


Javor

Recommended Posts

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

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines