| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * phy-da8xx-usb - TI DaVinci DA8xx USB PHY driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2016 David Lechner <david@lechnology.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; version 2 of the License. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | 6 | */ |
|---|
| 15 | 7 | |
|---|
| 16 | 8 | #include <linux/clk.h> |
|---|
| .. | .. |
|---|
| 93 | 85 | return 0; |
|---|
| 94 | 86 | } |
|---|
| 95 | 87 | |
|---|
| 96 | | -static int da8xx_usb20_phy_set_mode(struct phy *phy, enum phy_mode mode) |
|---|
| 88 | +static int da8xx_usb20_phy_set_mode(struct phy *phy, |
|---|
| 89 | + enum phy_mode mode, int submode) |
|---|
| 97 | 90 | { |
|---|
| 98 | 91 | struct da8xx_usb_phy *d_phy = phy_get_drvdata(phy); |
|---|
| 99 | 92 | u32 val; |
|---|