Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. |
Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 6 | #include <errno.h> |
| 7 | |
Tom Rini | dec7ea0 | 2024-05-20 13:35:03 -0600 | [diff] [blame^] | 8 | #include <linux/compiler.h> |
Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 9 | #include <asm/arch-tegra/xusb-padctl.h> |
| 10 | |
| 11 | struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type) |
| 12 | { |
| 13 | return NULL; |
| 14 | } |
| 15 | |
| 16 | int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy) |
| 17 | { |
| 18 | return -ENOSYS; |
| 19 | } |
| 20 | |
| 21 | int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy) |
| 22 | { |
| 23 | return -ENOSYS; |
| 24 | } |
| 25 | |
| 26 | int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy) |
| 27 | { |
| 28 | return -ENOSYS; |
| 29 | } |
| 30 | |
| 31 | int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy) |
| 32 | { |
| 33 | return -ENOSYS; |
| 34 | } |
| 35 | |
Simon Glass | cf0c6e2 | 2017-07-25 08:29:59 -0600 | [diff] [blame] | 36 | void __weak tegra_xusb_padctl_init(void) |
Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 37 | { |
| 38 | } |
JC Kuo | f479aca | 2020-03-26 16:10:09 -0700 | [diff] [blame] | 39 | |
| 40 | void __weak tegra_xusb_padctl_exit(void) |
| 41 | { |
| 42 | } |