]> Git Repo - J-linux.git/blob - drivers/usb/misc/onboard_usb_hub.h
Merge tag 'drm-intel-gt-next-2022-11-03' of git://anongit.freedesktop.org/drm/drm...
[J-linux.git] / drivers / usb / misc / onboard_usb_hub.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2022, Google LLC
4  */
5
6 #ifndef _USB_MISC_ONBOARD_USB_HUB_H
7 #define _USB_MISC_ONBOARD_USB_HUB_H
8
9 struct onboard_hub_pdata {
10         unsigned long reset_us;         /* reset pulse width in us */
11 };
12
13 static const struct onboard_hub_pdata microchip_usb424_data = {
14         .reset_us = 1,
15 };
16
17 static const struct onboard_hub_pdata realtek_rts5411_data = {
18         .reset_us = 0,
19 };
20
21 static const struct onboard_hub_pdata ti_tusb8041_data = {
22         .reset_us = 3000,
23 };
24
25 static const struct of_device_id onboard_hub_match[] = {
26         { .compatible = "usb424,2514", .data = &microchip_usb424_data, },
27         { .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
28         { .compatible = "usb451,8142", .data = &ti_tusb8041_data, },
29         { .compatible = "usbbda,411", .data = &realtek_rts5411_data, },
30         { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, },
31         { .compatible = "usbbda,414", .data = &realtek_rts5411_data, },
32         { .compatible = "usbbda,5414", .data = &realtek_rts5411_data, },
33         {}
34 };
35
36 #endif /* _USB_MISC_ONBOARD_USB_HUB_H */
This page took 0.027495 seconds and 4 git commands to generate.