From fe2cb473433e870d262b6322ad21d047ac570acd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 9 Jan 2014 11:22:50 +0100 Subject: [PATCH] karo: fdt: disable the usb vbus regulator via the 'vbu-supply' phandle --- board/karo/common/fdt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/karo/common/fdt.c b/board/karo/common/fdt.c index 96bd7f7d6b..0a72e64056 100644 --- a/board/karo/common/fdt.c +++ b/board/karo/common/fdt.c @@ -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); -- 2.39.2