<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/Documentation/devicetree/bindings/dma, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-03-12T06:35:47Z</updated>
<entry>
<title>Merge branch 'topic/xilinx' into for-linus</title>
<updated>2019-03-12T06:35:47Z</updated>
<author>
<name>Vinod Koul</name>
<email>vkoul@kernel.org</email>
</author>
<published>2019-03-12T06:35:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=feb59d77a46d5df93864471ca926b6701479091b'/>
<id>urn:sha1:feb59d77a46d5df93864471ca926b6701479091b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'topic/k3dma' into for-linus</title>
<updated>2019-03-12T06:34:09Z</updated>
<author>
<name>Vinod Koul</name>
<email>vkoul@kernel.org</email>
</author>
<published>2019-03-12T06:34:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=989e3af3af27a6cc486b64b21628a07fa021ebe9'/>
<id>urn:sha1:989e3af3af27a6cc486b64b21628a07fa021ebe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'topic/fsl' into for-linus</title>
<updated>2019-03-12T06:33:55Z</updated>
<author>
<name>Vinod Koul</name>
<email>vkoul@kernel.org</email>
</author>
<published>2019-03-12T06:33:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=79074168de928409a4acfd238e25ff9bdcc0e4a8'/>
<id>urn:sha1:79074168de928409a4acfd238e25ff9bdcc0e4a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'topic/dw' into for-linus</title>
<updated>2019-03-12T06:33:47Z</updated>
<author>
<name>Vinod Koul</name>
<email>vkoul@kernel.org</email>
</author>
<published>2019-03-12T06:33:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=278489c2e19c21a476f80cb9b183afaa773b378f'/>
<id>urn:sha1:278489c2e19c21a476f80cb9b183afaa773b378f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dt-bindings: dmaengine: sprd: Change channel id to slave id for DMA cell specifier</title>
<updated>2019-02-25T06:41:06Z</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@linaro.org</email>
</author>
<published>2019-02-21T05:34:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b5a4c37324049efe0e0199e975e0df9554fa8873'/>
<id>urn:sha1:b5a4c37324049efe0e0199e975e0df9554fa8873</id>
<content type='text'>
For Spreadtrum DMA engine, all channels are equal, which means slave can
request any channels with setting a unique slave id to trigger this channel.

Thus we can remove the channel id from device tree to assign the channel
dynamically, moreover we should add the slave id in device tree.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>Documentation: bindings: dma: Add binding for dma-channel-mask</title>
<updated>2019-02-04T09:00:28Z</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2019-01-24T20:24:17Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e2d896c08ca3136f1f4c0cd225cdf09f87fa528b'/>
<id>urn:sha1:e2d896c08ca3136f1f4c0cd225cdf09f87fa528b</id>
<content type='text'>
Some dma channels can be reserved for secure mode or other
hardware on the SoC, so provide a binding for a bitmask
listing the available channels for the kernel to use.

This follows the pre-existing bcm,dma-channel-mask binding.

Cc: Vinod Koul &lt;vkoul@kernel.org&gt;
Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Tanglei Han &lt;hantanglei@huawei.com&gt;
Cc: Zhuangluan Su &lt;suzhuangluan@hisilicon.com&gt;
Cc: Ryan Grachek &lt;ryan@edited.us&gt;
Cc: Manivannan Sadhasivam &lt;manivannan.sadhasivam@linaro.org&gt;
Cc: dmaengine@vger.kernel.org
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp</title>
<updated>2019-02-04T09:00:28Z</updated>
<author>
<name>Youlin Wang</name>
<email>wwx575822@notesmail.huawei.com</email>
</author>
<published>2019-01-24T20:24:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=50fdb52a7cda63828441cc1e7c05f1d0b77e833a'/>
<id>urn:sha1:50fdb52a7cda63828441cc1e7c05f1d0b77e833a</id>
<content type='text'>
Extend the k3dma driver binding to support hisi-asp hardware
variants.

