summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/xusb-padctl.c
blob: 65f8d2ea967abaa5756be14ffca67fa13729f356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Copyright (c) 2014, NVIDIA CORPORATION.  All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0
 */

#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;
}

void __weak tegra_xusb_padctl_init(const void *fdt)
{
}
OpenPOWER on IntegriCloud