[PATCH v4 00/13] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support

Michael Walle posted 13 patches 4 years, 1 month ago
arch/arm/boot/dts/Makefile                    |   4 +-
...lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts |  94 +++++
.../lan966x-kontron-kswitch-d10-mmt-8g.dts    |  39 ++
.../dts/lan966x-kontron-kswitch-d10-mmt.dtsi  | 190 ++++++++++
arch/arm/boot/dts/lan966x.dtsi                | 353 +++++++++++++++++-
5 files changed, 676 insertions(+), 4 deletions(-)
create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts
create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dts
create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi
[PATCH v4 00/13] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support
Posted by Michael Walle 4 years, 1 month ago
Add missing nodes for the flexcom blocks and a node for the SGPIO
block. Then add basic support for the Kontron KSwitch D10.

The first submission of this patchset was a long time ago. Since
then networking matured and is now working. Thus this now also
contains patches for all the networking related nodes and enables
them on the Kontron D10 switch.

changes since v3:
 - basic d10 switch support dropped the i2c mux and added a
   dedicated bus for the second SFP cage.
 - new patch to add the hwmon node
 - new patches to add the network related nodes and to enable
   the nodes on the d10 switch

changes since v2:
 - add second kontron board variant and moved common stuff into a
   new dtsi
 - moved the uart/i2c nodes inside of the flexcom node
 - moved sgpio child nodes inside of the sgpio node

changes since v1:
 - fixed indendation
 - keep compatible, reg first, move #address-cells and #size-cells
   towards the end

Michael Walle (13):
  ARM: dts: lan966x: swap dma channels for crypto node
  ARM: dts: lan966x: add sgpio node
  ARM: dts: lan966x: add missing uart DMA channel
  ARM: dts: lan966x: add all flexcom usart nodes
  ARM: dts: lan966x: add flexcom SPI nodes
  ARM: dts: lan966x: add flexcom I2C nodes
  ARM: dts: lan966x: add basic Kontron KSwitch D10 support
  ARM: dts: lan966x: add hwmon node
  ARM: dts: lan966x: add MIIM nodes
  ARM: dts: lan966x: add reset switch reset node
  ARM: dts: lan966x: add serdes node
  ARM: dts: lan966x: add switch node
  ARM: dts: kswitch-d10: enable networking

 arch/arm/boot/dts/Makefile                    |   4 +-
 ...lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts |  94 +++++
 .../lan966x-kontron-kswitch-d10-mmt-8g.dts    |  39 ++
 .../dts/lan966x-kontron-kswitch-d10-mmt.dtsi  | 190 ++++++++++
 arch/arm/boot/dts/lan966x.dtsi                | 353 +++++++++++++++++-
 5 files changed, 676 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts
 create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dts
 create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi

-- 
2.30.2
Re: [PATCH v4 00/13] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support
Posted by Horatiu Vultur 4 years, 1 month ago
The 05/03/2022 00:41, Michael Walle wrote:
> 
> Add missing nodes for the flexcom blocks and a node for the SGPIO
> block. Then add basic support for the Kontron KSwitch D10.
> 
> The first submission of this patchset was a long time ago. Since
> then networking matured and is now working. Thus this now also
> contains patches for all the networking related nodes and enables
> them on the Kontron D10 switch.

I have tested these changes on the lan966x-pcb82891 board which seems to
work fine.
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>

> 
> changes since v3:
>  - basic d10 switch support dropped the i2c mux and added a
>    dedicated bus for the second SFP cage.
>  - new patch to add the hwmon node
>  - new patches to add the network related nodes and to enable
>    the nodes on the d10 switch
> 
> changes since v2:
>  - add second kontron board variant and moved common stuff into a
>    new dtsi
>  - moved the uart/i2c nodes inside of the flexcom node
>  - moved sgpio child nodes inside of the sgpio node
> 
> changes since v1:
>  - fixed indendation
>  - keep compatible, reg first, move #address-cells and #size-cells
>    towards the end
> 
> Michael Walle (13):
>   ARM: dts: lan966x: swap dma channels for crypto node
>   ARM: dts: lan966x: add sgpio node
>   ARM: dts: lan966x: add missing uart DMA channel
>   ARM: dts: lan966x: add all flexcom usart nodes
>   ARM: dts: lan966x: add flexcom SPI nodes
>   ARM: dts: lan966x: add flexcom I2C nodes
>   ARM: dts: lan966x: add basic Kontron KSwitch D10 support
>   ARM: dts: lan966x: add hwmon node
>   ARM: dts: lan966x: add MIIM nodes
>   ARM: dts: lan966x: add reset switch reset node
>   ARM: dts: lan966x: add serdes node
>   ARM: dts: lan966x: add switch node
>   ARM: dts: kswitch-d10: enable networking
> 
>  arch/arm/boot/dts/Makefile                    |   4 +-
>  ...lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts |  94 +++++
>  .../lan966x-kontron-kswitch-d10-mmt-8g.dts    |  39 ++
>  .../dts/lan966x-kontron-kswitch-d10-mmt.dtsi  | 190 ++++++++++
>  arch/arm/boot/dts/lan966x.dtsi                | 353 +++++++++++++++++-
>  5 files changed, 676 insertions(+), 4 deletions(-)
>  create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts
>  create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dts
>  create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi
> 
> --
> 2.30.2
> 

-- 
/Horatiu
Re: [PATCH v4 00/13] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support
Posted by Michael Walle 4 years, 1 month ago
Am 2022-05-03 00:41, schrieb Michael Walle:
> Add missing nodes for the flexcom blocks and a node for the SGPIO
> block. Then add basic support for the Kontron KSwitch D10.
> 
> The first submission of this patchset was a long time ago. Since
> then networking matured and is now working. Thus this now also
> contains patches for all the networking related nodes and enables
> them on the Kontron D10 switch.

Thanks Claudiu for reviewing and Horatiu for testing.

Nicolas, could you pick this one up for the next merge window? Most
of the patches are now pending for 4+ weeks. It would be great to
have the support for our board in mainline to finally get it into
KernelCI.

-michael