mbox series

[v2,00/21] Add new Marvell CN9130 SoC support

Message ID 20191004142738.7370-1-miquel.raynal@bootlin.com (mailing list archive)
Headers show
Series Add new Marvell CN9130 SoC support | expand

Message

Miquel Raynal Oct. 4, 2019, 2:27 p.m. UTC
Hello,

This is a respin of the last remaining patchset needed to fully support
Marvell CN9130 SoCs. The CN9130 is made of one AP807 and one internal
CP115. There are three development boards that are made of this SoC:
* CN9130-DB
* CN9131-DB (with one additional modular CP115 compared to CN9130-DB)
* CN9132-DB (with two additional modular CP115 compared to CN9130-DB)

This series applies on top of v5.4-rc1 and works thanks to the
previously merged following series:
* CP110 COMPHY:
https://patchwork.kernel.org/cover/11067647/
* AP806 CPU clocks:
https://patchwork.kernel.org/cover/11038577/
* AP807 clocks:
https://patchwork.kernel.org/cover/11076435/
* CP115 pinctrl:
http://patchwork.ozlabs.org/cover/1142107/

As CP110 and CP115 (alternatively, AP806 and AP807) are very similar,
we first reorganize DT files to create CP11x (and AP80x) generic
files, before including them from the new specific CP110/CP115
(AP806/AP807) ones.

A few small improvements/fixes in these files are also carried.

Thanks,
Miquèl

Changes since v1:
=================
* Rebased on top of v5.4-rc1.
* Rob's Reviewed-by tag on the first bindings patch (03).
* Used the AP_NAME macro instead of hardcoding ap806 in the DT which
  turns generic (spotted by Gregory).
* Converted Marvell SoC compatible bindings to yaml (patch 16) as
  requested by Rob. Add Gregory as the file maintainer.


Ben Peled (1):
  dt-bindings: ap80x: replace AP806 with AP80x

Grzegorz Jaszczyk (7):
  arm64: dts: marvell: Add AP806-dual cache description
  arm64: dts: marvell: Add AP806-quad cache description
  arm64: dts: marvell: Add AP807-quad cache description
  dt-bindings: marvell: Declare the CN913x SoC compatibles
  arm64: dts: marvell: Add support for Marvell CN9130-DB
  arm64: dts: marvell: Add support for Marvell CN9131-DB
  arm64: dts: marvell: Add support for Marvell CN9132-DB

Konstantin Porotchkin (1):
  arm64: dts: marvell: Prepare the introduction of AP807 based SoCs

Miquel Raynal (12):
  arm64: dts: marvell: Enumerate the first AP806 syscon
  arm64: dts: marvell: Add AP806-dual missing CPU clocks
  MAINTAINERS: Add new Marvell CN9130-based files to track
  arm64: dts: marvell: Move clocks to AP806 specific file
  arm64: dts: marvell: Add support for AP807/AP807-quad
  arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment
    alignment
  arm64: dts: marvell: Prepare the introduction of CP115
  arm64: dts: marvell: Drop PCIe I/O ranges from CP11x file
  arm64: dts: marvell: Externalize PCIe macros from CP11x file
  arm64: dts: marvell: Add support for CP115
  dt-bindings: marvell: Convert the SoC compatibles description to YAML
  arm64: dts: marvell: Add support for Marvell CN9130 SoC support

 ...roller.txt => ap80x-system-controller.txt} |  14 +-
 .../bindings/arm/marvell/armada-7k-8k.txt     |  24 -
 .../bindings/arm/marvell/armada-7k-8k.yaml    |  61 ++
 MAINTAINERS                                   |   3 +-
 arch/arm64/boot/dts/marvell/Makefile          |   3 +
 arch/arm64/boot/dts/marvell/armada-70x0.dtsi  |  28 +-
 .../boot/dts/marvell/armada-8040-mcbin.dtsi   |   3 +-
 arch/arm64/boot/dts/marvell/armada-80x0.dtsi  |  56 +-
 .../boot/dts/marvell/armada-ap806-dual.dtsi   |  23 +
 .../boot/dts/marvell/armada-ap806-quad.dtsi   |  42 ++
 arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 456 +-------------
 .../boot/dts/marvell/armada-ap807-quad.dtsi   |  93 +++
 arch/arm64/boot/dts/marvell/armada-ap807.dtsi |  29 +
 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 444 ++++++++++++++
 .../arm64/boot/dts/marvell/armada-common.dtsi |   4 +-
 arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 575 +-----------------
 arch/arm64/boot/dts/marvell/armada-cp115.dtsi |  12 +
 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 568 +++++++++++++++++
 arch/arm64/boot/dts/marvell/cn9130-db.dts     | 403 ++++++++++++
 arch/arm64/boot/dts/marvell/cn9130.dtsi       |  37 ++
 arch/arm64/boot/dts/marvell/cn9131-db.dts     | 202 ++++++
 arch/arm64/boot/dts/marvell/cn9132-db.dts     | 221 +++++++
 22 files changed, 2210 insertions(+), 1091 deletions(-)
 rename Documentation/devicetree/bindings/arm/marvell/{ap806-system-controller.txt => ap80x-system-controller.txt} (91%)
 delete mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.txt
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml
 create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/armada-cp115.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db.dts
 create mode 100644 arch/arm64/boot/dts/marvell/cn9130.dtsi
 create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db.dts
 create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db.dts

Comments

Gregory CLEMENT Oct. 8, 2019, 12:25 p.m. UTC | #1
Hi Miquel,

