History

usb: gadget: remove s3c24xx drivers

The s3c24xx platform is gone, so both the udc and hsudc drivers can be removed as well.

Arnd Bergmann committed 4 years ago

Commit 1fa774f1 parent 7d1ec118 files · +0 −3637Browse files

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

Unified · Split

2 files
  1. include/linux/platform_data/s3c-hsudc.h +0 −33
  2. include/linux/platform_data/usb-s3c2410_udc.h +0 −33
include/linux/platform_data/s3c-hsudc.h+0−33
@@ -1,33 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * S3C24XX USB 2.0 High-speed USB controller gadget driver
4 *
5 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 *
8 * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints.
9 * Each endpoint can be configured as either in or out endpoint. Endpoints
10 * can be configured for Bulk or Interrupt transfer mode.
11*/
12
13#ifndef __LINUX_USB_S3C_HSUDC_H
14#define __LINUX_USB_S3C_HSUDC_H
15
16/**
17 * s3c24xx_hsudc_platdata - Platform data for USB High-Speed gadget controller.
18 * @epnum: Number of endpoints to be instantiated by the controller driver.
19 * @gpio_init: Platform specific USB related GPIO initialization.
20 * @gpio_uninit: Platform specific USB releted GPIO uninitialzation.
21 *
22 * Representation of platform data for the S3C24XX USB 2.0 High Speed gadget
23 * controllers.
24 */
25struct s3c24xx_hsudc_platdata {
26 unsigned int epnum;
27 void (*gpio_init)(void);
28 void (*gpio_uninit)(void);
29 void (*phy_init)(void);
30 void (*phy_uninit)(void);
31};
32
33#endif /* __LINUX_USB_S3C_HSUDC_H */
include/linux/platform_data/usb-s3c2410_udc.h+0−33
@@ -1,33 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/* arch/arm/plat-samsung/include/plat/udc.h
3 *
4 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
5 *
6 * Changelog:
7 * 14-Mar-2005 RTP Created file
8 * 02-Aug-2005 RTP File rename
9 * 07-Sep-2005 BJD Minor cleanups, changed cmd to enum
10 * 18-Jan-2007 HMW Add per-platform vbus_draw function
11*/
12
13#ifndef __ASM_ARM_ARCH_UDC_H
14#define __ASM_ARM_ARCH_UDC_H
15
16enum s3c2410_udc_cmd_e {
17 S3C2410_UDC_P_ENABLE = 1, /* Pull-up enable */
18 S3C2410_UDC_P_DISABLE = 2, /* Pull-up disable */
19 S3C2410_UDC_P_RESET = 3, /* UDC reset, in case of */
20};
21
22struct s3c2410_udc_mach_info {
23 void (*udc_command)(enum s3c2410_udc_cmd_e);
24 void (*vbus_draw)(unsigned int ma);
25};
26
27extern void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *);
28
29struct s3c24xx_hsudc_platdata;
30
31extern void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd);
32
33#endif /* __ASM_ARM_ARCH_UDC_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t