.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify it |
---|
5 | | - * under the terms and conditions of the GNU General Public License, |
---|
6 | | - * version 2, as published by the Free Software Foundation. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
11 | | - * more details. |
---|
12 | 4 | */ |
---|
13 | 5 | |
---|
14 | 6 | #include <linux/delay.h> |
---|
.. | .. |
---|
1430 | 1422 | } |
---|
1431 | 1423 | |
---|
1432 | 1424 | static const struct tegra_xusb_port_ops tegra124_usb2_port_ops = { |
---|
| 1425 | + .release = tegra_xusb_usb2_port_release, |
---|
| 1426 | + .remove = tegra_xusb_usb2_port_remove, |
---|
1433 | 1427 | .enable = tegra124_usb2_port_enable, |
---|
1434 | 1428 | .disable = tegra124_usb2_port_disable, |
---|
1435 | 1429 | .map = tegra124_usb2_port_map, |
---|
.. | .. |
---|
1451 | 1445 | } |
---|
1452 | 1446 | |
---|
1453 | 1447 | static const struct tegra_xusb_port_ops tegra124_ulpi_port_ops = { |
---|
| 1448 | + .release = tegra_xusb_ulpi_port_release, |
---|
1454 | 1449 | .enable = tegra124_ulpi_port_enable, |
---|
1455 | 1450 | .disable = tegra124_ulpi_port_disable, |
---|
1456 | 1451 | .map = tegra124_ulpi_port_map, |
---|
.. | .. |
---|
1472 | 1467 | } |
---|
1473 | 1468 | |
---|
1474 | 1469 | static const struct tegra_xusb_port_ops tegra124_hsic_port_ops = { |
---|
| 1470 | + .release = tegra_xusb_hsic_port_release, |
---|
1475 | 1471 | .enable = tegra124_hsic_port_enable, |
---|
1476 | 1472 | .disable = tegra124_hsic_port_disable, |
---|
1477 | 1473 | .map = tegra124_hsic_port_map, |
---|
.. | .. |
---|
1655 | 1651 | } |
---|
1656 | 1652 | |
---|
1657 | 1653 | static const struct tegra_xusb_port_ops tegra124_usb3_port_ops = { |
---|
| 1654 | + .release = tegra_xusb_usb3_port_release, |
---|
| 1655 | + .remove = tegra_xusb_usb3_port_remove, |
---|
1658 | 1656 | .enable = tegra124_usb3_port_enable, |
---|
1659 | 1657 | .disable = tegra124_usb3_port_disable, |
---|
1660 | 1658 | .map = tegra124_usb3_port_map, |
---|
.. | .. |
---|
1721 | 1719 | .hsic_set_idle = tegra124_hsic_set_idle, |
---|
1722 | 1720 | }; |
---|
1723 | 1721 | |
---|
| 1722 | +static const char * const tegra124_xusb_padctl_supply_names[] = { |
---|
| 1723 | + "avdd-pll-utmip", |
---|
| 1724 | + "avdd-pll-erefe", |
---|
| 1725 | + "avdd-pex-pll", |
---|
| 1726 | + "hvdd-pex-pll-e", |
---|
| 1727 | +}; |
---|
| 1728 | + |
---|
1724 | 1729 | const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc = { |
---|
1725 | 1730 | .num_pads = ARRAY_SIZE(tegra124_pads), |
---|
1726 | 1731 | .pads = tegra124_pads, |
---|
.. | .. |
---|
1743 | 1748 | }, |
---|
1744 | 1749 | }, |
---|
1745 | 1750 | .ops = &tegra124_xusb_padctl_ops, |
---|
| 1751 | + .supply_names = tegra124_xusb_padctl_supply_names, |
---|
| 1752 | + .num_supplies = ARRAY_SIZE(tegra124_xusb_padctl_supply_names), |
---|
1746 | 1753 | }; |
---|
1747 | 1754 | EXPORT_SYMBOL_GPL(tegra124_xusb_padctl_soc); |
---|
1748 | 1755 | |
---|