mb/google/nissa/var/anraggar: Add FW_CONFIG probe for mipi camera
Due to some without mipi camera SKUs can't entering S0i3. BUG=b:317670018 TEST=suspend_stress_test -c 1 Change-Id: Ifa8649a603c59946b530abd315113b405ceaf35a Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79802 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
parent
4b957b9665
commit
b895d55748
|
@ -1,3 +1,12 @@
|
||||||
|
fw_config
|
||||||
|
field CAMERA 12 13
|
||||||
|
option UF_720P_WF 0
|
||||||
|
option UF_1080P 1
|
||||||
|
option UF_720P 2
|
||||||
|
option UF_1080P_WF 3
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
chip soc/intel/alderlake
|
chip soc/intel/alderlake
|
||||||
register "sagv" = "SaGv_Enabled"
|
register "sagv" = "SaGv_Enabled"
|
||||||
|
|
||||||
|
@ -210,7 +219,10 @@ chip soc/intel/alderlake
|
||||||
register "cio2_lanes_used" = "{4}" # 4 CSI Camera lanes are used
|
register "cio2_lanes_used" = "{4}" # 4 CSI Camera lanes are used
|
||||||
register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
|
register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
|
||||||
register "cio2_prt[0]" = "1"
|
register "cio2_prt[0]" = "1"
|
||||||
device generic 0 on end
|
device generic 0 on
|
||||||
|
probe CAMERA UF_720P_WF
|
||||||
|
probe CAMERA UF_1080P_WF
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
device ref i2c1 on
|
device ref i2c1 on
|
||||||
|
@ -281,7 +293,10 @@ chip soc/intel/alderlake
|
||||||
register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
|
register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
|
||||||
register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
|
register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
|
||||||
|
|
||||||
device i2c 36 on end
|
device i2c 36 on
|
||||||
|
probe CAMERA UF_720P_WF
|
||||||
|
probe CAMERA UF_1080P_WF
|
||||||
|
end
|
||||||
end
|
end
|
||||||
chip drivers/intel/mipi_camera
|
chip drivers/intel/mipi_camera
|
||||||
register "acpi_uid" = "2"
|
register "acpi_uid" = "2"
|
||||||
|
@ -303,7 +318,10 @@ chip soc/intel/alderlake
|
||||||
register "off_seq.ops_cnt" = "1"
|
register "off_seq.ops_cnt" = "1"
|
||||||
register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
|
register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
|
||||||
|
|
||||||
device i2c 0C on end
|
device i2c 0C on
|
||||||
|
probe CAMERA UF_720P_WF
|
||||||
|
probe CAMERA UF_1080P_WF
|
||||||
|
end
|
||||||
end
|
end
|
||||||
chip drivers/intel/mipi_camera
|
chip drivers/intel/mipi_camera
|
||||||
register "acpi_uid" = "1"
|
register "acpi_uid" = "1"
|
||||||
|
@ -317,7 +335,10 @@ chip soc/intel/alderlake
|
||||||
register "nvm_width" = "0x10"
|
register "nvm_width" = "0x10"
|
||||||
register "nvm_compat" = ""atmel,24c64""
|
register "nvm_compat" = ""atmel,24c64""
|
||||||
|
|
||||||
device i2c 50 on end
|
device i2c 50 on
|
||||||
|
probe CAMERA UF_720P_WF
|
||||||
|
probe CAMERA UF_1080P_WF
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
device ref i2c3 on
|
device ref i2c3 on
|
||||||
|
|
Loading…
Reference in New Issue