Cc: Vinod Koul &lt;vkoul@kernel.org&gt;
Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Zhuangluan Su &lt;suzhuangluan@hisilicon.com&gt;
Cc: Tanglei Han &lt;hantanglei@huawei.com&gt;
Cc: Ryan Grachek &lt;ryan@edited.us&gt;
Cc: Manivannan Sadhasivam &lt;manivannan.sadhasivam@linaro.org&gt;
Cc: dmaengine@vger.kernel.org
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Youlin Wang &lt;wwx575822@notesmail.huawei.com&gt;
Signed-off-by: Tanglei Han &lt;hantanglei@huawei.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: Remove misleading is_private property</title>
<updated>2019-01-07T12:27:13Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2019-01-07T11:07:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7dba6be0f31ae61f5f3296aa130f45d57d30f74'/>
<id>urn:sha1:d7dba6be0f31ae61f5f3296aa130f45d57d30f74</id>
<content type='text'>
The commit a9ddb575d6d6

   ("dmaengine: dw_dmac: Enhance device tree support")

introduces is_private property in uncertain understanding what does it mean.

First of all, documentation defines DMA_PRIVATE capability as

Documentation/crypto/async-tx-api.txt:
  The DMA_PRIVATE capability flag is used to tag dma devices that should not be
  used by the general-purpose allocator. It can be set at initialization time
  if it is known that a channel will always be private. Alternatively,
  it is set when dma_request_channel() finds an unused "public" channel.

  A couple caveats to note when implementing a driver and consumer:
  1/ Once a channel has been privately allocated it will no longer be
     considered by the general-purpose allocator even after a call to
     dma_release_channel().
  2/ Since capabilities are specified at the device level a dma_device with
     multiple channels will either have all channels public, or all channels
     private.

Documentation/driver-api/dmaengine/provider.rst:
  - DMA_PRIVATE
    The devices only supports slave transfers, and as such isn't available
    for async transfers.

The capability had been introduced by the commit 59b5ec21446b

  ("dmaengine: introduce dma_request_channel and private channels")

and some code didn't changed from that times ever.

Taking into consideration above and the fact that on all known platforms
Synopsys DesignWare DMA engine is attached to serve slave transfers,
the DMA_PRIVATE capability must be enabled for this device unconditionally.
Otherwise, as rightfully noticed in drivers/dma/at_xdmac.c:
  /*
   * Without DMA_PRIVATE the driver is not able to allocate more than
   * one channel, second allocation fails in private_candidate.
   */
because of of a caveats mentioned in above documentation excerpts.

So, remove conditional around DMA_PRIVATE followed by removal leftovers.

If someone wonders, DMA_PRIVATE can be not used if and only if the all channels
of the DMA controller are supposed to serve memory-to-memory like operations.
For example, EP93xx has two controllers, one of which can only perform
memory-to-memory transfers

Note, this change doesn't affect dmatest to be able to test such controllers.

Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt; (maintainer:SERIAL DRIVERS)
Cc: Dan Williams &lt;dan.j.williams@intel.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dt-bindings: dmaengine: xilinx_dma: drop include-sg property</title>
<updated>2019-01-07T04:23:12Z</updated>
<author>
<name>Andrea Merello</name>
<email>andrea.merello@gmail.com</email>
</author>
<published>2018-11-20T15:31:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=29b9ee4a0c0edf32667e2d95690f6ed810aad6ec'/>
<id>urn:sha1:29b9ee4a0c0edf32667e2d95690f6ed810aad6ec</id>
<content type='text'>
This property is not needed anymore, because the driver now autodetects it.
Delete references in documentation.

Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: devicetree@vger.kernel.org
Cc: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Signed-off-by: Andrea Merello &lt;andrea.merello@gmail.com&gt;
Reviewed-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property</title>
<updated>2019-01-07T04:23:11Z</updated>
<author>
<name>Andrea Merello</name>
<email>andrea.merello@gmail.com</email>
</author>
<published>2018-11-20T15:31:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7df54dbeb055229f6689161aa90bf00bf4af077e'/>
<id>urn:sha1:7df54dbeb055229f6689161aa90bf00bf4af077e</id>
<content type='text'>
The width of the "length register" cannot be autodetected, and it is now
specified with a DT property. Add documentation for it.

Cc: Rob Herring &lt;robh+dt@kernel.org&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: devicetree@vger.kernel.org
Cc: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Signed-off-by: Andrea Merello &lt;andrea.merello@gmail.com&gt;
Reviewed-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Reviewed-by: Rob Herring &lt;robh+dt@kernel.org&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
</feed>
