Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: dwc3: qcom: add ACPI device id for sc8180x

It enables USB Host support for sc8180x ACPI boot, both the standalone
one and the one behind URS (USB Role Switch). And they share the
the same dwc3_acpi_pdata with sdm845.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210301075745.20544-1-shawn.guo@linaro.org
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Shawn Guo and committed by
Greg Kroah-Hartman
1edbff9c 4d8654e8

+2
+2
drivers/usb/dwc3/dwc3-qcom.c
··· 938 938 static const struct acpi_device_id dwc3_qcom_acpi_match[] = { 939 939 { "QCOM2430", (unsigned long)&sdm845_acpi_pdata }, 940 940 { "QCOM0304", (unsigned long)&sdm845_acpi_urs_pdata }, 941 + { "QCOM0497", (unsigned long)&sdm845_acpi_urs_pdata }, 942 + { "QCOM04A6", (unsigned long)&sdm845_acpi_pdata }, 941 943 { }, 942 944 }; 943 945 MODULE_DEVICE_TABLE(acpi, dwc3_qcom_acpi_match);