mb/google/rex/var/karis: Remove USB camera

Karis use MIPI camera only, remove related settings.

BUG=b:294155897
TEST=emerge-rex coreboot

Change-Id: I96316d63c068c48b5bec75d3b4c5444d15fd985f
Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77510
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Tyler Wang 2023-08-28 13:37:01 +08:00 committed by Jakub Czapiga
parent 065e2e4a46
commit c7a0ea2842
1 changed files with 3 additions and 23 deletions

View File

@ -4,10 +4,6 @@ fw_config
option MAX98360_ALC5682I_I2S 1 option MAX98360_ALC5682I_I2S 1
option MAX98363_CS42L42_SNDW 2 option MAX98363_CS42L42_SNDW 2
end end
field UFC 6 7
option UFC_USB 0
option UFC_MIPI 1
end
field DB_USB 12 14 field DB_USB 12 14
option USB_UNKNOWN 0 option USB_UNKNOWN 0
option USB3_PS8815 1 option USB3_PS8815 1
@ -34,7 +30,6 @@ chip soc/intel/meteorlake
register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C1 register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C1
register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C0 register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C0
register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # USB Camera
register "usb2_ports[8]" = "USB2_PORT_MID(OC3)" # Type-A Port A0 register "usb2_ports[8]" = "USB2_PORT_MID(OC3)" # Type-A Port A0
register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Bluetooth register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Bluetooth
@ -316,15 +311,6 @@ chip soc/intel/meteorlake
register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
device ref usb2_port2 on end device ref usb2_port2 on end
end end
chip drivers/usb/acpi
register "desc" = ""USB2 Camera""
register "type" = "UPC_TYPE_INTERNAL"
register "has_power_resource" = "1"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B09)"
device ref usb2_port6 on
probe UFC UFC_USB
end
end
chip drivers/usb/acpi chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Port A0 (DB)"" register "desc" = ""USB2 Type-A Port A0 (DB)""
register "type" = "UPC_TYPE_A" register "type" = "UPC_TYPE_A"
@ -371,9 +357,7 @@ chip soc/intel/meteorlake
register "cio2_prt[0]" = "4" register "cio2_prt[0]" = "4"
register "cio2_prt[1]" = "0" register "cio2_prt[1]" = "0"
device generic 0 on device generic 0 on end
probe UFC UFC_MIPI
end
end end
end end
device ref i2c0 on device ref i2c0 on
@ -475,9 +459,7 @@ chip soc/intel/meteorlake
register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
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 20 on device i2c 20 on end
probe UFC UFC_MIPI
end
end end
chip drivers/intel/mipi_camera chip drivers/intel/mipi_camera
register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
@ -507,9 +489,7 @@ chip soc/intel/meteorlake
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 50 on device i2c 50 on end
probe UFC UFC_MIPI
end
end end
end #I2C5 end #I2C5
device ref pcie_rp5 on device ref pcie_rp5 on