trellisboard: Update i2c.add_init call.

This commit is contained in:
Florent Kermarrec 2022-02-02 10:59:54 +01:00
parent 7f4d464f1b
commit 0522d8b0c5
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class BaseSoC(SoCCore):
hdmi_pads = platform.request("hdmi")
self.submodules.videophy = VideoDVIPHY(hdmi_pads, clock_domain="init")
self.submodules.hdmi_i2c = I2CMaster(hdmi_pads)
self.add_i2c_init_table("hdmi_i2c", i2c_addr=0x38, table=[
self.hdmi_i2c.add_init(addr=0x38, init=[
(0x08, 0x35) # CTL_1_MODE: Normal operation, 24-bit, HSYNC/VSYNC.
])