Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/70226 )
Change subject: mb/google/rex: Use OV13B10 sensor for Proto 1 SKUs ......................................................................
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 subratabanik@google.com Change-Id: Ic785b82db4368f40d91921f29c218cf417938541 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70226 Reviewed-by: Kapil Porwal kapilporwal@google.com Reviewed-by: Eric Lai eric_lai@quanta.corp-partner.google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Tarun Tuli taruntuli@google.com --- M src/mainboard/google/rex/variants/rex0/overridetree.cb 1 file changed, 28 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Eric Lai: Looks good to me, approved Tarun Tuli: Looks good to me, approved Kapil Porwal: Looks good to me, approved
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index f3952a2..1672bf6 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -242,7 +242,7 @@ 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 @@ 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 @@ 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