]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/mach-tegra/xusb-padctl-dummy.c
dm: tegra: Convert USB setup to livetree
[people/ms/u-boot.git] / arch / arm / mach-tegra / xusb-padctl-dummy.c
CommitLineData
79c7a90f
TR
1/*
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
be789092 37void __weak tegra_xusb_padctl_init(void)
79c7a90f
TR
38{
39}