drivers/intel/mipi_camera: Set additional SSDB defaults
Set SSDB version and card type default values, as both fields are required by both Linux and Windows MIPI camera drivers. TEST=tested with rest of patch train Change-Id: Ia43bc61caef427a86883a6295af1606eac00229f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90194 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
866b79c9fe
commit
c75236d436
1 changed files with 5 additions and 0 deletions
|
|
@ -287,6 +287,11 @@ static void camera_fill_ssdb_defaults(struct drivers_intel_mipi_camera_config *c
|
|||
if (config->disable_ssdb_defaults)
|
||||
return;
|
||||
|
||||
config->ssdb.version = 1;
|
||||
|
||||
if (!config->ssdb.sensor_card_sku.card_type)
|
||||
config->ssdb.sensor_card_sku.card_type = SKU_CRD_D;
|
||||
|
||||
guidcpy(&config->ssdb.csi2_data_stream_interface, &CSI2_DATA_STREAM_INTERFACE_GUID);
|
||||
|
||||
if (!config->ssdb.bdf_value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue