public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier
@ 2019-02-26 11:43 Andy Shevchenko
  2019-02-26 11:43 ` [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 " Andy Shevchenko
  2019-02-28  3:39 ` [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 " Bin Meng
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Shevchenko @ 2019-02-26 11:43 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
index aad1bf0c87..e4d876ab78 100644
--- a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
+++ b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
@@ -189,6 +189,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)
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier
  2019-02-26 11:43 [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier Andy Shevchenko
@ 2019-02-26 11:43 ` Andy Shevchenko
  2019-02-28  3:39   ` Bin Meng
  2019-02-28  3:39 ` [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 " Bin Meng
  1 sibling, 1 reply; 6+ messages in thread
From: Andy Shevchenko @ 2019-02-26 11:43 UTC (permalink / raw)
  To: u-boot

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>
---
 .../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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier
  2019-02-26 11:43 [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier Andy Shevchenko
  2019-02-26 11:43 ` [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 " Andy Shevchenko
@ 2019-02-28  3:39 ` Bin Meng
  2019-03-04  6:24   ` Bin Meng
  1 sibling, 1 reply; 6+ messages in thread
From: Bin Meng @ 2019-02-28  3:39 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 26, 2019 at 7:43 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> 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>
> ---
>  arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 3 +++
>  1 file changed, 3 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier
  2019-02-26 11:43 ` [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 " Andy Shevchenko
@ 2019-02-28  3:39   ` Bin Meng
  2019-03-04  6:24     ` Bin Meng
  0 siblings, 1 reply; 6+ messages in thread
From: Bin Meng @ 2019-02-28  3:39 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 26, 2019 at 7:43 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> 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>
> ---
>  .../include/asm/arch-tangier/acpi/southcluster.asl    | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier
  2019-02-28  3:39 ` [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 " Bin Meng
@ 2019-03-04  6:24   ` Bin Meng
  0 siblings, 0 replies; 6+ messages in thread
From: Bin Meng @ 2019-03-04  6:24 UTC (permalink / raw)
  To: u-boot

On Thu, Feb 28, 2019 at 11:39 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Tue, Feb 26, 2019 at 7:43 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> >
> > 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>
> > ---
> >  arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 3 +++
> >  1 file changed, 3 insertions(+)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 on Intel Tangier
  2019-02-28  3:39   ` Bin Meng
@ 2019-03-04  6:24     ` Bin Meng
  0 siblings, 0 replies; 6+ messages in thread
From: Bin Meng @ 2019-03-04  6:24 UTC (permalink / raw)
  To: u-boot

On Thu, Feb 28, 2019 at 11:39 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Tue, Feb 26, 2019 at 7:43 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> >
> > 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>
> > ---
> >  .../include/asm/arch-tangier/acpi/southcluster.asl    | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-04  6:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-26 11:43 [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 on Intel Tangier Andy Shevchenko
2019-02-26 11:43 ` [U-Boot] [PATCH v1 2/2] x86: acpi: Add DMA descriptors for I2C1 " Andy Shevchenko
2019-02-28  3:39   ` Bin Meng
2019-03-04  6:24     ` Bin Meng
2019-02-28  3:39 ` [U-Boot] [PATCH v1 1/2] x86: acpi: Add DMA descriptors for SPI5 " Bin Meng
2019-03-04  6:24   ` Bin Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox