From eea22f60d2dec7872c911cb77c826d1c1f6f4d86 Mon Sep 17 00:00:00 2001 From: David Wu Date: Tue, 26 Oct 2021 19:13:54 +0800 Subject: 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 Change-Id: Ic5a7cebf1f5c847c01e951a237af691e0ad6c73d Reviewed-on: https://review.coreboot.org/c/coreboot/+/58619 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- .../google/brya/variants/kano/overridetree.cb | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'src/mainboard/google') 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)"" -- cgit v1.2.3