From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Tue, 26 Feb 2019 13:43:15 +0200 Subject: [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier In-Reply-To: <20190226114315.32652-1-andriy.shevchenko@linux.intel.com> References: <20190226114315.32652-1-andriy.shevchenko@linux.intel.com> Message-ID: <20190226114315.32652-2-andriy.shevchenko@linux.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- .../include/asm/arch-tangier/acpi/southcluster.asl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl index e4d876ab78..1f940511a1 100644 --- a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl +++ b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl @@ -232,6 +232,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) -- 2.20.1