soc/qualcomm/x1p42100: Add mainboard USB Type-C config hook

Add a function declaration for mainboard_usb_typec_configure. This
allows mainboards to implement custom logic for external components,
such as retimers or muxes, that need orientation-aware configuration.

BUG=b:473489095
TEST=Verify USB SS detection on Quartz.

Change-Id: I20d9a23da5b855a413f8358b8783f44c1632ccdf
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90709
Reviewed-by: Pranava Y N <pranavayn@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Jayvik Desai <jayvik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kapil Porwal 2026-01-09 13:23:01 +05:30 committed by Subrata Banik
commit 17a52ce94e

View file

@ -155,3 +155,5 @@ void usb_update_refclk_for_core(u32 core_num, bool enable);
void enable_vbus_ss(const struct dwc3_controller_config *config);
/* Reads comprehensive Type-C status from PMIC */
void usb_typec_status_check(const struct dwc3_controller_config *config);
/* Performs mainboard-specific USB Type-C configuration */
void mainboard_usb_typec_configure(uint8_t port_num, bool inverse_polarity);