usb: dwc3: add lpm erratum support
[deliverable/linux.git] / drivers / usb / dwc3 / platform_data.h
CommitLineData
6462cbd5
FB
1/**
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
f7e846f0 20#include <linux/usb/ch9.h>
a45c82b8 21#include <linux/usb/otg.h>
f7e846f0 22
6462cbd5 23struct dwc3_platform_data {
f7e846f0 24 enum usb_device_speed maximum_speed;
a45c82b8 25 enum usb_dr_mode dr_mode;
6462cbd5 26 bool tx_fifo_resize;
3b81221a 27
80caf7d2
HR
28 u8 lpm_nyet_threshold;
29
3b81221a 30 unsigned disable_scramble_quirk:1;
80caf7d2 31 unsigned has_lpm_erratum:1;
6462cbd5 32};
This page took 0.106199 seconds and 5 git commands to generate.