From 4456e8a2b6fb6db1a2788f60c42f9a651e6221e1 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 1 Dec 2022 20:24:54 +0530 Subject: [PATCH] mb/google/rex: Use OV13B10 sensor for Proto 1 SKUs This patch drops the WFC sensor OV8856 (reused from the Brya chassis) support for Rex and added support for Rex specific UFC sensor OV13B10. BUG=b:267264348 TEST=WFC MIPI cameras have been enabled using google/rex Proto 1. Signed-off-by: Subrata Banik Change-Id: Ic785b82db4368f40d91921f29c218cf417938541 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70226 Reviewed-by: Kapil Porwal Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Tarun Tuli --- .../google/rex/variants/rex0/overridetree.cb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index f3952a2f91..1672bf652b 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -242,7 +242,7 @@ chip soc/intel/meteorlake register "device_type" = "INTEL_ACPI_CAMERA_CIO2" register "cio2_num_ports" = "2" - register "cio2_lanes_used" = "{2,2}" # 2 CSI Camera lanes are used + register "cio2_lanes_used" = "{4,2}" # 4 and 2 CSI Camera lanes are used register "cio2_lane_endpoint[0]" = ""^I2C0.CAM0"" register "cio2_lane_endpoint[1]" = ""^I2C5.CAM1"" register "cio2_prt[0]" = "4" @@ -270,19 +270,18 @@ chip soc/intel/meteorlake end end chip drivers/intel/mipi_camera - register "acpi_hid" = ""OVTI8856"" + register "acpi_hid" = ""OVTIDB10"" register "acpi_uid" = "0" register "acpi_name" = ""CAM0"" - register "chip_name" = ""Ov 8856 Camera"" + register "chip_name" = ""Ov 13b10 Camera"" register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" - register "ssdb.lanes_used" = "2" + register "ssdb.lanes_used" = "4" register "ssdb.link_used" = "0" register "ssdb.vcm_type" = "0x0C" register "vcm_name" = ""VCM0"" - register "num_freq_entries" = "2" - register "link_freq[0]" = "720 * MHz" # 720 MHz - register "link_freq[1]" = "360 * MHz" # 360 MHz + register "num_freq_entries" = "1" + register "link_freq[0]" = "560 * MHz" # 560 MHz register "remote_name" = ""IPU0"" register "has_power_resource" = "1" @@ -309,7 +308,7 @@ chip soc/intel/meteorlake register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" - device i2c 10 on + device i2c 36 on probe WFC WFC_MIPI end end