diff options
| author | Thierry Reding <treding@nvidia.com> | 2016-04-29 16:47:22 +0200 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2016-04-29 16:47:22 +0200 |
| commit | 4000b00f3ca0be65ea947610f7eb8a09f6052756 (patch) | |
| tree | d4b79b1156c97aea990a9a65d4114cf7abe8082c /include/linux/phy/tegra | |
| parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
| parent | 87d66f280672800c9c2ad1ce3b7a993ce1e04769 (diff) | |
Merge branch 'for-4.7/phy' into for-4.7/pci
Diffstat (limited to 'include/linux/phy/tegra')
| -rw-r--r-- | include/linux/phy/tegra/xusb.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/phy/tegra/xusb.h b/include/linux/phy/tegra/xusb.h new file mode 100644 index 000000000000..8e1a57a78d9f --- /dev/null +++ b/include/linux/phy/tegra/xusb.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +#ifndef PHY_TEGRA_XUSB_H +#define PHY_TEGRA_XUSB_H + +struct tegra_xusb_padctl; +struct device; + +struct tegra_xusb_padctl *tegra_xusb_padctl_get(struct device *dev); +void tegra_xusb_padctl_put(struct tegra_xusb_padctl *padctl); + +int tegra_xusb_padctl_usb3_save_context(struct tegra_xusb_padctl *padctl, + unsigned int port); +int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl, + unsigned int port, bool idle); +int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl, + unsigned int port, bool enable); + +#endif /* PHY_TEGRA_XUSB_H */ |
