blob: 9209d025597b50ee3e3fee3f2dc79073cd4f1a42 [file] [log] [blame]
Felipe Balbi6462cbd2013-06-30 14:19:33 +03001/**
2 * platform_data.h - USB DWC3 Platform Data Support
3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
5 * Author: Felipe Balbi <balbi@ti.com>
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 of
9 * the License as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
Felipe Balbif7e846f2013-06-30 14:29:51 +030020#include <linux/usb/ch9.h>
Ruchika Kharwara45c82b82013-07-06 07:52:49 -050021#include <linux/usb/otg.h>
Felipe Balbif7e846f2013-06-30 14:29:51 +030022
Felipe Balbi6462cbd2013-06-30 14:19:33 +030023struct dwc3_platform_data {
Felipe Balbif7e846f2013-06-30 14:29:51 +030024 enum usb_device_speed maximum_speed;
Ruchika Kharwara45c82b82013-07-06 07:52:49 -050025 enum usb_dr_mode dr_mode;
Felipe Balbi6462cbd2013-06-30 14:19:33 +030026 bool tx_fifo_resize;
Huang Rui3b812212014-10-28 19:54:25 +080027
28 unsigned disable_scramble_quirk:1;
Felipe Balbi6462cbd2013-06-30 14:19:33 +030029};