[RFC PATCH] net: macb: Add gmii2rgmii converter support

2016-06-19 Thread Kedareswara rao Appana
speed modes of operation (10/100/1000 Mb/s). MDIO interface is used to set operating speed of Ethernet MAC. Signed-off-by: Kedareswara rao Appana --- --> Tried to include this Coverter support in the PHY layer but it won't fit into the PHY framework as the coverter won't have vaild

[RFC PATCH v4 1/2] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

2016-08-08 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v4: --> Modified compatible as suggested by Rob. --> Removed underscores from the converter node name as suggested by Rob. Changes for v3: --> None. Changes for v2

[RFC PATCH v4 2/2] net: phy: Add gmiitorgmii converter support

2016-08-08 Thread Kedareswara rao Appana
Operation by configuring the converter register through mdio write. MDIO interface is used to set operating speed of Ethernet MAC. Signed-off-by: Kedareswara rao Appana --- Thanks a lot Andrew for your inputs. Changes for v4: --> Updated phydev speed for all 3 speeds as suggested by zhuyj. Chan

[PATCH v6 2/2] dmaengine: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-09-07 Thread Kedareswara rao Appana
Microblaze platforms. Signed-off-by: Kedareswara rao Appana --- Changes in v6: - Used the readl_poll_timeout instead of do while loops in the driver - Improved the SG list handling by chaining the bds. - Removed the unnecessary xilinx_cdma_channel_set_config API the properties in this API is not being

[PATCH v6 1/2] dmaengine: Add Xilinx Central DMA DT Binding Documentation

2015-09-07 Thread Kedareswara rao Appana
Device-tree binding documentation of Xilinx Central DMA Engine. Signed-off-by: Kedareswara rao Appana --- Changes in v6: - None. Changes in v5: - None. Changes in v4: - None. Changes in v3: - Used proper alignment for all the properties. Changes in v2: - Change property 'xlnx,data-widt

[PATCH v6] can: xilinx: Convert to runtime_pm

2015-10-21 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Kedareswara rao Appana --- Sorry for the long delay

[PATCH 1/2] can: xilinx: use readl/writel instead of ioread/iowrite

2015-10-21 Thread Kedareswara rao Appana
register write fixes this issue Instead of barriers using writel also fixed this issue. Signed-off-by: Kedareswara rao Appana --- drivers/net/can/xilinx_can.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index

[PATCH 2/2] can: xilinx: fix bug in bus error handling

2015-10-21 Thread Kedareswara rao Appana
Simply resetting the peripheral on bus off condition is not enough, Because we also need to re-initialize the whole device. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- drivers/net/can/xilinx_can.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[PATCH v7] can: xilinx: Convert to runtime_pm

2015-10-22 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Kedareswara rao Appana --- Changes for v7

[PATCH v8] can: xilinx: Convert to runtime_pm

2015-10-25 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Kedareswara rao Appana --- Changes for v8

[PATCH v4] can: Convert to runtime_pm

2014-12-23 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, use the runtime_pm framework. This consolidates the actions for runtime PM in the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Soren Brinkmann Signed-off-by: Kedareswara rao

[PATCH] net: xilinx: Remove unnecessary temac_property in the driver

2014-12-23 Thread Kedareswara rao Appana
This property is no longer used in the code yet the code looks for it in the device tree. It does not cause an error if it's not in the tree. Signed-off-by: Kedareswara rao Appana --- drivers/net/ethernet/xilinx/xilinx_axienet.h |2 -- drivers/net/ethernet/xilinx/xilinx_axienet_m

[PATCH v5] can: Convert to runtime_pm

2015-01-12 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Soren Brinkmann Signed-off-by: Kedareswara rao

[PATCH v2] dma: vdma: Fix compilation warnings

