]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/common/fdt.c
karo: fdt: disable the usb vbus regulator via the 'vbu-supply' phandle
[karo-tx-uboot.git] / board / karo / common / fdt.c
index 96bd7f7d6b1c854552606865d665f51aabf058bd..0a72e6405645da532c00f816ad4b80c3558399a3 100644 (file)
@@ -307,6 +307,10 @@ void karo_fdt_fixup_usb_otg(void *blob, const char *node, const char *phy)
        if ((!disable_phy_pins && !disable_otg) || ret)
                goto out;
 
+       ret = karo_fdt_disable_node_phandle(blob, node, "vbus-supply");
+       if (ret)
+               goto out;
+
        if (disable_otg) {
                debug("Disabling usbphy\n");
                ret = fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);