mbox series

[U-Boot,0/6] J721e: Add networking support

Message ID 20191118105910.14472-1-vigneshr@ti.com
Headers show
Series J721e: Add networking support | expand

Message

Vignesh Raghavendra Nov. 18, 2019, 10:59 a.m. UTC
This patch enables networking support for TI's J721e SoC.
Patch 1 adds a new interface to DMA uclass to get channel specific
private/configuration data. Patch 2 to 4 use this interface to pass data
from J721e's UDMA driver to CPSW ethernet driver. Last two patches add
DMA and CPSW DT nodes and configs.


Vignesh Raghavendra (6):
  dma: Introduce dma_get_cfg() interface
  dma: ti: k3-udma: Implement dma_get_cfg() interface
  net: ti: am65-cpsw-nuss: Rework RX flow ID handling
  net: ti: am65-cpsw-nuss: Add new compatible for J721e
  arm: dts: k3-j721e-common-proc-board: Add DMA and CPSW related DT
    nodes
  configs: j721e_evm_a72_defconfig: Enable DMA and Ethernet

 .../k3-j721e-common-proc-board-u-boot.dtsi    | 268 ++++++++++++++++++
 configs/j721e_evm_a72_defconfig               |   8 +
 drivers/dma/dma-uclass.c                      |  12 +
 drivers/dma/ti/k3-udma.c                      |  28 ++
 drivers/net/ti/am65-cpsw-nuss.c               |  14 +-
 include/dma-uclass.h                          |  11 +
 include/dma.h                                 |  11 +
 include/linux/soc/ti/ti-udma.h                |  19 ++
 8 files changed, 362 insertions(+), 9 deletions(-)

Comments

Grygorii Strashko Nov. 21, 2019, 12:32 p.m. UTC | #1
On 18/11/2019 12:59, Vignesh Raghavendra wrote:
> This patch enables networking support for TI's J721e SoC.
> Patch 1 adds a new interface to DMA uclass to get channel specific
> private/configuration data. Patch 2 to 4 use this interface to pass data
> from J721e's UDMA driver to CPSW ethernet driver. Last two patches add
> DMA and CPSW DT nodes and configs.
> 

I assume this series has dependencies. Right?

> 
> Vignesh Raghavendra (6):
>    dma: Introduce dma_get_cfg() interface
>    dma: ti: k3-udma: Implement dma_get_cfg() interface
>    net: ti: am65-cpsw-nuss: Rework RX flow ID handling
>    net: ti: am65-cpsw-nuss: Add new compatible for J721e
>    arm: dts: k3-j721e-common-proc-board: Add DMA and CPSW related DT
>      nodes
>    configs: j721e_evm_a72_defconfig: Enable DMA and Ethernet
> 
>   .../k3-j721e-common-proc-board-u-boot.dtsi    | 268 ++++++++++++++++++
>   configs/j721e_evm_a72_defconfig               |   8 +
>   drivers/dma/dma-uclass.c                      |  12 +
>   drivers/dma/ti/k3-udma.c                      |  28 ++
>   drivers/net/ti/am65-cpsw-nuss.c               |  14 +-
>   include/dma-uclass.h                          |  11 +
>   include/dma.h                                 |  11 +
>   include/linux/soc/ti/ti-udma.h                |  19 ++
>   8 files changed, 362 insertions(+), 9 deletions(-)
>
Vignesh Raghavendra Nov. 21, 2019, 12:43 p.m. UTC | #2
On 21-Nov-19 6:02 PM, Grygorii Strashko wrote:
> 
> 
> On 18/11/2019 12:59, Vignesh Raghavendra wrote:
>> This patch enables networking support for TI's J721e SoC.
>> Patch 1 adds a new interface to DMA uclass to get channel specific
>> private/configuration data. Patch 2 to 4 use this interface to pass data
>> from J721e's UDMA driver to CPSW ethernet driver. Last two patches add
>> DMA and CPSW DT nodes and configs.
>>
> 
> I assume this series has dependencies. Right?

No compile time dependencies and system will boot to U-Boot prompt. But 
for ethernet functionality to work we need base DMA support:
http://patchwork.ozlabs.org/project/uboot/list/?series=142768

> 
>>
>> Vignesh Raghavendra (6):
>>    dma: Introduce dma_get_cfg() interface
>>    dma: ti: k3-udma: Implement dma_get_cfg() interface
>>    net: ti: am65-cpsw-nuss: Rework RX flow ID handling
>>    net: ti: am65-cpsw-nuss: Add new compatible for J721e
>>    arm: dts: k3-j721e-common-proc-board: Add DMA and CPSW related DT
>>      nodes
>>    configs: j721e_evm_a72_defconfig: Enable DMA and Ethernet
>>
>>   .../k3-j721e-common-proc-board-u-boot.dtsi    | 268 ++++++++++++++++++
>>   configs/j721e_evm_a72_defconfig               |   8 +
>>   drivers/dma/dma-uclass.c                      |  12 +
>>   drivers/dma/ti/k3-udma.c                      |  28 ++
>>   drivers/net/ti/am65-cpsw-nuss.c               |  14 +-
>>   include/dma-uclass.h                          |  11 +
>>   include/dma.h                                 |  11 +
>>   include/linux/soc/ti/ti-udma.h                |  19 ++
>>   8 files changed, 362 insertions(+), 9 deletions(-)
>>
>