x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Feb 2019 11:43:15 +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.

Note, I2C6, which is available to user, has no DMA request lines connected.

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 8cb6f64b3dde1d51fc293f27da7c6b823ef78c6a..8b5b709045bd6c75b2a9ac18004a1329988affdd 100644 (file)
@@ -222,6 +222,17 @@ Device (PCI0)
         {
             Return (STA_VISIBLE)
         }
+
+        Name (RBUF, ResourceTemplate()
+        {
+            FixedDMA(0x0009, 0x0000, Width32bit, )
+            FixedDMA(0x0008, 0x0001, Width32bit, )
+        })
+
+        Method (_CRS, 0, NotSerialized)
+        {
+            Return (RBUF)
+        }
     }
 
     Device (I2C6)