diff options
author | Marek Vasut <marex@denx.de> | 2019-06-21 01:49:47 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-07-19 21:14:50 +0300 |
commit | 4ca99fe81aead026cf7540f9eea7bcbc180189c7 (patch) | |
tree | fcc091cc97853e49dd0c5b0886f8a988b960a196 /board/dhelectronics/dh_imx6 | |
parent | 9358e5b3b4e04343d3e3c996b74886be2ffca172 (diff) | |
download | u-boot-4ca99fe81aead026cf7540f9eea7bcbc180189c7.tar.xz |
ARM: imx: dh-imx6: Enable DM regulator
Enable DM support for regulators and fixed regulator driver and
convert USB Vbus control over to the regulators defined in DT.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Stefano Babic <sbabic@denx.de>
Tested-by: Ludwig Zenz <lzenz@dh-electronics.com>
Diffstat (limited to 'board/dhelectronics/dh_imx6')
-rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 1d41690c0c..24141088c9 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -196,7 +196,6 @@ int board_eth_init(bd_t *bis) #ifdef CONFIG_USB_EHCI_MX6 static void setup_usb(void) { - gpio_request(IMX_GPIO_NR(3, 31), "USB-VBUS"); /* * Set daisy chain for otg_pin_id on MX6Q. * For MX6DL, this bit is reserved. @@ -211,22 +210,6 @@ int board_usb_phy_mode(int port) else return USB_INIT_DEVICE; } - -int board_ehci_power(int port, int on) -{ - switch (port) { - case 0: - break; - case 1: - gpio_direction_output(IMX_GPIO_NR(3, 31), !!on); - break; - default: - printf("MXC USB port %d not yet supported\n", port); - return -EINVAL; - } - - return 0; -} #endif static int setup_dhcom_mac_from_fuse(void) |