]> git.baikalelectronics.ru Git - uboot.git/commitdiff
usb: ehci: ehci-marvell: Update compatible string to official DT bindings
authorPali Rohár <pali@kernel.org>
Mon, 14 Feb 2022 10:34:24 +0000 (11:34 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
Official DT bindings use compatible string marvell,armada-3700-ehci.
Update drivers and DTS files.

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_a3700.c
drivers/usb/host/ehci-marvell.c

index b363212dc8bdcbc092b327120d03bbb8159b3b85..a427d9cf6218beb02e9bba7ee2617abfb6ac44ae 100644 (file)
                        };
 
                        usb2: usb@5e000 {
-                               compatible = "marvell,armada3700-ehci";
+                               compatible = "marvell,armada-3700-ehci";
                                reg = <0x5e000 0x450>;
                                status = "disabled";
                        };
index 7cde59b8e28f3670e13f0031365d0fe348ef82f4..c490dc69c69573a779db2c791aa80ec013c9fd83 100644 (file)
@@ -937,7 +937,7 @@ void comphy_dedicated_phys_init(void)
                 */
                if (usb32 == 0) {
                        node = fdt_node_offset_by_compatible(
-                               blob, -1, "marvell,armada3700-ehci");
+                               blob, -1, "marvell,armada-3700-ehci");
                } else {
                        node = fdt_node_offset_by_compatible(
                                blob, -1, "marvell,armada3700-xhci");
index 5420bb9772b53aa313a68b6048b9c43e551cae86..b7e60c690a4f279115201ae550f0960c83c9c0e9 100644 (file)
@@ -123,7 +123,7 @@ static int ehci_mvebu_probe(struct udevice *dev)
         * Also, the address decoder doesn't need to get setup with this
         * SoC, so don't call usb_brg_adrdec_setup().
         */
-       if (device_is_compatible(dev, "marvell,armada3700-ehci"))
+       if (device_is_compatible(dev, "marvell,armada-3700-ehci"))
                marvell_ehci_ops.powerup_fixup = marvell_ehci_powerup_fixup;
        else
                usb_brg_adrdec_setup((void *)priv->hcd_base);
@@ -142,7 +142,7 @@ static int ehci_mvebu_probe(struct udevice *dev)
 
 static const struct udevice_id ehci_usb_ids[] = {
        { .compatible = "marvell,orion-ehci", },
-       { .compatible = "marvell,armada3700-ehci", },
+       { .compatible = "marvell,armada-3700-ehci", },
        { }
 };