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 <daniel.h.kang@intel.com>
Change-Id: I3b51826e123dec394c1b4eb9a1c5b64b8b11459e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41157
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Dossym Nurmukhanov <dossym@google.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Daniel Kang 2020-05-07 17:41:22 -07:00 committed by Patrick Georgi
parent d2132469ae
commit 17118a833a
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02) Package (0x02)
{ {
"data-lanes", "data-lanes",
Package (0x04) Package (0x02)
{ {
One, One,
0x02 0x02
@ -582,7 +582,7 @@ Scope (\_SB.PCI0.I2C2)
"link-frequencies", "link-frequencies",
Package (0x01) Package (0x01)
{ {
0xABA9500 0x15752A00
} }
}, },
Package (0x02) Package (0x02)