Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions kernel/sys_config/hi3516cv200/sys_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,16 @@ static void insert_sns(void)
sys_write_reg(0x200f0040, 0x2); // I2C0_SCL
sys_write_reg(0x200f0044, 0x2); // I2C0_SDA

sys_write_reg(0x2003002c, 0xc4001); // sensor unreset, clk 24MHz, VI 99MHz
}
else if (!strcmp(sensor, "gc2023_mipi"))
{
// MIPI variant — GC2023 wired to CSI-2 (e.g. VStarcam Hi3518EV200),
// uses gc2023_mipi_1080p.ini; the parallel VI pads stay unmuxed so
// the MIPI PHY keeps the pins
sys_write_reg(0x200f0040, 0x2); // I2C0_SCL
sys_write_reg(0x200f0044, 0x2); // I2C0_SDA

sys_write_reg(0x2003002c, 0xc4001); // sensor unreset, clk 24MHz, VI 99MHz
}
else if (!strcmp(sensor, "ov2710_dc"))
Expand Down