1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 4 */ 5 6 #include <common.h> 7 #include <errno.h> 8 9 #include <asm/arch-tegra/xusb-padctl.h> 10 tegra_xusb_phy_get(unsigned int type)11struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type) 12 { 13 return NULL; 14 } 15 tegra_xusb_phy_prepare(struct tegra_xusb_phy * phy)16int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy) 17 { 18 return -ENOSYS; 19 } 20 tegra_xusb_phy_enable(struct tegra_xusb_phy * phy)21int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy) 22 { 23 return -ENOSYS; 24 } 25 tegra_xusb_phy_disable(struct tegra_xusb_phy * phy)26int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy) 27 { 28 return -ENOSYS; 29 } 30 tegra_xusb_phy_unprepare(struct tegra_xusb_phy * phy)31int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy) 32 { 33 return -ENOSYS; 34 } 35 tegra_xusb_padctl_init(void)36void __weak tegra_xusb_padctl_init(void) 37 { 38 } 39 tegra_xusb_padctl_exit(void)40void __weak tegra_xusb_padctl_exit(void) 41 { 42 } 43