diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2020-01-20 14:22:04 +0000 |
---|---|---|
committer | Peter Robinson <pbrobinson@gmail.com> | 2020-01-20 14:22:04 +0000 |
commit | 6319405194de9bd038cba34eceb6aaac8e7a890b (patch) | |
tree | 93d446e0375409eab890a5690307af731ebce329 | |
parent | 9f1f509a10c863b4b3564287899961a10482a4da (diff) | |
download | kernel-6319405194de9bd038cba34eceb6aaac8e7a890b.tar.gz kernel-6319405194de9bd038cba34eceb6aaac8e7a890b.tar.xz kernel-6319405194de9bd038cba34eceb6aaac8e7a890b.zip |
actually add tegra TX2 usb patch
-rw-r--r-- | arm64-usb-host-xhci-tegra-set-MODULE_FIRMWARE-for-tegra186.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arm64-usb-host-xhci-tegra-set-MODULE_FIRMWARE-for-tegra186.patch b/arm64-usb-host-xhci-tegra-set-MODULE_FIRMWARE-for-tegra186.patch new file mode 100644 index 000000000..73516b006 --- /dev/null +++ b/arm64-usb-host-xhci-tegra-set-MODULE_FIRMWARE-for-tegra186.patch @@ -0,0 +1,36 @@ +From 406d27321583d444cd2067dc1130c1260b072576 Mon Sep 17 00:00:00 2001 +From: Peter Robinson <pbrobinson@gmail.com> +Date: Mon, 20 Jan 2020 13:48:55 +0000 +Subject: [PATCH] usb: host: xhci-tegra: set MODULE_FIRMWARE for tegra186 + +Set the MODULE_FIRMWARE for tegra186, it's registered for 124/210 and +ensures the firmware is available at the appropriate time such as in +the initrd, else if the firmware is unavailable the driver fails with +the following errors: + +tegra-xusb 3530000.usb: Direct firmware load for nvidia/tegra186/xusb.bin failed with error -2 +tegra-xusb 3530000.usb: failed to request firmware: -2 +tegra-xusb 3530000.usb: failed to load firmware: -2 +tegra-xusb: probe of 3530000.usb failed with error -2 + +Fixes: 5f9be5f3f899 ("usb: host: xhci-tegra: Add Tegra186 XUSB support") +Signed-off-by: Peter Robinson <pbrobinson@gmail.com> +--- + drivers/usb/host/xhci-tegra.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c +index bf9065438320..7b0d175ad708 100644 +--- a/drivers/usb/host/xhci-tegra.c ++++ b/drivers/usb/host/xhci-tegra.c +@@ -1432,6 +1432,7 @@ MODULE_FIRMWARE("nvidia/tegra210/xusb.bin"); + + static const char * const tegra186_supply_names[] = { + }; ++MODULE_FIRMWARE("nvidia/tegra186/xusb.bin"); + + static const struct tegra_xusb_phy_type tegra186_phy_types[] = { + { .name = "usb3", .num = 3, }, +-- +2.24.1 + |