blob: 856d71251226219138b038f856093ecf2fa5297d [file] [log] [blame]
Thierry Reding79c7a902014-12-09 22:25:09 -07001/*
2 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 */
6
7#include <common.h>
8#include <errno.h>
9
10#include <asm/arch-tegra/xusb-padctl.h>
11
12struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
13{
14 return NULL;
15}
16
17int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy)
18{
19 return -ENOSYS;
20}
21
22int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy)
23{
24 return -ENOSYS;
25}
26
27int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy)
28{
29 return -ENOSYS;
30}
31
32int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy)
33{
34 return -ENOSYS;
35}
36
Simon Glassbe789092017-07-25 08:29:59 -060037void __weak tegra_xusb_padctl_init(void)
Thierry Reding79c7a902014-12-09 22:25:09 -070038{
39}