0001-soc-intel-skylake-configure-usb-acpi.patch 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. From 0a28ea805e3dddfaa89e6c4255506a390bc7ce04 Mon Sep 17 00:00:00 2001
  2. From: Felix Singer <felixsinger@posteo.net>
  3. Date: Wed, 26 Jun 2024 04:24:31 +0200
  4. Subject: [PATCH 01/11] soc/intel/skylake: configure usb acpi
  5. Change-Id: I53fc73046e4b107064fa8c3c617ba6d9b807b71d
  6. Signed-off-by: Felix Singer <felixsinger@posteo.net>
  7. ---
  8. src/soc/intel/skylake/Kconfig | 1 +
  9. src/soc/intel/skylake/chipset.cb | 56 +++++++++++++++++++++++++++++++-
  10. 2 files changed, 56 insertions(+), 1 deletion(-)
  11. diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
  12. index 22017c848b..c24df2ef75 100644
  13. --- a/src/soc/intel/skylake/Kconfig
  14. +++ b/src/soc/intel/skylake/Kconfig
  15. @@ -10,6 +10,7 @@ config SOC_INTEL_COMMON_SKYLAKE_BASE
  16. select CPU_INTEL_COMMON
  17. select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
  18. select CPU_SUPPORTS_PM_TIMER_EMULATION
  19. + select DRIVERS_USB_ACPI
  20. select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
  21. select FSP_COMPRESS_FSP_S_LZ4
  22. select FSP_M_XIP
  23. diff --git a/src/soc/intel/skylake/chipset.cb b/src/soc/intel/skylake/chipset.cb
  24. index 6538a1475b..dfb81d496e 100644
  25. --- a/src/soc/intel/skylake/chipset.cb
  26. +++ b/src/soc/intel/skylake/chipset.cb
  27. @@ -13,7 +13,61 @@ chip soc/intel/skylake
  28. device pci 07.0 alias chap off end
  29. device pci 08.0 alias gmm off end # Gaussian Mixture Model
  30. device pci 13.0 alias ish off end # SensorHub
  31. - device pci 14.0 alias south_xhci off ops usb_xhci_ops end
  32. + device pci 14.0 alias south_xhci off ops usb_xhci_ops
  33. + chip drivers/usb/acpi
  34. + register "type" = "UPC_TYPE_HUB"
  35. + device usb 0.0 alias xhci_root_hub off
  36. + chip drivers/usb/acpi
  37. + device usb 2.0 alias usb2_port1 off end
  38. + end
  39. + chip drivers/usb/acpi
  40. + device usb 2.1 alias usb2_port2 off end
  41. + end
  42. + chip drivers/usb/acpi
  43. + device usb 2.2 alias usb2_port3 off end
  44. + end
  45. + chip drivers/usb/acpi
  46. + device usb 2.3 alias usb2_port4 off end
  47. + end
  48. + chip drivers/usb/acpi
  49. + device usb 2.4 alias usb2_port5 off end
  50. + end
  51. + chip drivers/usb/acpi
  52. + device usb 2.5 alias usb2_port6 off end
  53. + end
  54. + chip drivers/usb/acpi
  55. + device usb 2.6 alias usb2_port7 off end
  56. + end
  57. + chip drivers/usb/acpi
  58. + device usb 2.7 alias usb2_port8 off end
  59. + end
  60. + chip drivers/usb/acpi
  61. + device usb 2.8 alias usb2_port9 off end
  62. + end
  63. + chip drivers/usb/acpi
  64. + device usb 2.9 alias usb2_port10 off end
  65. + end
  66. + chip drivers/usb/acpi
  67. + device usb 3.0 alias usb3_port1 off end
  68. + end
  69. + chip drivers/usb/acpi
  70. + device usb 3.1 alias usb3_port2 off end
  71. + end
  72. + chip drivers/usb/acpi
  73. + device usb 3.2 alias usb3_port3 off end
  74. + end
  75. + chip drivers/usb/acpi
  76. + device usb 3.3 alias usb3_port4 off end
  77. + end
  78. + chip drivers/usb/acpi
  79. + device usb 3.4 alias usb3_port5 off end
  80. + end
  81. + chip drivers/usb/acpi
  82. + device usb 3.5 alias usb3_port6 off end
  83. + end
  84. + end
  85. + end
  86. + end
  87. device pci 14.1 alias south_xdci off ops usb_xdci_ops end
  88. device pci 14.2 alias thermal off end
  89. device pci 14.3 alias cio off end
  90. --
  91. 2.39.5