mb/google/trulo/var/uldrenite: Add fw_config probe for USB-C ports
Use fw_config to probe USB-C ports. BUG=b:392040004 BRANCH=firmware-trulo-15217.771.B TEST=emerge-nissa coreboot chromeos-bootimage Change-Id: Ic0161e8b85c5a2afe6ec8473497d21a5737f4f70 Signed-off-by: John Su <john_su@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86338 Reviewed-by: Jayvik Desai <jayvik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
parent
8fad6b043c
commit
71824342df
1 changed files with 10 additions and 2 deletions
|
|
@ -7,6 +7,10 @@ fw_config
|
|||
option TOUCHSCREEN_UNKNOWN 0
|
||||
option TOUCHSCREEN_NONE 1
|
||||
end
|
||||
field MB_TYPEC 7 7
|
||||
option MB_C_TWO 0
|
||||
option MB_C_ONE 1
|
||||
end
|
||||
end
|
||||
|
||||
chip soc/intel/alderlake
|
||||
|
|
@ -250,7 +254,9 @@ chip soc/intel/alderlake
|
|||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||
register "use_custom_pld" = "true"
|
||||
register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))"
|
||||
device ref tcss_usb3_port2 on end
|
||||
device ref tcss_usb3_port2 on
|
||||
probe MB_TYPEC MB_C_TWO
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -270,7 +276,9 @@ chip soc/intel/alderlake
|
|||
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
|
||||
register "use_custom_pld" = "true"
|
||||
register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
|
||||
device ref usb2_port2 on end
|
||||
device ref usb2_port2 on
|
||||
probe MB_TYPEC MB_C_TWO
|
||||
end
|
||||
end
|
||||
chip drivers/usb/acpi
|
||||
register "desc" = ""USB2 Type-A Port A0 (MLB)""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue