2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-12-10 05:25:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
#include <asm/arch-tegra/xusb-padctl.h>
|
|
|
|
|
|
|
|
struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
2017-07-25 14:29:59 +00:00
|
|
|
void __weak tegra_xusb_padctl_init(void)
|
2014-12-10 05:25:09 +00:00
|
|
|
{
|
|
|
|
}
|