]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
phy: marvell: a3700: Update compatible string to official DT bindings
authorPali Rohár <pali@kernel.org>
Mon, 14 Feb 2022 10:34:23 +0000 (11:34 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
In commit d368e1070514 ("phy: marvell: a3700: Convert to official DT
bindings in COMPHY driver") was done update to official DT bindings but
compatible string of official DT bindings was not updated.

Fix it now.

Fixes: d368e1070514 ("phy: marvell: a3700: Convert to official DT bindings in COMPHY driver")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-37xx.dtsi
drivers/phy/marvell/comphy_core.c

index bef6ef03df6872d453498936828fd3d9de28c72a..b363212dc8bdcbc092b327120d03bbb8159b3b85 100644 (file)
                        };
 
                        comphy: comphy@18300 {
-                               compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700";
+                               compatible = "marvell,comphy-a3700";
                                reg = <0x18300 0x28>,
                                      <0x1f300 0x3d000>;
                                #address-cells = <1>;
index 5bb994fe42a5a944529b2d50a7ffa82f400beffa..df2460dbd7dc79351e3bd89fc99295301cc5cabb 100644 (file)
@@ -96,7 +96,7 @@ static int comphy_probe(struct udevice *dev)
        if (IS_ERR(chip_cfg->hpipe3_base_addr))
                return PTR_ERR(chip_cfg->hpipe3_base_addr);
 
-       if (device_is_compatible(dev, "marvell,comphy-armada-3700")) {
+       if (device_is_compatible(dev, "marvell,comphy-a3700")) {
                chip_cfg->comphy_init_map = comphy_a3700_init_serdes_map;
                chip_cfg->ptr_comphy_chip_init = comphy_a3700_init;
                chip_cfg->rx_training = NULL;
@@ -145,6 +145,7 @@ static int comphy_probe(struct udevice *dev)
 
 static const struct udevice_id comphy_ids[] = {
        { .compatible = "marvell,mvebu-comphy" },
+       { .compatible = "marvell,comphy-a3700" },
        { }
 };