Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: phy-brcm-usb: Fix two DT properties to match bindings doc

Change "brcm,has_xhci" and "brcm,has_eohci" device tree properties
to the preferred "brcm,has-xhci" and "brcm,has-eohci". This also
matches the existing device tree bindings document.

Fixes: 49859e55e364 ("phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver")
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Al Cooper and committed by
Kishon Vijay Abraham I
5e498ff1 d8c80bb3

+2 -2
+2 -2
drivers/phy/broadcom/phy-brcm-usb.c
··· 338 338 ARRAY_SIZE(brcm_dr_mode_to_name), 339 339 mode, &priv->ini.mode); 340 340 } 341 - if (of_property_read_bool(dn, "brcm,has_xhci")) 341 + if (of_property_read_bool(dn, "brcm,has-xhci")) 342 342 priv->has_xhci = true; 343 - if (of_property_read_bool(dn, "brcm,has_eohci")) 343 + if (of_property_read_bool(dn, "brcm,has-eohci")) 344 344 priv->has_eohci = true; 345 345 346 346 err = brcm_usb_phy_dvr_init(dev, priv, dn);