]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Feb 2019 11:43:14 +0000 (13:43 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 10 Mar 2019 00:17:00 +0000 (08:17 +0800)
Intel Tangier SoC has a general purpose DMA which can serve to speed up
communications on SPI and I2C serial buses.

Provide DMA descriptors to utilize this capability in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-tangier/acpi/southcluster.asl

index baad98b1c7ef50f722f03aaa1b5b7e940a8d8e2b..8cb6f64b3dde1d51fc293f27da7c6b823ef78c6a 100644 (file)
@@ -179,6 +179,9 @@ Device (PCI0)
                 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 112 }
             GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
                 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 113 }
+
+            FixedDMA(0x000d, 0x0002, Width32bit, )
+            FixedDMA(0x000c, 0x0003, Width32bit, )
         })
 
         Method (_CRS, 0, NotSerialized)