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 <varshit.b.pandya@intel.com>
Change-Id: I034cb7da787313d1cb53484922149589ac0f1c5a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56162
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Varshit B Pandya 2021-07-08 21:13:31 +05:30 committed by Tim Wawrzynczak
parent 2828fee7e0
commit f48eecbbe0
1 changed files with 1 additions and 1 deletions

View File

@ -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