]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
dt-bindings: marvell,prestera: Add common compatible string
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 7 Sep 2018 00:59:25 +0000 (12:59 +1200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 24 Sep 2018 15:16:54 +0000 (17:16 +0200)
Add "marvell,prestera" as a compatible string so that drivers can be
written to account for any prestera variant without needing to
specialise to the more specific values.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Documentation/devicetree/bindings/net/marvell,prestera.txt

index c329608fa887b1fad655f7c778ca539b4c5d36c6..83370ebf5b8959d5fb8c90ed3344e50daf224415 100644 (file)
@@ -2,7 +2,7 @@ Marvell Prestera Switch Chip bindings
 -------------------------------------
 
 Required properties:
-- compatible: one of the following
+- compatible: must be "marvell,prestera" and one of the following
        "marvell,prestera-98dx3236",
        "marvell,prestera-98dx3336",
        "marvell,prestera-98dx4251",
@@ -21,7 +21,7 @@ switch {
        ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
 
        packet-processor@0 {
-               compatible = "marvell,prestera-98dx3236";
+               compatible = "marvell,prestera-98dx3236", "marvell,prestera";
                reg = <0 0x4000000>;
                interrupts = <33>, <34>, <35>;
                dfx = <&dfx>;