Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * board initialization should put one of these into dev->platform_data |
| 4 | * and place the isp1760 onto platform_bus named "isp1760-hcd". |
| 5 | */ |
| 6 | |
| 7 | #ifndef __LINUX_USB_ISP1760_H |
| 8 | #define __LINUX_USB_ISP1760_H |
| 9 | |
| 10 | struct isp1760_platform_data { |
| 11 | unsigned is_isp1761:1; /* Chip is ISP1761 */ |
| 12 | unsigned bus_width_16:1; /* 16/32-bit data bus width */ |
| 13 | unsigned port1_otg:1; /* Port 1 supports OTG */ |
| 14 | unsigned analog_oc:1; /* Analog overcurrent */ |
| 15 | unsigned dack_polarity_high:1; /* DACK active high */ |
| 16 | unsigned dreq_polarity_high:1; /* DREQ active high */ |
| 17 | }; |
| 18 | |
| 19 | #endif /* __LINUX_USB_ISP1760_H */ |