From f48eecbbe0867b0f592c8b4e18907f8bf99f1c5e Mon Sep 17 00:00:00 2001 From: Varshit B Pandya Date: Thu, 8 Jul 2021 21:13:31 +0530 Subject: [PATCH] mb/google/brya: Update generic device number for mipi_camera device If two generic devices use the same number, device coming later overrides the earlier device, as a result of this the static.c has only one device. In the case where we have UFC set to UFC_USB, this will result in no IPU device scope in SSDT, since its entry will be set to disbled after UFC probe. TEST=Build, Boot and Check UFC camera preview with UFC=UFC_USB Signed-off-by: Varshit B Pandya Change-Id: I034cb7da787313d1cb53484922149589ac0f1c5a Reviewed-on: https://review.coreboot.org/c/coreboot/+/56162 Tested-by: build bot (Jenkins) Reviewed-by: Maulik V Vaghela Reviewed-by: Subrata Banik Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/variants/brya0/overridetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/brya/variants/brya0/overridetree.cb b/src/mainboard/google/brya/variants/brya0/overridetree.cb index eb0af9981d..d4653bcd0a 100644 --- a/src/mainboard/google/brya/variants/brya0/overridetree.cb +++ b/src/mainboard/google/brya/variants/brya0/overridetree.cb @@ -149,7 +149,7 @@ chip soc/intel/alderlake register "cio2_lane_endpoint[1]" = ""^I2C2.CAM1"" register "cio2_prt[0]" = "2" register "cio2_prt[1]" = "1" - device generic 0 on + device generic 1 on probe UFC UFC_MIPI_5675 end end