Support IEC958 encoded PCM format for ADV7511 so that ADV7511 HDMI
audio driver can accept the IEC958 data from the I2S input.
Signed-off-by: Sia Jee Heng
---
drivers/gpu/drm/bridge/adv7511/adv7511.h | 1 +
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 6 ++
2 files changed, 7
The code looks good to me. I have also verified it on Intel KeemBay platform.
Reviewed-by: Sia Jee Heng
Tested-by: Sia Jee Heng
Thanks
Regards
Jee Heng
> -Original Message-
> From: Colin King
> Sent: 03 February 2021 9:47 PM
> To: Eugeniy Paltsev ; Vinod Koul
> ; Sia,
supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw
robot
Signed-off-by: Sia Jee Heng
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index d242c7632621..38eb40ccd5e0 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -179,6 +179,7 @@ config DMA_SUN6I
config DW_AXI
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
d
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by
ned-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-d
The DMA memory block is created at driver load time and exist for
device lifetime. Move the dma_pool_create() to the ->chan_resource()
callback function allowing the DMA memory blocks to be created as needed
and destroyed when the channel is freed.
Signed-off-by: Sia Jee Heng
Reviewed-by: A
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 26
Add support for DMA Scatter-Gather (SG) constraint so that DMA clients can
handle the AxiDMA limitation.
Without supporting DMA constraint the default Max segment size reported by
dmaengine is 64KB, which is not supported by Intel KeemBay AxiDMA.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma
this interface
is not supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h
handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw
Add device_config() callback function so that the device address
can be passed to the dma driver.
DMA clients use this interface to pass in the device address to the
AxiDMA. Without this interface, data transfer between device to memory
and memory to device would failed.
Signed-off-by: Sia Jee
Add support for device_synchronize() callback function to sync with
dmaengine_terminate_sync().
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
1 file changed, 8
YAML schemas Device Tree (DT) binding is the new format for DT to replace
the old format. Introduce YAML schemas DT binding for dw-axi-dmac and
remove the old version.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
.../bindings/dma/snps,dw-axi-dmac.txt
onstraint to Max segment size.
v1:
- Initial version. Patch on top of dw-axi-dma driver. This version improve
the descriptor management by replacing Linked List Item (LLI) with
virtual descriptor management, only allocate hardware LLI memories from
DMA memory pool, manage DMA memory pool allo
descriptors can be allocated within a PAGE_SIZE compare to 16
descriptors in previous version. This solves the problem where an
ALSA driver expects more than 16 DMA descriptors to run.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
dw-axi-dma driver. This version improve
the descriptor management by replacing Linked List Item (LLI) with
virtual descriptor management, only allocate hardware LLI memories from
DMA memory pool, manage DMA memory pool alloc/destroy based on channel
activity and to support device_sync callba
ned-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-d
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
d
YAML schemas Device Tree (DT) binding is the new format for DT to replace
the old format. Introduce YAML schemas DT binding for dw-axi-dmac and
remove the old version.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
.../bindings/dma/snps,dw-axi-dmac.txt
descriptors can be allocated within a PAGE_SIZE compare to 16
descriptors in previous version. This solves the problem where an
ALSA driver expects more than 16 DMA descriptors to run.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
The DMA memory block is created at driver load time and exist for
device lifetime. Move the dma_pool_create() to the ->chan_resource()
callback function allowing the DMA memory blocks to be created as needed
and destroyed when the channel is freed.
Signed-off-by: Sia Jee Heng
Reviewed-by: A
supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed
Add device_config() callback function so that the device address
can be passed to the dma driver.
DMA clients use this interface to pass in the device address to the
AxiDMA. Without this interface, data transfer between device to memory
and memory to device would failed.
Signed-off-by: Sia Jee
handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by
Add support for DMA Scatter-Gather (SG) constraint so that DMA clients can
handle the AxiDMA limitation.
Without supporting DMA constraint the default Max segment size reported by
dmaengine is 64KB, which is not supported by Intel KeemBay AxiDMA.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 26
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation
this interface
is not supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h
Add support for device_synchronize() callback function to sync with
dmaengine_terminate_sync().
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
1 file changed, 8
descriptors can be allocated within a PAGE_SIZE compare to 16
descriptors in previous version. This solves the problem where an
ALSA driver expects more than 16 DMA descriptors to run.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
Add support for device_synchronize() callback function to sync with
dmaengine_terminate_sync().
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
1 file changed, 8
Add device_config() callback function so that the device address
can be passed to the dma driver.
DMA clients use this interface to pass in the device address to the
AxiDMA. Without this interface, data transfer between device to memory
and memory to device would failed.
Signed-off-by: Sia Jee
this interface
is not supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h
Add support for DMA Scatter-Gather (SG) constraint so that DMA clients can
handle the AxiDMA limitation.
Without supporting DMA constraint the default Max segment size reported by
dmaengine is 64KB, which is not supported by Intel KeemBay AxiDMA.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
d
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
drivers/dma
ned-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-d
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 27
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by
handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw
supported by the AxiDMA driver.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Signed-off-by: Sia Jee Heng
Reviewed-by: Andy Shevchenko
Reviewed-by: Eugeniy Paltsev
Tested-by: Eugeniy Paltsev
---
.../dma/dw-axi-dmac/dw
n improve
the descriptor management by replacing Linked List Item (LLI) with
virtual descriptor management, only allocate hardware LLI memories from
DMA memory pool, manage DMA memory pool alloc/destroy based on channel
activity and to support device_sync callback.
Sia Jee Heng (16):
dt-bindi
The DMA memory block is created at driver load time and exist for
device lifetime. Move the dma_pool_create() to the ->chan_resource()
callback function allowing the DMA memory blocks to be created as needed
and destroyed when the channel is freed.
Signed-off-by: Sia Jee Heng
Reviewed-by: A
YAML schemas Device Tree (DT) binding is the new format for DT to replace
the old format. Introduce YAML schemas DT binding for dw-axi-dmac and
remove the old version.
Signed-off-by: Sia Jee Heng
Reviewed-by: Eugeniy Paltsev
Reviewed-by: Rob Herring
---
.../bindings/dma/snps,dw-axi-dmac.txt
_
From: Eugeniy Paltsev
Sent: 18 January 2021 8:54 PM
To: Sia, Jee Heng ; vk...@kernel.org
Cc: andriy.shevche...@linux.intel.com; dmaeng...@vger.kernel.org;
linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; robh...@kernel.org
Subject: Re: [PATCH v9 00/16] dmaengine: dw-axi-dmac: support Int
descriptors can be allocated within a PAGE_SIZE compare to 16
descriptors in previous version. This solves the problem where an
ALSA driver expects more than 16 DMA descriptors to run.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 164
YAML schemas Device Tree (DT) binding is the new format for DT to replace
the old format. Introduce YAML schemas DT binding for dw-axi-dmac and
remove the old version.
Signed-off-by: Sia Jee Heng
Reviewed-by: Rob Herring
---
.../bindings/dma/snps,dw-axi-dmac.txt | 39
this interface
is not supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 155 insertions(+)
diff --git a
supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed, 106 insertions(+), 7 deletions(-)
diff --git a/drivers/dma
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/dma
ned-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/d
Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
index ea527b92e0fc
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8 ++
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 14 ++
1 file
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/snps
handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 26
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 43 ---
drivers
Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 11 +++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-dmac
Add support for device_synchronize() callback function to sync with
dmaengine_terminate_sync().
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi
Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 24 ++-
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +-
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-d
ry pool, manage DMA memory pool alloc/destroy based on channel
activity and to support device_sync callback.
Sia Jee Heng (16):
dt-bindings: dma: Add YAML schemas for dw-axi-dmac
dmaengine: dw-axi-dmac: simplify descriptor management
dmaengine: dw-axi-dmac: move dma_pool_create() to
alloc_chan_res
> -Original Message-
> From: Eugeniy Paltsev
> Sent: 31 December 2020 8:44 PM
> To: Sia, Jee Heng ; Vinod Koul
>
> Cc: andriy.shevche...@linux.intel.com; dmaeng...@vger.kernel.org;
> linux-kernel@vger.kernel.org; devicet...@vger.kernel.org;
> robh...@kernel.o
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma
Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
index ab145a84b0c0
ned-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/d
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8 ++
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 44 ---
1 file changed, 39 insertions(+), 5 deletions(-)
diff
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 14 ++
1 file
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/snps
handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 26
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 43 ---
drivers
supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed, 106 insertions(+), 7 deletions(-)
diff --git a/drivers/dma
this interface
is not supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 155 insertions(+)
diff --git a
Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 11 +++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-dmac
Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 24 ++-
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +-
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-d
YAML schemas Device Tree (DT) binding is the new format for DT to replace
the old format. Introduce YAML schemas DT binding for dw-axi-dmac and
remove the old version.
Signed-off-by: Sia Jee Heng
Reviewed-by: Rob Herring
---
.../bindings/dma/snps,dw-axi-dmac.txt | 39
Add support for device_synchronize() callback function to sync with
dmaengine_terminate_sync().
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi
descriptors can be allocated within a PAGE_SIZE compare to 16
descriptors in previous version. This solves the problem where an
ALSA driver expects more than 16 DMA descriptors to run.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 164
ment by replacing Linked List Item (LLI) with
virtual descriptor management, only allocate hardware LLI memories from
DMA memory pool, manage DMA memory pool alloc/destroy based on channel
activity and to support device_sync callback.
Sia Jee Heng (16):
dt-bindings: dma: Add YAML schemas for d
ned-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 92 insertions(+), 20 deletions(-)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/d
device data transfer
operation. 0-padding functionality is provided to avoid
pre-processing of data on CPU.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 44 ---
1 file changed, 39 insertions(+), 5 deletions(-)
diff
Add support for Intel KeemBay AxiDMA device handshake programming.
Device handshake number passed in to the AxiDMA shall be written to
the Intel KeemBay AxiDMA hardware handshake registers before DMA
operations are started.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma
Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
index dc7ddf98fd04
Add support for Intel KeemBay AxiDMA to the .compatible field.
The AxiDMA Apb region will be accessible if the compatible string
matches the "intel,kmb-axi-dma".
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8 ++
Add support for Intel KeemBay DMA registers. These registers are required
to run data transfer between device to memory and memory to device on Intel
KeemBay SoC.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 14 ++
1 file
supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 111 --
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +
2 files changed, 106 insertions(+), 7 deletions(-)
diff --git a/drivers/dma
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac
Schemas DT binding.
Signed-off-by: Sia Jee Heng
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/snps
this interface
is not supported by the AxiDMA driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 154 ++
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 +
2 files changed, 155 insertions(+)
diff --git a
DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Reviewed-by: Andy Shevchenko
Signed-off-by: Sia Jee Heng
---
.../dma/dw-axi-dmac/dw-axi-dmac-platform.c| 43 ---
drivers
1 - 100 of 226 matches
Mail list logo