[PATCHv1] net: macb: Remove dead code

2019-09-23 Thread shubhrajyoti . datta
From: Shubhrajyoti Datta macb_64b_desc is always called when HW_DMA_CAP_64B is defined. So the return NULL can never be reached. Remove the dead code. Signed-off-by: Shubhrajyoti Datta --- drivers/net/ethernet/cadence/macb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions

[RFC PATCH] net: macb: Remove dead code

2019-09-23 Thread Shubhrajyoti Datta
macb_64b_desc is always called when HW_DMA_CAP_64B is defined. So the return NULL can never be reached. Remove the dead code. Signed-off-by: Shubhrajyoti Datta --- drivers/net/ethernet/cadence/macb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net

Re: [PATCHv2 1/2] can: xilinx: add can 2.0 support

2018-11-21 Thread Shubhrajyoti Datta
On Fri, Oct 12, 2018 at 10:06 AM wrote: > > From: Shubhrajyoti Datta > > Add support for can 2.0. > > Signed-off-by: Shubhrajyoti Datta > --- ping

[PATCH 1/2] can: xilinx: add can 2.0 support

2018-10-11 Thread Shubhrajyoti Datta
Add support for can 2.0. Signed-off-by: Shubhrajyoti Datta --- drivers/net/can/xilinx_can.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 045f084..7c4f5ad 100644 --- a

[PATCH 2/2] dt-bindings: can: xilinx_can: add Xilinx CAN FD 2.0 bindings

2018-10-11 Thread Shubhrajyoti Datta
Add compatible string and new attributes to support the Xilinx CAN FD 2.0. Signed-off-by: Shubhrajyoti Datta --- Documentation/devicetree/bindings/net/can/xilinx_can.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/can/xilinx_can.txt b/Documentation

[PATCH] can: xilinx: Enable clocks even when CONFIG_PM is disabled

2017-07-24 Thread Shubhrajyoti Datta
Currently the clocks are enabled only in the runtime calls. When CONFIG_PM is disabled the driver does not work as the clocks are disabled. Fix the same by enabling the clocks in probe. Signed-off-by: Shubhrajyoti Datta --- drivers/net/can/xilinx_can.c | 31 +++ 1

Re: [PATCHv3] net: ethernet: macb: Add support for rx_clk

2016-08-18 Thread Shubhrajyoti Datta
On Tue, Aug 16, 2016 at 10:03 PM, Nicolas Ferre wrote: > Le 15/08/2016 à 21:44, Shubhrajyoti Datta a écrit : >> Some of the platforms like zynqmp ultrascale+ has a >> separate clock gate for the rx clock. Add an optional >> rx_clk so that the clock can be enabled

Re: [PATCH RFCv2] net: ethernet: macb: Add support for rx_clk

2016-08-15 Thread Shubhrajyoti Datta
Hi Rob, Thanks for the review. On Sat, Aug 13, 2016 at 12:33 AM, Rob Herring wrote: > On Fri, Aug 12, 2016 at 03:46:19PM +0530, Shubhrajyoti Datta wrote: >> Some of the platforms like zynqmp ultrascale+ has a >> separate clock gate for the rx clock. Add an optional >> rx_

[PATCHv3] net: ethernet: macb: Add support for rx_clk

2016-08-15 Thread Shubhrajyoti Datta
Some of the platforms like zynqmp ultrascale+ has a separate clock gate for the rx clock. Add an optional rx_clk so that the clock can be enabled. Signed-off-by: Shubhrajyoti Datta --- v2: fix warnng v3 Add that rx applies to zcu mpsoc Documentation/devicetree/bindings/net/macb.txt | 1

[PATCH RFCv2] net: ethernet: macb: Add support for rx_clk

2016-08-12 Thread Shubhrajyoti Datta
Some of the platforms like zynqmp ultrascale+ has a separate clock gate for the rx clock. Add an optional rx_clk so that the clock can be enabled. Signed-off-by: Shubhrajyoti Datta --- v2: fix warning Documentation/devicetree/bindings/net/macb.txt | 2 +- drivers/net/ethernet/cadence/macb.c

[PATCH RFC] net: ethernet: macb: Add support for rx_clk

2016-08-12 Thread Shubhrajyoti Datta
Some of the platforms like zynqmp ultrascale+ has a separate clock gate for the rx clock. Add an optional rx_clk so that the clock can be enabled. Signed-off-by: Shubhrajyoti Datta --- Documentation/devicetree/bindings/net/macb.txt | 2 +- drivers/net/ethernet/cadence/macb.c| 27