[PATCH v2 1/4] dmaengine: xilinx_dma: populate dma caps properly

2018-01-02 Thread Kedareswara rao Appana
dma_device directions and addr_widths fields. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.

[PATCH v2 3/4] dmaengine: xilinx_dma: Fix warning variable prev set but not used

2018-01-02 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xil

[PATCH v2 0/4] dmaengine: xilinx_dma: Bug fixes

2018-01-02 Thread Kedareswara rao Appana
This patch series does the below --> Fixes sparse warnings in the driver. --> properly configures the SG mode bit in the driver for cdma. --> populates dma caps properly. This patch series got created on top of linux tag 4.15-rc4 i.e slave-dma.git next branch Kedareswara rao

[PATCH v2 2/4] dmaengine: xilinx_dma: properly configure the SG mode bit in the driver for cdma

2018-01-02 Thread Kedareswara rao Appana
dmaengine. This patch updates the same. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/dma/xil

[PATCH v2 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2018-01-02 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/dma/xil

[LINUX PATCH 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2017-12-21 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma

[LINUX PATCH 2/4] dmaengine: xilinx_dma: Fix race condition in the driver for cdma

2017-12-21 Thread Kedareswara rao Appana
when hardware is idle we need to toggle the SG bit in the control register, inorder to update new value to the current descriptor register other wise undefined results will occur. This patch updates the same. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 10

[LINUX PATCH 1/4] dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures

2017-12-21 Thread Kedareswara rao Appana
: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 88d317d..21ac954 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c

[LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2017-12-21 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 8467671..845e638 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b

[LINUX PATCH 0/4] dmaengine: xilinx_dma: Bug fixes

2017-12-21 Thread Kedareswara rao Appana
quot;dmaengine: xilinx_dma: Fix typos" Kedareswara rao Appana (4): dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures dmaengine: xilinx_dma: Fix race condition in the driver for cdma dmaengine: xilinx_dma: Fix compilation warning dmaengine: xilinx_dma: Free BD consistent memory

[RESEND PATCH v2] dmaengine: zynqmp_dma: Add runtime pm support

2017-12-06 Thread Kedareswara rao Appana
This patch adds runtime pm support in the driver. Signed-off-by: Kedareswara rao Appana --- Resending the patch as there are some issues with my git send-email, patch is not showing in the dmeengine mailing list. Changes for v2: --> Fixed error path in the probe. drivers/dma/xil

[PATCH v2 1/4] dmaengine: zynqmp_dma: Fix kernel doc-format

2017-12-06 Thread Kedareswara rao Appana
gned-off-by: Michal Simek Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/zynqmp_dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c index 4fa14bf..4376e4a 100644 --- a/dr

[PATCH v2 4/4] dmaengine: zynqmp_dma: Fix race condition in the probe

2017-12-06 Thread Kedareswara rao Appana
Incase of interrupt property is not present, Driver is trying to free an invalid irq, This patch fixes it by adding a check before freeing the irq. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/zynqmp_dma.c | 3 ++- 1 file changed, 2 inserti

[PATCH v2 0/4] dmaengine: zynqmp_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
untime pm support" Changes for v2: --> New patch added "dmaengine: zynqmp_dma: Fix race condition in the probe" to the series. Kedareswara rao Appana (4): dmaengine: zynqmp_dma: Fix kernel doc-format dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used dm

[PATCH v2 3/4] dmaengine: zynqmp_dma: Fix issues with overflow interrupt

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below issues. --> Need to clear the channel data count register when overflow interrupts occurs. --> Reduce the log level from _info to _dbg when overflow interrupt occurs. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/zyn

[PATCH v2 2/4] dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below warning drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_handle_ovfl_int': drivers/dma/xilinx/zynqmp_dma.c:522:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Kedareswara rao Appana --- Chan

[PATCH v7 5/6] dmaengine: xilinx_dma: fix style issues from checkpatch

2017-12-06 Thread Kedareswara rao Appana
This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana --- Changes for v

[PATCH v7 2/6] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-12-06 Thread Kedareswara rao Appana
configuration for frame buffers in s/w, so that driver can handle all cases for "k" frames where n%k==0 (n is a multiple of k) by simply replicating the frame pointers. Signed-off-by: Kedareswara rao Appana --- Changes for v7: ---> Used park mode as default configuration as suggested by M

[PATCH v7 4/6] dmaengine: xilinx_dma: Fix kernel doc warnings

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the kernel doc warnings in the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/drivers/dma/xil

[PATCH v7 3/6] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-12-06 Thread Kedareswara rao Appana
. Signed-off-by: Kedareswara rao Appana --- Changes for v7: ---> None. Changes for v6: ---> Updated Commit message as suggested by Vinod. Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/

[PATCH v7 6/6] dmaengine: xilinx_dma: Differentiate probe based on the ip type

2017-12-06 Thread Kedareswara rao Appana
This patch updates the probe banner info based on the ip probed. Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/

[PATCH v7 0/6] dmaengine: xilinx_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
MM(recv) Side. ---> Fixed kernel doc warnings in the driver. ---> Fixed checkpatch errors in the driver. Kedareswara rao Appana (6): dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in

[PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-06 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not submitted when dmaengine is in progress. This will avoid the polling for a bit in the status register to know dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana

[PATCH v6 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-13 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not Submitted when DMA engine is in progress. This will avoids the pollling for a bit in the status register to know Dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana

[PATCH v6 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-13 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH v6 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-13 Thread Kedareswara rao Appana
of frames at one time As the h/w is configured for n number of frames. This patch fixes this issue. Acked-by: Rob Herring Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v6: ---> Added Rob Acked-by ---> Updated commit message as suggested by Vinod. Changes

[PATCH v6 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-13 Thread Kedareswara rao Appana
descriptor next descriptor field Points to a invalid location, resulting the invalid data or errors in the DMA engine. This patch fixes this issue by creating a Buffer Descritpor Chain during Channel allocation itself and use those Buffer Descriptors. Signed-off-by: Kedareswara rao Appana --- Changes

[PATCH v5 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-06 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> Add idle

[PATCH v5 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-06 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH v5 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-06 Thread Kedareswara rao Appana
creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/x

[PATCH v5 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-06 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> Updated xlnx,fstore-config property to xlnx,fstore-enable and updated description as suggested by

[PATCH v4 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-04 Thread Kedareswara rao Appana
creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 fi

[PATCH v4 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-04 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> Add idle check in the reset as suggested by Jose Abreu --->

[PATCH v4 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-04 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH v4 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-04 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> Add Check for framestore configuration on Transmit case as well as suggested by Jose Ab

[PATCH v3 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-03 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> Add idle check in the reset as suggested by Jose Abreu --->

[PATCH v3 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-03 Thread Kedareswara rao Appana
creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 5

[PATCH v3 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-03 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH v3 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Added Checks for frame store configuration. If frame store Configuration is not present at the h/w level and user Subm

[PATCH v2 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-23 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Fixed race conditions in the driver as suggested by Jose Abreu ---> Fixed unnecessray if else checks in the vdma_start_tr

[PATCH v2 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-23 Thread Kedareswara rao Appana
creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions(-) diff --git a/dri

[PATCH v2 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-23 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH v2 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-23 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes fro v2: ---> Add idle check in the reset as suggested by Jose Abreu ---> Removed xilinx_dma_is_r

[PATCH 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-15 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx

[PATCH 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-15 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara

[PATCH 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-15 Thread Kedareswara rao Appana
creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/dr

[PATCH 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-15 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 43 + 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/drivers

[PATCH 2/2] net: phy: Fix race conditions in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch fixes the below race conditions in the driver. ---> Fix Opps after unload the driver as a module ---> Use spin locks where relevant. ---> Take reference on the external phy to prevent issues when phy driver is unloaded. Reported-by: Andrew Lunn Signed-off-by: Kedareswara r

[PATCH 1/2] net: phy: Add error checks in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch adds the necessary error checks in the driver. Reported-by: Andrew Lunn Signed-off-by: Kedareswara rao Appana --- drivers/net/phy/xilinx_gmii2rgmii.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers

[PATCH] net: phy: Update copyright info

2016-08-15 Thread Kedareswara rao Appana
For implementing this driver most of the inputs is provided by Andrew Lunn. Updating the driver with Andrew Copy right. Signed-off-by: Kedareswara rao Appana --- drivers/net/phy/xilinx_gmii2rgmii.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b

[PATCH] net: macb: add phy-handle support for the macb

2016-08-13 Thread Kedareswara rao Appana
This patch adds support for the 'phy-handle' binding which allows for a system to specifically select a phy which can be attached via any MDIO bus available in the system. Signed-off-by: Kedareswara rao Appana --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ drivers/ne

[PATCH v6 2/3] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

2016-08-10 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v6: ---> Removed mdio description as suggested by Florian. Changes for v5: ---> Fixed Indentation in the example as suggested by Michal. Changes for v4: -->

[PATCH v6 1/3] net: Add mask for Control register 10Mbps speed

2016-08-10 Thread Kedareswara rao Appana
This patch adds mask for the Control register 10Mbps speed. Reviewed-by: Florian Fainelli Signed-off-by: Kedareswara rao Appana --- Changes for v6: - None. Changes for v5: - New patch. include/uapi/linux/mii.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/mii.h b

[PATCH v6 0/3] net: phy: Add xilinx gmiitorgmii converter support

2016-08-10 Thread Kedareswara rao Appana
al phy negotiated speed. This patch series does the below ---> Add mask for Control register 10Mbps speed. ---> Add support for xilinx gmiitorgmii converter. Kedareswara rao Appana (3): net: Add mask for Control register 10Mbps speed Documentation: DT: net: Add Xilinx gmiitorgm

[PATCH v6 3/3] net: phy: Add gmiitorgmii converter support

2016-08-10 Thread Kedareswara rao Appana
Operation by configuring the converter register through mdio write. MDIO interface is used to set operating speed of Ethernet MAC. This converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY Signed-off-by: Kedareswara rao Appana --- Thanks a lot And

[RFC PATCH v5 3/3] net: phy: Add gmiitorgmii converter support

2016-08-09 Thread Kedareswara rao Appana
Operation by configuring the converter register through mdio write. MDIO interface is used to set operating speed of Ethernet MAC. This converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY Signed-off-by: Kedareswara rao Appana --- Thanks a lot And

[RFC PATCH v5 0/3] net: phy: Add xilinx gmiitorgmii converter support

2016-08-09 Thread Kedareswara rao Appana
al phy negotiated speed. This patch series does the below ---> Add mask for Control register 10Mbps speed. ---> Add support for xilinx gmiitorgmii converter. Kedareswara rao Appana (3): net: Add mask for Control register 10Mbps speed Documentation: DT: net: Add Xilinx gmiitorgm

[RFC PATCH v5 1/3] net: Add mask for Control register 10Mbps speed

2016-08-09 Thread Kedareswara rao Appana
This patch adds mask for the Control register 10Mbps speed. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> New patch as suggested by Punnaiah. include/uapi/linux/mii.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/mii.h b/include/uapi/linux/mii.h in

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

2016-08-09 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> Fixed Indentation in the example as suggested by Michal. Changes for v4: --> Modified compatible as suggested by Rob. --> Removed underscores from the conve

[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

[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 v3 1/2] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

2016-08-04 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v3: --> None. Changes for v2: --> New patch. .../devicetree/bindings/net/xilinx_gmii2rgmii.txt | 32 ++ 1 file changed, 32 insertions(+) creat

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

2016-08-04 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 v3: --> Updated the driver as suggested by Andrew. Changes for v2: -->

[PATCH v2] dmaengine: zynqmp_dma: Fix static checker warning

2016-07-14 Thread Kedareswara rao Appana
This patch fixes the below static checker warning drivers/dma/xilinx/zynqmp_dma.c:973 zynqmp_dma_chan_probe() warn: was && intended here instead of ||? Reported-by: Dan Carpenter Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Return EINVAL instead of err as s

[PATCH] dmaengine: zynqmp_dma: Fix static checker warning

2016-07-13 Thread Kedareswara rao Appana
This patch fixes the below static checker warning drivers/dma/xilinx/zynqmp_dma.c:973 zynqmp_dma_chan_probe() warn: was && intended here instead of ||? Reported-by: Dan Carpenter Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/zynqmp_dma.c |9 +++-- 1 files

[PATCH] dmaengine: xilinx: Fix race condition in axi dma cyclic dma mode

2016-07-09 Thread Kedareswara rao Appana
In cyclic DMA mode need to link the tail bd segment with the head bd segment to process bd's in cyclic. Current driver is doing this only for tx channel needs to update the same for rx channel case also. This patch fixes the same. Signed-off-by: Kedareswara rao Appana --- drivers/dma/x

[RFC PATCH v2 4/4] net: macb: Add gmii2rgmii phy converter support

2016-07-04 Thread Kedareswara rao Appana
different speed modes of 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 --- Changes for v2: ---> Moved header file define xilinx_gmii2rgmii.h to macb.c file as suggested by

[RFC PATCH v2 3/4] Documentation: DT: net: Update binding doc for gmiitorgmii conveter

2016-07-04 Thread Kedareswara rao Appana
This patch updates the macb device-tree binding doc for adding Support for gmiitorgmii converter support. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. Documentation/devicetree/bindings/net/macb.txt | 4 1 file changed, 4 insertions(+) diff --gi

[RFC PATCH v2 2/4] net: ethernet: xilinx: Add gmii2rgmii converter support

2016-07-04 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 --- Changes for v2: --> Passed struct xphy pointer directly to the fix_mac_speed API as suggested by the Florian. --> Added

[RFC PATCH v2 0/4] net: ethernet: Add support for gmii2rgmii converter

2016-07-04 Thread Kedareswara rao Appana
MAC MDIO bus we can access both the converter and the external PHY. We need to program the line speed of the converter during run time based On the external phy negotiated speed. Kedareswara rao Appana (4): Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding docume

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

2016-07-04 Thread Kedareswara rao Appana
Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. .../devicetree/bindings/net/xilinx_gmii2rgmii.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentat

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

2016-07-01 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and I/O to I/O buffer transfers. Signed-off-by: Kedareswara rao Appana --- Changes for v12: - Removed zynqmp_dma_config structure as suggested by vinod. - For slave usages using

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

2016-07-01 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Acked-by: Rob Herring Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v12: - None. Changes in v11: - None. Changes in v10: - Added Rob Acked-by in the

[RFC PATCH 1/2] net: ethernet: xilinx: Add gmii2rgmii converter support

2016-06-30 Thread Kedareswara rao Appana
Operation. MDIO interface is used to set operating speed of Ethernet MAC Signed-off-by: Kedareswara rao Appana --- drivers/net/ethernet/xilinx/Kconfig |7 ++ drivers/net/ethernet/xilinx/Makefile|1 + drivers/net/ethernet/xilinx/xilinx_gmii2rgmii.c | 76

[RFC PATCH 2/2] net: macb: Add gmii2rgmii phy converter support

2016-06-30 Thread Kedareswara rao Appana
This patch adds support for gmii2rgmii phy converter in the macb driver. Signed-off-by: Kedareswara rao Appana --- drivers/net/ethernet/cadence/macb.c | 21 - drivers/net/ethernet/cadence/macb.h |3 +++ 2 files changed, 23 insertions(+), 1 deletions(-) diff --git a

[RFC PATCH 0/2] net: ethernet: Add support for gmii2rgmii converter

2016-06-30 Thread Kedareswara rao Appana
fixes this issue. Kedareswara rao Appana (2): net: ethernet: xilinx: Add gmii2rgmii converter support net: macb: Add gmii2rgmii phy converter support drivers/net/ethernet/cadence/macb.c | 21 ++- drivers/net/ethernet/cadence/macb.h |3 + drivers/net/et

[PATCH v2 5/5] dmaengine: dma: Use different channel names for each dma

2016-06-23 Thread Kedareswara rao Appana
odes. Signed-off-by: Kedareswara rao Appana --- Chanes for v2: ---> New patch. .../devicetree/bindings/dma/xilinx/xilinx_dma.txt |6 +- drivers/dma/xilinx/xilinx_dma.c|8 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicet

[PATCH v2 4/5] dmaengine: dma: Rename driver and config

2016-06-23 Thread Kedareswara rao Appana
In the existing vdma driver support for AXI DMA and CDMA got added so the driver is no longer VDMA specific. This patch renames the driver and DT binding doc to xilinx_dma and updates the Kconfig description for all the DMAS. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> N

[PATCH v2 0/5] dmaengine: vdma: AXI DMAS Enhancments

2016-06-23 Thread Kedareswara rao Appana
This patch series does the following thing. ---> Add support for AXI DMA Multi-channel DMA mode. ---> Delete AXI DMA binding doc. ---> Rename the driver and update config options. Kedareswara rao Appana (5): Documentation: DT: vdma: Update binding doc for multi-channel dma mode

[PATCH v2 1/5] Documentation: DT: vdma: Update binding doc for multi-channel dma mode

2016-06-23 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for AXI DMA multi channel dma mode. Acked-by: Rob Herring Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Added Rob Acked-by. .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt |4 1 files changed, 4 insertions(+)

[PATCH v2 2/5] dmaengine: vdma: Add support for mulit-channel dma mode

2016-06-23 Thread Kedareswara rao Appana
This patch adds support for AXI DMA multi-channel dma mode Multichannel mode enables DMA to connect to multiple masters and slaves on the streaming side. In Multichannel mode AXI DMA supports 2D transfers. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Removed mcdma_config

[PATCH v2 3/5] Documentation: DT: dma: Delete binding doc for AXI DMA

2016-06-23 Thread Kedareswara rao Appana
The AXI DMA support is added to the existing AXI VDMA driver. Device tree binding information also updated in the VDMA binding doc. Acked-by: Rob Herring Signed-off-by: Kedareswara rao Appana --- --> Added Rob Acked-by. .../devicetree/bindings/dma/xilinx/xilinx_dma.txt |

[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

[PATCH 2/4] dmaengine: vdma: Add support for mulit-channel dma mode

2016-06-10 Thread Kedareswara rao Appana
This patch adds support for AXI DMA multi-channel dma mode Multichannel mode enables DMA to connect to multiple masters And slaves on the streaming side. In Multichannel mode AXI DMA supports 2D transfers. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 242

[PATCH 1/4] Documentation: DT: vdma: Update binding doc for multi-channel dma mode

2016-06-10 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for AXI DMA multi channel dma mode. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/dma

[PATCH 3/4] Documentation: DT: dma: Delete binding doc for AXI DMA

2016-06-10 Thread Kedareswara rao Appana
The AXI DMA support is added to the existing AXI VDMA driver. Device tree binding information also updated in the VDMA binding doc. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 65 1 files changed, 0 insertions(+), 65

[PATCH 0/4] dmaengine: vdma: AXI DMAS Enhancments

2016-06-10 Thread Kedareswara rao Appana
driver support". Kedareswara rao Appana (4): Documentation: DT: vdma: Update binding doc for multi-channel dma mode dmaengine: vdma: Add support for mulit-channel dma mode Documentation: DT: dma: Delete binding doc for AXI DMA dmaengine: dma: Rename driver and config .../devicetree/

[PATCH 4/4] dmaengine: dma: Rename driver and config

2016-06-10 Thread Kedareswara rao Appana
In the existing vdma driver support for AXI DMA and CDMA got added so the driver is no longer VDMA specific. This patch renames the driver and DT binding doc to xilinx_dma and updates the Kconfig description for all the DMAS. Signed-off-by: Kedareswara rao Appana --- .../dma/xilinx

[PATCH v2] dmaengine: dmatest: Add support for scatter-gather DMA mode

2016-06-09 Thread Kedareswara rao Appana
This patch updates the dmatest client to Support scatter-gather dma mode. Signed-off-by: Kedareswara rao Appana --- Changes for v2: - Rename sg_resources to sg_buffers as suggested Vinod. - Fixed coding style issues like spacing issues as suggested by Vinod. drivers/dma/dmatest.c | 43

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

2016-06-09 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Acked-by: Rob Herring Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v11: - None. Changes in v10: - Added Rob Acked-by in the commit message. Changs in

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

2016-06-09 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and I/O to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes for v11: - Fixed Kconfig/Make file order as suggested

[PATCH] dmaengine: vdma: Fix compilation warning in cyclic dma mode

2016-06-08 Thread Kedareswara rao Appana
ol |= XILINX_DMA_BD_SOP; The start of packet (SOP) should be set to the first segment in the desc chain not for the last segment of the desc chain. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --g

[PATCH v3 1/2] dmaengine: vdma: Add 64 bit addressing support for the axi dma

2016-06-07 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 v3: --> Removed repeated code and used wrappers as suggested by vinod. Changes for v2: --> New

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

2016-06-07 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 v3: --> Removed repeated code and used wrappers as suggested by vinod. Changes for v2: --> New patch. drivers/dma/

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

2016-06-01 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Acked-by: Rob Herring Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v10: - Added Rob Acked-by in the commit message. Changs in v9: - Removed include sg

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

2016-06-01 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 v10: - Use 64bit write for 64-bit platforms as

[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

  1   2   3   >