DDC Support / DesignWare HDMI Controller
#1
Hi there,

it seems that by default only the internal I2C-controller of the DesignWare HDMI controller is enabled. However, it is known that this is sufficient to retrieve the EDID, but the internal I2C controller of the HDMI module is not suitable for full DDC support, see the discussion here:

https://patchwork.kernel.org/project/dri.../#22771979

However, the driver supports using an external I2C-controller, and reading through the schematics for the Quartz64 model A

https://files.pine64.org/doc/quartz64/Qu...210427.pdf

it shows that the I2C-5 pins are even connected to the HDMI plug (search for HDMITX). So things are correctly setup in hardware, what is missing are the proper settings in the device tree. This can be cured by the attached device-tree overlay. The overlay
  • enables the controller for i2c-5 with the m1 pin configuration (see schematics for the board)
  • removes the respective pins from the pin-control entry of the HDMI controller to resolve conflicts
  • adds "ddc-i2c-bus = <&i2c5>;" to the hdmi controller section

Afterwards DDC just works, on Linux "ddcutil detect" will succeed and, e.g., "ddcui" can be used to control the settings with a GUI.

Best

Claus


Attached Files
.zip   ddc.zip (Size: 310 bytes / Downloads: 17)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trustzone support for QUARTZ64 capablegh 13 9,411 04-28-2023, 01:58 AM
Last Post: NCLI
  OpenBSD support? pion 5 4,693 12-23-2022, 11:10 AM
Last Post: TRS-80
  Does RK3566 support s2ram deep sleep? jag 0 1,631 09-27-2021, 12:16 PM
Last Post: jag
  Dual HDMI possible? Danct12 2 4,091 09-01-2021, 09:11 AM
Last Post: PacoGirona

Forum Jump:


Users browsing this thread: 1 Guest(s)