mb/google/brya/var/constitution: Fix PLD group order
Ensure USB-C ports' _PLD group numbers appear in order. get_usb_port_references in src/ec/google/chromeec/ec_acpi.c uses group token to match with the Type-C port number. BUG=b:216490477 TEST=build coreboot and system boot into OS. BRANCH=firmware-brya-14505.B Change-Id: Ib564ffe272e73f46ec6608420dc431c8b017fb65 Signed-off-by: Won Chung <wonchung@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75570 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tarun Tuli <taruntuli@google.com>
This commit is contained in:
parent
6ce0d1a756
commit
96edcc1c98
|
@ -244,14 +244,14 @@ chip soc/intel/alderlake
|
||||||
register "desc" = ""USB3 Type-C Port C1 (MLB)""
|
register "desc" = ""USB3 Type-C Port C1 (MLB)""
|
||||||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||||
register "use_custom_pld" = "true"
|
register "use_custom_pld" = "true"
|
||||||
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(1, 2))"
|
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(2, 1))"
|
||||||
device ref tcss_usb3_port2 on end
|
device ref tcss_usb3_port2 on end
|
||||||
end
|
end
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
register "desc" = ""USB3 Type-C Port C2 (MLB)""
|
register "desc" = ""USB3 Type-C Port C2 (MLB)""
|
||||||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||||
register "use_custom_pld" = "true"
|
register "use_custom_pld" = "true"
|
||||||
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, LEFT, ACPI_PLD_GROUP(1, 3))"
|
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, LEFT, ACPI_PLD_GROUP(3, 1))"
|
||||||
device ref tcss_usb3_port3 on end
|
device ref tcss_usb3_port3 on end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -271,14 +271,14 @@ chip soc/intel/alderlake
|
||||||
register "desc" = ""USB2 Type-C Port C1 (MLB)""
|
register "desc" = ""USB2 Type-C Port C1 (MLB)""
|
||||||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||||
register "use_custom_pld" = "true"
|
register "use_custom_pld" = "true"
|
||||||
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(1, 2))"
|
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(2, 1))"
|
||||||
device ref usb2_port2 on end
|
device ref usb2_port2 on end
|
||||||
end
|
end
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
register "desc" = ""USB2 Type-C Port C2 (MLB)""
|
register "desc" = ""USB2 Type-C Port C2 (MLB)""
|
||||||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||||
register "use_custom_pld" = "true"
|
register "use_custom_pld" = "true"
|
||||||
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, LEFT, ACPI_PLD_GROUP(1, 3))"
|
register "custom_pld" = "ACPI_PLD_TYPE_C(BACK, LEFT, ACPI_PLD_GROUP(3, 1))"
|
||||||
device ref usb2_port3 on end
|
device ref usb2_port3 on end
|
||||||
end
|
end
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
|
|
Loading…
Reference in New Issue