From 0522d8b0c51a6f0a4d5ff80667760d4557fe063a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 2 Feb 2022 10:59:54 +0100 Subject: [PATCH] trellisboard: Update i2c.add_init call. --- litex_boards/targets/trellisboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_boards/targets/trellisboard.py b/litex_boards/targets/trellisboard.py index 2fd42e03..b5d65eb5 100755 --- a/litex_boards/targets/trellisboard.py +++ b/litex_boards/targets/trellisboard.py @@ -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. ])