Re: [PATCH v9 1/3] dt-bindings: marvell: Document the AC5/AC5X compatibles

From: Chris Packham
Date: Tue Jun 14 2022 - 00:03:57 EST



On 14/06/22 10:53, Vadym Kochan wrote:
> From: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
>
> Describe the compatible properties for the Marvell Alleycat5/5X switches
> with integrated CPUs.
>
> Alleycat5:
> * 98DX2538: 24x1G + 2x10G + 2x10G Stack
> * 98DX2535: 24x1G + 4x1G Stack
> * 98DX2532: 8x1G + 2x10G + 2x1G Stack
> * 98DX2531: 8x1G + 4x1G Stack
> * 98DX2528: 24x1G + 2x10G + 2x10G Stack
> * 98DX2525: 24x1G + 4x1G Stack
> * 98DX2522: 8x1G + 2x10G + 2x1G Stack
> * 98DX2521: 8x1G + 4x1G Stack
> * 98DX2518: 24x1G + 2x10G + 2x10G Stack
> * 98DX2515: 24x1G + 4x1G Stack
> * 98DX2512: 8x1G + 2x10G + 2x1G Stack
> * 98DX2511: 8x1G + 4x1G Stack
>
> Alleycat5X:
> * 98DX3500: 24x1G + 6x25G
> * 98DX3501: 16x1G + 6x10G
> * 98DX3510: 48x1G + 6x25G
> * 98DX3520: 24x2.5G + 6x25G
> * 98DX3530: 48x2.5G + 6x25G
> * 98DX3540: 12x5G/6x10G + 6x25G
> * 98DX3550: 24x5G/12x10G + 6x25G
>
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Vadym Kochan <vadym.kochan@xxxxxxxxxxx>
> ---
>
> Notes:
> Changes in v9:
> - Renamed $id with "ac5" prefix
> Changes in v8:
> - Add review from Krzysztof
> Changes in v7:
> - Add rd-ac5 and rd-ac5x boards to binding.
> - Rename to armada-98dx25xx.yaml
> Changes in v6:
> - New
>
> .../bindings/arm/marvell/ac5-98dx25xx.yaml | 32 +++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/marvell/ac5-98dx25xx.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/marvell/ac5-98dx25xx.yaml b/Documentation/devicetree/bindings/arm/marvell/ac5-98dx25xx.yaml
> new file mode 100644
> index 000000000000..1d8dd7c00c1a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/marvell/ac5-98dx25xx.yaml
> @@ -0,0 +1,32 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://scanmail.trustwave.com/?c=20988&d=0sCn4rSkm8Ye1wgojwzEuDgNKxy8xoaJJBOHo3uhXA&u=http%3a%2f%2fdevicetree%2eorg%2fschemas%2farm%2fmarvell%2fac5-98dx25xx%2eyaml%23
> +$schema: http://scanmail.trustwave.com/?c=20988&d=0sCn4rSkm8Ye1wgojwzEuDgNKxy8xoaJJBeG8i72WQ&u=http%3a%2f%2fdevicetree%2eorg%2fmeta-schemas%2fcore%2eyaml%23
> +

Apologies for the above. Our incoming email likes to even the playing
field by making all links look like phishing attempts.

> +title: Marvell Alleycat5/5X Platforms
> +
> +maintainers:
> + - Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
Do you want to add yourself here?
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> + - description: Alleycat5 (98DX25xx) Reference Design
> + items:
> + - enum:
> + - marvell,rd-ac5
> + - const: marvell,ac5
> +
> + - description: Alleycat5X (98DX35xx) Reference Design
> + items:
> + - enum:
> + - marvell,rd-ac5x
> + - const: marvell,ac5x
> + - const: marvell,ac5
> +
> +additionalProperties: true
> +
> +...