2015-03-30 Thread Kedareswara rao Appana
drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:17:18: note: expected 'struct device *' but argument is of type 'struct device *' struct dma_pool *dma_pool_create(const char *name, struct device *dev, . Signed-off-by: Kedareswara rao Appana --- This patch is r

[PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-08 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- The deivce tree

[PATCH v5 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-06-09 Thread Kedareswara rao Appana
Microblaze platforms. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the commit Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Changes in v5: - updated license in the driver as suggested by Paul. - Corrected return value in is_idle

[PATCH v4] can: xilinx CAN controller support.

2014-02-23 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc4 kernel. Changes for v4: - Added check for the tx fifo full interrupt condition in Tx interrupt

[PATCH v5] can: xilinx CAN controller support.

2014-03-04 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc5 kernel. Changes for v5: - Updated the driver with the review comments. - Remove the check for the tx

[PATCH v2] can: xilinx CAN controller support.

2014-02-11 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS IP and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc2 kernel. Changes for v2: - Updated with the review comments. - Removed unnecessary debug prints

[PATCH v7 1/2] can: xilinx CAN controller support

2014-04-02 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- Changes for v7: - Updated the driver with review comments. - Moved the driver bindings doc as a separte patch. Changes for v6: - Updated

[PATCH v7 2/2] can: Add xilinx CAN device tree bindings documentation

2014-04-02 Thread Kedareswara rao Appana
Add xilinx CAN bindings documentation. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/net/can/xilinx_can.txt | 44 1 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/can/xilinx_can.txt diff

[PATCH] can: xilinx CAN controller support.

2014-02-17 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc3 kernel. Changes for v3: - Updated the driver with the review comments - Modified the transmit logic

[PATCH v6] can: xilinx CAN controller support

2014-03-25 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc8 kernel Chnages for v6: - Updated the driver with review comments. - Used the clock names specified

[PATCH v8 2/2] can: xilinx CAN controller support.

2014-05-21 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- Changes for v8: - call can_led_event only once in xcan_tx_interrupt(); - proceed with error handling if alloc_can_err_skb() failed in

[PATCH v8 1/2] can: Add xilinx CAN device tree bindings documentation.

2014-05-21 Thread Kedareswara rao Appana
Add xilinx CAN bindings documentation. Signed-off-by: Kedareswara rao Appana --- Changes for v8: - None. Changes for v7: - Split the devicetree bindings doc as a seperate patch --- .../devicetree/bindings/net/can/xilinx_can.txt | 44 1 files changed, 44 insertions

[PATCH v8 1/2] can: Add xilinx CAN device tree bindings documentation.

2014-05-21 Thread Kedareswara rao Appana
Add xilinx CAN bindings documentation. Signed-off-by: Kedareswara rao Appana --- Changes for v8: - None. Changes for v7: - Split the devicetree bindings doc as a seperate patch --- .../devicetree/bindings/net/can/xilinx_can.txt | 44 1 files changed, 44 insertions

[PATCH] can: xilinx CAN controller support.

2014-02-06 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS IP and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc1 kernel. --- .../devicetree/bindings/net/can/xilinx_can.txt | 43 + drivers/net/can/Kconfig

[PATCH v8] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-05 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- The deivce tree

[RESEND PATCH] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-17 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- The deivce tree

[PATCH v6 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-15 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v6: - Removed unnecessary axcache properties

[PATCH v6 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-15 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v6: - Removed desc-axi-cache/dst-axi-cache/src-axi-cache properties from the binding doc as it allow

[RESEND PATCH v4 0/3] dmaengine: Add clock support for AXI DMAS

2016-05-12 Thread Kedareswara rao Appana
This patch series adds basic clock support for AXI DMAS This patch series is created on top of the dma-next branch. Kedareswara rao Appana (3): dmaengine: vdma: Add config structure to differentiate dmas Documentation: DT: vdma: Add clock support for dmas dmaengine: vdma: Add clock support

[RESEND PATCH v4 3/3] dmaengine: vdma: Add clock support

2016-05-12 Thread Kedareswara rao Appana
Added basic clock support for axi dma's. The clocks are requested at probe and released at remove. Reviewed-by: Shubhrajyoti Datta Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 226 ++- 1 file changed, 224 insertions(

[RESEND PATCH v4 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-05-12 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for AXI DMA's. Acked-by: Sören Brinkmann Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt| 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devic

[RESEND PATCH v4 1/3] dmaengine: vdma: Add config structure to differentiate dmas

2016-05-12 Thread Kedareswara rao Appana
This patch adds config structure in the driver to differentiate AXI DMA's and to add more features(clock support etc..) to these DMA's. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 83 1 file changed, 51 inserti

[PATCH v8 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-05-12 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v8: - Removed all the software runtime configuration parameters from the binding doc as suggested by the

[PATCH v8 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-05-12 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes for v8: - Derive the software runtime configuration

[PATCH v2 3/4] dmaengine: vdma: Add 64 bit addressing support for the axi dma

2016-05-18 Thread Kedareswara rao Appana
address. So we need to program two registers at a time. This patch adds the 64 bit addressing support for the axidma IP in the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/xilinx_vdma.c | 79 ++-- 1 f

[PATCH v2 4/4] dmaengine: vdma: Add 64 bit addressing support for the axi cdma

2016-05-18 Thread Kedareswara rao Appana
program two registers at a time. This patch adds the 64 bit addressing support to the axicdma IP in the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/xilinx_vdma.c | 44 +--- 1 file changed, 32 inserti

[PATCH v2 0/4] dmaengine: vdma: AXI DMA's enhancments

2016-05-18 Thread Kedareswara rao Appana
This patch series does the following ---> Add support for cyclic DMA mode for the AXI DMA IP. ---> use dma_poll_zalloc instead of dma_pool_alloc. ---> Add 64-bit addressing support for AXI DMA IP. ---> Add 64-bit addressing support for AXI CDMA IP. Kedareswara rao Appana (4): dma

[PATCH v2 2/4] dmaengine: vdma: Use dma_pool_zalloc

2016-05-18 Thread Kedareswara rao Appana
dma_pool_zalloc combines dma_pool_alloc and memset 0 this patch updates the driver to use dma_pool_zalloc. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/xilinx_vdma.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/driv

[PATCH v2 1/4] dmaengine: vdma: Add support for cyclic dma mode

2016-05-18 Thread Kedareswara rao Appana
This patch adds support for AXI DMA cyclic dma mode. In cyclic mode, DMA fetches and processes the same BDs without interruption. The DMA continues to fetch and process until it is stopped or reset. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Removed unnecessary memset() c

[PATCH v7 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-27 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes for v7: - Fixed kbuild compilation warnings

[PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-27 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v7: - None. Changes in v6: - Removed desc-axi-cache/dst-axi-cache/src-axi-cache properties from the

[PATCH v5 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-05-13 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for AXI DMA's. Acked-by: Rob Herring Acked-by: Sören Brinkmann Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> Added clock support for all the AXI DMA&

[PATCH v5 3/3] dmaengine: vdma: Add clock support

2016-05-13 Thread Kedareswara rao Appana
Added basic clock support for axi dma's. The clocks are requested at probe and released at remove. Reviewed-by: Shubhrajyoti Datta Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> Documented struct members as suggested by Soren. ---> Fixed

[PATCH v9 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-05-13 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes for v9: - Derive the include sg software runtime

[PATCH v5 0/3] dmaengine: Add clock support for AXI DMAS

2016-05-13 Thread Kedareswara rao Appana
This patch series adds basic clock support for AXI DMAS This patch series is created on top of the dma-next branch. Kedareswara rao Appana (3): dmaengine: vdma: Add config structure to differentiate dmas Documentation: DT: vdma: Add clock support for dmas dmaengine: vdma: Add clock support

[PATCH v9 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-05-13 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changs in v9: - Removed include sg runtime configuration parameter from the binding doc as suggested by Lars

[PATCH v5 1/3] dmaengine: vdma: Add config structure to differentiate dmas

2016-05-13 Thread Kedareswara rao Appana
This patch adds config structure in the driver to differentiate AXI DMA's and to add more features(clock support etc..) to these DMA's. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> Rename dma_config struct to xilinx_dma_config as suggested by vinod. C

[PATCH] dmaengine: vdma: Add support for cyclic dma mode

2016-05-14 Thread Kedareswara rao Appana
This patch adds support for AXI DMA cyclic dma mode. In cyclic mode, DMA fetches and processes the same BDs without interruption. The DMA continues to fetch and process until it is stopped or reset. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 179

[PATCH] dmaengine: xilinx_vdma: Fix issues with non-parking mode

2016-02-16 Thread Kedareswara rao Appana
ng the frame count register. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 193 ++- 1 file changed, 91 insertions(+), 102 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c index 6f4b501..a

[PATCH v3 2/4] dmaengine: xilinx_vdma: Simplify spin lock handling

2016-02-26 Thread Kedareswara rao Appana
This patch simplifies the spin lock handling in the driver by moving locking out of xilinx_dma_start_transfer() API and xilinx_dma_update_completed_cookie() API. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Updated commit message as suggested by vinod. ---> Added descript

[PATCH v3 1/4] dmaengine: xilinx_vdma: Improve SG engine handling

2016-02-26 Thread Kedareswara rao Appana
prevents the user to prepare multiple trasactions at same time as we are overwrite with the allocated_desc. The best utilization of HW SG engine would happen if we collate the pending list when we start dma this patch updates the same. Signed-off-by: Kedareswara rao Appana --- Changes for v3

[PATCH v3 4/4] dmaengine: xilinx_vdma: Use readl_poll_timeout instead of do while loop's

2016-02-26 Thread Kedareswara rao Appana
It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition use convenience macros that do this instead of do while loop's. This patch updates the same in the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> removed patch d

[PATCH v3 3/4] dmaengine: xilinx_vdma: Fix issues with non-parking mode

2016-02-26 Thread Kedareswara rao Appana
rao Appana --- Changes for v3: ---> None. Changes for v2: ---> splitted the changes into multiple patches. drivers/dma/xilinx/xilinx_vdma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c index ce330d4..70b2b32

[PATCH] can: Fix bug in suspend/resume

2014-11-12 Thread Kedareswara rao Appana
When accessing the priv structure use container_of instead of dev_get_drvdata. Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana --- drivers/net/can/xilinx_can.c | 20 ++-- 1 files changed, 18 insertions(+), 2

[PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Kedareswara rao Appana
The drvdata in the suspend/resume is of type struct net_device, not the platform device.Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana --- Changes for v2: - Removed the struct platform_device* from suspend/resume as suggest

[PATCH v3] can: Convert to runtime_pm

2014-11-27 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, use the runtime_pm framework. This consolidates the actions for runtime PM in the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Soren Brinkmann Signed-off-by: Kedareswara rao

[PATCH v4 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-05-21 Thread Kedareswara rao Appana
Microblaze platforms. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the commit Merge tag 'nfs-for-4.1-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs Changes in v4: - used GFP_NOWAIT instead of GFP_KERNEL during the desc

[PATCH v4 1/2] dma: Add Xilinx Central DMA DT Binding Documentation

2015-05-21 Thread Kedareswara rao Appana
Device-tree binding documentation of Xilinx Central DMA Engine. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the commit Merge tag 'nfs-for-4.1-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs Changes in v4: - None. Cha

[PATCH v6] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-05-21 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- The deivce tree

[PATCH] dma: vdma: Fix compilation warnings

2015-03-30 Thread Kedareswara rao Appana
drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:17:18: note: expected 'struct device *' but argument is of type 'struct device *' struct dma_pool *dma_pool_create(const char *name, struct device *dev, . Signed-off-by: Kedareswara rao Appana --- - This patch

[RESEND PATCH v3 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-03-24 Thread Kedareswara rao Appana
Microblaze platforms. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is rebased on top of dma: xilinx-dma: move header file to common location. Changes in v3: - Check for CDMA idle condition before changing the configuration. - Modified the xilinx_dma.h header file

[PATCH v3 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2015-03-02 Thread Kedareswara rao Appana
Microblaze platforms. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is rebased on top of dma: xilinx-dma: move header file to common location. Changes in v3: - Check for CDMA idle condition before changing the configuration. - Modified the xilinx_dma.h header file

[PATCH] dma: xilinx-dma: move header file to common location

2015-03-02 Thread Kedareswara rao Appana
This patch moves the xilinx_dma.h header file to the include/linux/dma. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 2 +- include/linux/{amba => dma}/xilinx_dma.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/linux/{amba =&g

[PATCH v3 1/2] dma: Add Xilinx Central DMA DT Binding Documentation

2015-03-02 Thread Kedareswara rao Appana
Device-tree binding documentation of Xilinx Central DMA Engine. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- Changes in v3: - Used proper alignment for all the properties. Changes in v2: - Change property 'xlnx,data-width' to 'xlnx,datawidth' in

[PATCH v5] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-03-02 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- This patch is

[PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma

2016-04-20 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for vdma. Signed-off-by: Kedareswara rao Appana --- Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt b

[PATCH 2/2] dmaengine: vdma: Add clock support

2016-04-20 Thread Kedareswara rao Appana
Added basic clock support. The clocks are requested at probe and released at remove. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 56 1 file changed, 56 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_vdma.c b

[PATCH v2 2/2] dmaengine: vdma: Add clock support

2016-04-20 Thread Kedareswara rao Appana
Added basic clock support. The clocks are requested at probe and released at remove. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/xilinx_vdma.c | 56 1 file changed, 56 insertions(+) diff --git a/drivers/

[PATCH v2 1/2] Documentation: DT: vdma: Add clock support for vdma

2016-04-20 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for vdma. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Listed down all the clocks supported by the h/w as suggested by the Datta. --> Used IP clock names instead of shortcut clock names. Documentation/devi

[PATCH v3 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Kedareswara rao Appana
Added basic clock support for axi dma's. The clocks are requested at probe and released at remove. Reviewed-by: Shubhrajyoti Datta Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Added clock support for all the AXI DMA's. ---> Fixed clk_unprepare leak duri

[PATCH v3 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-04-21 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for AXI DMA's. Acked-by: Sören Brinkmann Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Added clock support for all the AXI DMA's. Changes for v2: --> Listed down all the clocks supported by the h/w

[PATCH v3 0/3] dmaengine: Add clock support for AXI DMAS

2016-04-21 Thread Kedareswara rao Appana
This patch series adds basic clock support for AXI DMAS This patch series is created on top of the "dmaengine: vdma: AXI DMA's enhancments" patch series. Kedareswara rao Appana (3): dmaengine: vdma: Add config structure to differentiate dmas Documentation: DT: vdma: Add cl

[PATCH v3 1/3] dmaengine: vdma: Add config structure to differentiate dmas

2016-04-21 Thread Kedareswara rao Appana
This patch adds config structure in the driver to differentiate AXI DMA's and to add more features(clock support etc..) to these DMA's. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> New patch. drivers/dma/xilinx/xilinx_vdma.c | 81 +-

[PATCH v4 0/3] dmaengine: Add clock support for AXI DMAS

2016-04-21 Thread Kedareswara rao Appana
This patch series adds basic clock support for AXI DMAS This patch series is created on top of the "dmaengine: vdma: AXI DMA's enhancments" patch series. Kedareswara rao Appana (3): dmaengine: vdma: Add config structure to differentiate dmas Documentation: DT: vdma: Add clock s

[PATCH v4 1/3] dmaengine: vdma: Add config structure to differentiate dmas

2016-04-21 Thread Kedareswara rao Appana
This patch adds config structure in the driver to differentiate AXI DMA's and to add more features(clock support etc..) to these DMA's. Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> New patch. drivers/dma/xilinx/xi

[PATCH v4 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Kedareswara rao Appana
Added basic clock support for axi dma's. The clocks are requested at probe and released at remove. Reviewed-by: Shubhrajyoti Datta Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> Documented struct members as suggested by Soren. ---> Fixed required clock according to bi

[PATCH v4 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-04-21 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for AXI DMA's. Acked-by: Sören Brinkmann Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> Added clock support for all the AXI DMA's. Changes for v2: --> Listed down all the cloc

[PATCH 4/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI DMA. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 7/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI CDMA. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt| 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/xilinx

[PATCH 3/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch adds support for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 385

[PATCH 6/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch adds support for the AXI Central Direct Memory Access (AXI CDMA) core, which is a soft Xilinx IP core that provides high-bandwidth Direct Memory Access (DMA) between a memory-mapped source address and a memory-mapped destination address. Signed-off-by: Kedareswara rao Appana

[PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma device-tree binding doc

2016-03-15 Thread Kedareswara rao Appana
AXI DMA support is added to the existing AXI VDMA driver. The binding doc for AXI DMA should also be updated in the VDMA device-tree binding doc. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 65 -- 1 file changed, 65

[PATCH 0/7] dmaengine: xilinx_vdma: AXI DMA's enhancments

2016-03-15 Thread Kedareswara rao Appana
This patch series does some enhancments to the VDMA driver which includes --> Adding support for AXI DMA IP. --> Adding support for AXI CDMA IP. --> Fixing checkpatch warnings. Kedareswara rao Appana (7): dmaengine: xilinx_vdma: Fix checkpatch.pl warnings dmaengine: xilinx_vdma: A

[PATCH 2/7] dmaengine: xilinx_vdma: Add quirks support to differentiate differnet IP cores

2016-03-15 Thread Kedareswara rao Appana
This patch adds quirks support in the driver to differentiate differnet IP cores. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/dma/xilinx

[PATCH 1/7] dmaengine: xilinx_vdma: Fix checkpatch.pl warnings

2016-03-15 Thread Kedareswara rao Appana
errors = status & XILINX_VDMA_DMASR_ALL_ERR_MASK; + vdma_ctrl_write(chan, XILINX_VDMA_REG_DMASR, Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/dri

[RESEND PATCH v3 2/2] dmaengine: vdma: Fix race condition in Non-SG mode

2016-04-05 Thread Kedareswara rao Appana
When VDMA is configured in Non-sg mode Users can queue descriptors greater than h/w configured frames. Current driver allows the user to queue descriptors upto h/w configured. Which is wrong for non-sg mode configuration. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana

[RESEND PATCH v3 1/2] dmaengine: vdma: Add 64 bit addressing support to the driver

2016-04-05 Thread Kedareswara rao Appana
specify the MSB 32 bits of the first start address. So we need to program two registers at a time. This patch adds the 64 bit addressing support to the vdma driver. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Kedareswara rao Appana --- Changes for v3: --> Improved commit message as sugges

[RESEND PATCH v2 2/6] dmaengine: vdma: Rename xilinx_vdma_ prefix to xilinx_dma

2016-04-05 Thread Kedareswara rao Appana
This patch renames the xilinx_vdma_ prefix to xilinx_dma for the API's and masks that will be shared b/w three DMA IP cores. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> New patch as suggested by Laurent Pinchart. drivers/dma/xilinx/xilinx_vdma

[RESEND PATCH v2 1/6] dmaengine: vdma: Fix checkpatch.pl warnings

2016-04-05 Thread Kedareswara rao Appana
errors = status & XILINX_VDMA_DMASR_ALL_ERR_MASK; + vdma_ctrl_write(chan, XILINX_VDMA_REG_DMASR, Acked-by: Laurent Pinchart Acked-by: Moritz Fischer Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> None. drivers/dma/xilinx/xilinx_vdma.c | 5 + 1 file cha

[RESEND PATCH v2 3/6] Documentation: DT: vdma: update binding doc for AXI DMA

2016-04-05 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI DMA. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Modified commit message as suggested by Vinod. ---> Moved the patch to forward in the series as suggested by vinod. .../devicetree/bindings/dma/

[RESEND PATCH v2 4/6] dmaengine: vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-04-05 Thread Kedareswara rao Appana
This patch adds support for the AXI Direct Memory Access (AXI DMA) core in the existing vdma driver, AXI DMA Core is a soft Xilinx IP core that provides high-bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Kedareswara rao Appana --- Changes

[RESEND PATCH v2 0/6] dmaengine: vdma: AXI DMA's enhancments

2016-04-05 Thread Kedareswara rao Appana
This patch series does some enhancments to the VDMA driver which includes --> Adding support for AXI DMA IP. --> Adding support for AXI CDMA IP. --> Fixing checkpatch warnings. Kedareswara rao Appana (6): dmaengine: vdma: Fix checkpatch.pl warnings dmaengine: vdma: Rename xilinx_vdm

[RESEND PATCH v2 6/6] dmaengine: vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-04-05 Thread Kedareswara rao Appana
: Kedareswara rao Appana --- Changes for v2: ---> have differenet structures for h/w desc. ---> Added comments to the relevant sections as suggested by Laurent Pinchart. ---> Fixed trival code clean up/spacing issues as suggested by Laurent Pinchart. drivers/dma/xilinx/xilinx_vdm

[RESEND PATCH v2 5/6] Documentation: DT: vdma: update binding doc for AXI CDMA

2016-04-05 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI CDMA. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Modified commit message as suggested by Vinod. ---> Moved the patch to forward in the series as suggested by vinod. .../devicetree/bindings/dma/

[PATCH v3 1/5] Documentation: DT: vdma: Rename vdma-chan prefix to dma-chan

2016-04-06 Thread Kedareswara rao Appana
This patch renames the vdma-mm2s-channel/vdma-s2mm-channel property with dma-mm2s-channel/dma-s2mm-channel to sync with the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> New patch. Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 8 1 f

[PATCH v3 5/5] dmaengine: vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-04-06 Thread Kedareswara rao Appana
: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> have differenet structures for h/w desc. ---> Added comments to the relevant sections as suggested by Laurent Pinchart. ---> Fixed trival code clean up/spacing issues as suggested by Laurent Pinchart. driver

[PATCH v3 4/5] Documentation: DT: vdma: update binding doc for AXI CDMA

2016-04-06 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI CDMA. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Removed CDMA DT example from the patch as suggested by the Rob. Changes for v2: ---> Modified commit message as suggested by Vinod. ---> Moved

  1   2   3   >