diff options
Diffstat (limited to 'include/linux/usb/renesas_usbhs.h')
-rw-r--r-- | include/linux/usb/renesas_usbhs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h index 67102f3d59d4..53924f8e840c 100644 --- a/include/linux/usb/renesas_usbhs.h +++ b/include/linux/usb/renesas_usbhs.h | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | #ifndef RENESAS_USB_H | 18 | #ifndef RENESAS_USB_H |
19 | #define RENESAS_USB_H | 19 | #define RENESAS_USB_H |
20 | #include <linux/notifier.h> | ||
20 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
21 | #include <linux/usb/ch9.h> | 22 | #include <linux/usb/ch9.h> |
22 | 23 | ||
@@ -98,6 +99,13 @@ struct renesas_usbhs_platform_callback { | |||
98 | * VBUS control is needed for Host | 99 | * VBUS control is needed for Host |
99 | */ | 100 | */ |
100 | int (*set_vbus)(struct platform_device *pdev, int enable); | 101 | int (*set_vbus)(struct platform_device *pdev, int enable); |
102 | |||
103 | /* | ||
104 | * option: | ||
105 | * extcon notifier to set host/peripheral mode. | ||
106 | */ | ||
107 | int (*notifier)(struct notifier_block *nb, unsigned long event, | ||
108 | void *data); | ||
101 | }; | 109 | }; |
102 | 110 | ||
103 | /* | 111 | /* |
@@ -187,6 +195,7 @@ struct renesas_usbhs_driver_param { | |||
187 | #define USBHS_TYPE_RCAR_GEN2 1 | 195 | #define USBHS_TYPE_RCAR_GEN2 1 |
188 | #define USBHS_TYPE_RCAR_GEN3 2 | 196 | #define USBHS_TYPE_RCAR_GEN3 2 |
189 | #define USBHS_TYPE_RCAR_GEN3_WITH_PLL 3 | 197 | #define USBHS_TYPE_RCAR_GEN3_WITH_PLL 3 |
198 | #define USBHS_TYPE_RZA1 4 | ||
190 | 199 | ||
191 | /* | 200 | /* |
192 | * option: | 201 | * option: |