From 17118a833a2df130ed24c2547ca903cac9fac0e0 Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Thu, 7 May 2020 17:41:22 -0700 Subject: mb/google/volteer: Fix camera dsdt config for ov2740 Link frequency and a format was not correct for volteer proto 2 ov2740 user-facing camera. The link frequency is calculated in the following way. (max frame width * max frame height * max fps * data format in bps / number of lanes / data rate) + max 35% of overhead For ov2740, (1920 * 1080 * 60 * 10 / 2 / 2) = 311Mhz. 360Mhz after adding 18% of overhead. BUG=b:148428976 BRANCH=none TEST=Build and boot volteer proto 2 board. Start a camera app and check user-facing camera functionalities. Signed-off-by: Daniel Kang Change-Id: I3b51826e123dec394c1b4eb9a1c5b64b8b11459e Reviewed-on: https://review.coreboot.org/c/coreboot/+/41157 Reviewed-by: Paul Menzel Reviewed-by: Dossym Nurmukhanov Reviewed-by: Wonkyu Kim Tested-by: build bot (Jenkins) --- .../volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl index 92c0339050..777ab7aa74 100644 --- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl +++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl @@ -124,7 +124,7 @@ Scope (\_SB.PCI0.IPU0) Package (0x02) { "data-lanes", - Package (0x04) + Package (0x02) { One, 0x02 @@ -582,7 +582,7 @@ Scope (\_SB.PCI0.I2C2) "link-frequencies", Package (0x01) { - 0xABA9500 + 0x15752A00 } }, Package (0x02) -- cgit v1.2.3