diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2021-10-26 19:13:54 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-29 00:53:19 +0000 |
commit | eea22f60d2dec7872c911cb77c826d1c1f6f4d86 (patch) | |
tree | 223c00bfce76b092326a66afe231b381573f5e7e /src | |
parent | bce7458aa18a1924ba072a5a3cd966ff88fffb77 (diff) |
mb/google/brya/var/kano: Add fw_config probe for MIPI camera
Add fw_config probe for MIPI OVTI2740 camera
BUG=b:194926283
TEST=FW_NAME=kano emerge-brya coreboot
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: Ic5a7cebf1f5c847c01e951a237af691e0ad6c73d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58619
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/brya/variants/kano/overridetree.cb | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/variants/kano/overridetree.cb b/src/mainboard/google/brya/variants/kano/overridetree.cb index 5ba1a43402..899dd36f6f 100644 --- a/src/mainboard/google/brya/variants/kano/overridetree.cb +++ b/src/mainboard/google/brya/variants/kano/overridetree.cb @@ -7,6 +7,10 @@ fw_config option AUDIO_UNKNOWN 0 option MAX98373_NAU88L25B_I2S 1 end + field UFC 4 5 + option UFC_USB 0 + option UFC_MIPI_OVTI2740 1 + end end chip soc/intel/alderlake register "SaGv" = "SaGv_Enabled" @@ -121,7 +125,9 @@ chip soc/intel/alderlake register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0"" register "cio2_prt[0]" = "1" - device generic 0 on end + device generic 0 on + probe UFC UFC_MIPI_OVTI2740 + end end end device ref pcie4_0 on @@ -349,7 +355,9 @@ chip soc/intel/alderlake register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" register "off_seq.ops[2]" = "SEQ_OPS_CLK_DISABLE(0, 0)" - device i2c 36 on end + device i2c 36 on + probe UFC UFC_MIPI_OVTI2740 + end end chip drivers/intel/mipi_camera register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" @@ -366,7 +374,9 @@ chip soc/intel/alderlake register "nvm_width" = "0x10" register "nvm_compat" = ""atmel,24c64"" - device i2c 50 on end + device i2c 50 on + probe UFC UFC_MIPI_OVTI2740 + end end end device ref i2c3 on end @@ -462,7 +472,9 @@ chip soc/intel/alderlake chip drivers/usb/acpi register "desc" = ""USB2 Camera"" register "type" = "UPC_TYPE_INTERNAL" - device ref usb2_port6 on end + device ref usb2_port6 on + probe UFC UFC_USB + end end chip drivers/usb/acpi register "desc" = ""USB2 Type-A Port A0 (MLB)"" |