From 346623fd06b9d1f60898086ec576e2b5e7c185f6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 4 Feb 2022 09:26:31 +0100 Subject: [PATCH] trellisboard: Rename Video I2C to videoi2c. --- litex_boards/targets/trellisboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/trellisboard.py b/litex_boards/targets/trellisboard.py index 3fb8ae7..60d7c19 100755 --- a/litex_boards/targets/trellisboard.py +++ b/litex_boards/targets/trellisboard.py @@ -157,8 +157,8 @@ class BaseSoC(SoCCore): # PHY + TP410 I2C initialization. hdmi_pads = platform.request("hdmi") self.submodules.videophy = VideoDVIPHY(hdmi_pads, clock_domain="init") - self.submodules.i2c = I2CMaster(hdmi_pads) - self.i2c.add_init(addr=0x38, init=[ + self.submodules.videoi2c = I2CMaster(hdmi_pads) + self.videoi2c.add_init(addr=0x38, init=[ (0x08, 0x35) # CTL_1_MODE: Normal operation, 24-bit, HSYNC/VSYNC. ])