> Hello,
>
> This is a respin of the last remaining patchset needed to fully support
> Marvell CN9130 SoCs. The CN9130 is made of one AP807 and one internal
> CP115. There are three development boards that are made of this SoC:
> * CN9130-DB
> * CN9131-DB (with one additional modular CP115 compared to CN9130-DB)
> * CN9132-DB (with two additional modular CP115 compared to CN9130-DB)
>
> This series applies on top of v5.4-rc1 and works thanks to the
> previously merged following series:
> * CP110 COMPHY:
> https://patchwork.kernel.org/cover/11067647/
> * AP806 CPU clocks:
> https://patchwork.kernel.org/cover/11038577/
> * AP807 clocks:
> https://patchwork.kernel.org/cover/11076435/
> * CP115 pinctrl:
> http://patchwork.ozlabs.org/cover/1142107/
>
> As CP110 and CP115 (alternatively, AP806 and AP807) are very similar,
> we first reorganize DT files to create CP11x (and AP80x) generic
> files, before including them from the new specific CP110/CP115
> (AP806/AP807) ones.
>
> A few small improvements/fixes in these files are also carried.
>
> Thanks,
> Miquèl
>
> Changes since v1:
> =================
> * Rebased on top of v5.4-rc1.
> * Rob's Reviewed-by tag on the first bindings patch (03).
> * Used the AP_NAME macro instead of hardcoding ap806 in the DT which
>   turns generic (spotted by Gregory).
> * Converted Marvell SoC compatible bindings to yaml (patch 16) as
>   requested by Rob. Add Gregory as the file maintainer.
>
>
> Ben Peled (1):
>   dt-bindings: ap80x: replace AP806 with AP80x
>
> Grzegorz Jaszczyk (7):
>   arm64: dts: marvell: Add AP806-dual cache description
>   arm64: dts: marvell: Add AP806-quad cache description
>   arm64: dts: marvell: Add AP807-quad cache description
>   dt-bindings: marvell: Declare the CN913x SoC compatibles
>   arm64: dts: marvell: Add support for Marvell CN9130-DB
>   arm64: dts: marvell: Add support for Marvell CN9131-DB
>   arm64: dts: marvell: Add support for Marvell CN9132-DB
>
> Konstantin Porotchkin (1):
>   arm64: dts: marvell: Prepare the introduction of AP807 based SoCs
>
> Miquel Raynal (12):
>   arm64: dts: marvell: Enumerate the first AP806 syscon
>   arm64: dts: marvell: Add AP806-dual missing CPU clocks
>   MAINTAINERS: Add new Marvell CN9130-based files to track
>   arm64: dts: marvell: Move clocks to AP806 specific file
>   arm64: dts: marvell: Add support for AP807/AP807-quad
>   arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment
>     alignment
>   arm64: dts: marvell: Prepare the introduction of CP115
>   arm64: dts: marvell: Drop PCIe I/O ranges from CP11x file
>   arm64: dts: marvell: Externalize PCIe macros from CP11x file
>   arm64: dts: marvell: Add support for CP115
>   dt-bindings: marvell: Convert the SoC compatibles description to YAML
>   arm64: dts: marvell: Add support for Marvell CN9130 SoC support


All series applied on mvebu/dt64

Thanks,

Gregory


>
>  ...roller.txt => ap80x-system-controller.txt} |  14 +-
>  .../bindings/arm/marvell/armada-7k-8k.txt     |  24 -
>  .../bindings/arm/marvell/armada-7k-8k.yaml    |  61 ++
>  MAINTAINERS                                   |   3 +-
>  arch/arm64/boot/dts/marvell/Makefile          |   3 +
>  arch/arm64/boot/dts/marvell/armada-70x0.dtsi  |  28 +-
>  .../boot/dts/marvell/armada-8040-mcbin.dtsi   |   3 +-
>  arch/arm64/boot/dts/marvell/armada-80x0.dtsi  |  56 +-
>  .../boot/dts/marvell/armada-ap806-dual.dtsi   |  23 +
>  .../boot/dts/marvell/armada-ap806-quad.dtsi   |  42 ++
>  arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 456 +-------------
>  .../boot/dts/marvell/armada-ap807-quad.dtsi   |  93 +++
>  arch/arm64/boot/dts/marvell/armada-ap807.dtsi |  29 +
>  arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 444 ++++++++++++++
>  .../arm64/boot/dts/marvell/armada-common.dtsi |   4 +-
>  arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 575 +-----------------
>  arch/arm64/boot/dts/marvell/armada-cp115.dtsi |  12 +
>  arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 568 +++++++++++++++++
>  arch/arm64/boot/dts/marvell/cn9130-db.dts     | 403 ++++++++++++
>  arch/arm64/boot/dts/marvell/cn9130.dtsi       |  37 ++
>  arch/arm64/boot/dts/marvell/cn9131-db.dts     | 202 ++++++
>  arch/arm64/boot/dts/marvell/cn9132-db.dts     | 221 +++++++
>  22 files changed, 2210 insertions(+), 1091 deletions(-)
>  rename Documentation/devicetree/bindings/arm/marvell/{ap806-system-controller.txt => ap80x-system-controller.txt} (91%)
>  delete mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml
>  create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/armada-cp115.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db.dts
>  create mode 100644 arch/arm64/boot/dts/marvell/cn9130.dtsi
>  create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db.dts
>  create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db.dts
>
> -- 
> 2.20.1
>