From 5c281529ea53f1ea706fdd3f3a4c4df0289a0904 Mon Sep 17 00:00:00 2001 From: Luca Lai Date: Tue, 17 Jun 2025 14:09:53 +0800 Subject: [PATCH] mb/trulo/var/pujjolo: Add FW_CONFIG for mipi camera Add FW_CONFIG probe based on pujjolo boxster of below devices: Mipi camera Schematic version: 500E_S3A0_TWL_MB_FVT_20250527 BUG=b:395763555 BRANCH=none TEST=Boot to OS and verify the mipi camera device are set based on fw_config. Change-Id: I8760585d5012073fb3ca1d2636474a07b8eea97a Signed-off-by: Luca Lai Reviewed-on: https://review.coreboot.org/c/coreboot/+/88119 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- .../google/brya/variants/pujjolo/overridetree.cb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/brya/variants/pujjolo/overridetree.cb b/src/mainboard/google/brya/variants/pujjolo/overridetree.cb index c726761fae..3fca8c3d8f 100644 --- a/src/mainboard/google/brya/variants/pujjolo/overridetree.cb +++ b/src/mainboard/google/brya/variants/pujjolo/overridetree.cb @@ -16,6 +16,10 @@ fw_config option SD_ABSENT 0 option SD_PRESENT 1 end + field WFC 26 27 + option WFC_ABSENT 0 + option WFC_MIPI_OVTI8856 2 + end end chip soc/intel/alderlake @@ -343,7 +347,9 @@ chip soc/intel/alderlake 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 end + device i2c 10 on + probe WFC WFC_MIPI_OVTI8856 + end end chip drivers/intel/mipi_camera register "acpi_uid" = "3" @@ -369,7 +375,9 @@ chip soc/intel/alderlake register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" - device i2c 0C on end + device i2c 0C on + probe WFC WFC_MIPI_OVTI8856 + end end chip drivers/intel/mipi_camera register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" @@ -397,7 +405,9 @@ chip soc/intel/alderlake register "nvm_width" = "0x10" register "nvm_compat" = ""atmel,24c08"" - device i2c 50 on end + device i2c 50 on + probe WFC WFC_MIPI_OVTI8856 + end end end device ref i2c5 on