summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-12-01 20:24:54 +0530
committerSubrata Banik <subratabanik@google.com>2023-02-04 08:27:55 +0000
commit4456e8a2b6fb6db1a2788f60c42f9a651e6221e1 (patch)
tree47a2ff5f6dd6ca982bf34d9516b7da5d6e92b4fe /src/mainboard/google/rex
parent7bfd1105bedd11a81749411a271a15ae511c87ad (diff)
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>
Diffstat (limited to 'src/mainboard/google/rex')
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb15
1 files 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