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>
diff --git a/src/mainboard/google/brya/variants/kano/overridetree.cb b/src/mainboard/google/brya/variants/kano/overridetree.cb
index 5ba1a43..899dd36 100644
--- a/src/mainboard/google/brya/variants/kano/overridetree.cb
+++ b/src/mainboard/google/brya/variants/kano/overridetree.cb
@@ -7,6 +7,10 @@
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 @@
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 @@
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 @@
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 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)""