From: Tom Rini Date: Fri, 27 Jan 2023 19:48:22 +0000 (-0500) Subject: Merge branch '2023-01-27-apple-soc-updates' X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f147aa80f52989c7455022ca1ab959e8545feccc;p=u-boot.git Merge branch '2023-01-27-apple-soc-updates' First, to quote the author: This series adds support for the PCIe controller found on Apple M1 and M2 machines and enables support for PCIe XHCI controllers. This makes the type-A USB ports on the M1 Mac mini work. Since the use of Apples DART IOMMU is mandatory (these PCIe DARTs don't support bypass mode), this adds DMA mapping operations to the IOMMU uclass and implements them for the Apple DART. It modifies the XHCI driver code to go map DMA buffers through the IOMMU if there is one. Since the M1 Mac mini now has two types of XHCI controllers with different number of ports (2 for the DWC3 controllers, 8 for the Fresco Logic PCIe controller) this uncovered an issue in with the way the hub descriptor is implemented in the XHCI driver. Second, Mark also fixes some Apple-specific instances of CONFIG_IS_ENABLED that should be IS_ENABLED. --- f147aa80f52989c7455022ca1ab959e8545feccc