History

usb: udc: pxa: remove unused platform_data

None of the remaining boards put useful data into the platform_data structures, so effectively this only works with DT based probing. Remove all code that references this data, to stop using the legacy gpiolib interfaces. The pxa27x version already supports gpio descriptors, while the pxa25x version now does it the same way.

Arnd Bergmann committed 6 months ago

Commit 25bd55f1 parent 0677dea8 files · +21 −92Browse files

Showing the changes to include/linux/platform_data (1 of 8 files). Show all

Unified · Split

include/linux/platform_data/pxa2xx_udc.h+0−15
@@ -10,21 +10,6 @@ · 9 unmodified lines
1010 #ifndef PXA2XX_UDC_H
1111 #define PXA2XX_UDC_H
1212
13−struct pxa2xx_udc_mach_info {
14− int (*udc_is_connected)(void); /* do we see host? */
15− void (*udc_command)(int cmd);
16−#define PXA2XX_UDC_CMD_CONNECT 0 /* let host see us */
17−#define PXA2XX_UDC_CMD_DISCONNECT 1 /* so host won't see us */
18−
19− /* Boards following the design guidelines in the developer's manual,
20− * with on-chip GPIOs not Lubbock's weird hardware, can have a sane
21− * VBUS IRQ and omit the methods above. Store the GPIO number
22− * here. Note that sometimes the signals go through inverters...
23− */
24− bool gpio_pullup_inverted;
25− int gpio_pullup; /* high == pullup activated */
26−};
27−
2813 #ifdef CONFIG_PXA27x
2914 extern void pxa27x_clear_otgph(void);
3015 #else