From: Andy Shevchenko Date: Tue, 26 Feb 2019 11:43:15 +0000 (+0200) Subject: x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier X-Git-Tag: v2019.04-rc4~9^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c652dd15571e6c7df35ff30eeb8b3e2b7e6300ba;p=oweals%2Fu-boot.git x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier 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 Reviewed-by: Bin Meng --- diff --git a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl index 8cb6f64b3d..8b5b709045 100644 --- a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl +++ b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl @@ -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)