summaryrefstree
path: root/kernel/drivers/usb/notify/Kconfig
blob: f540853a47c21c598c4bc6fac0c7a7efdc3065d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#
# USB notify configuration
#

comment "USB Notify features"

config USB_HOST_NOTIFY
	bool "USB Host notify Driver"
	depends on USB_NOTIFY_LAYER
	help
	 Android framework needs uevents for usb host operation.
	 Host notify Driver serves uevent format
	 that is used by usb host or otg.
	 The uevent include host connect, disconnect, source, sink.

config USB_NOTIFY_LAYER
	bool "USB notify layer"
	depends on USB
	help
	 Added usb notify layer on gadget,host,otg drivers.
	 The usb notify layer controls otg mode and vbus draw
	 and vbus detect irq.
	 It is made by samsung.
	 
config USB_NOTIFY_LAYER_MODULE
	tristate "USB notify layer module"
	depends on USB
	help
	 this feature is for module build
	 If this feature is "m", KO object will be make
	 need modprobe for loading
	 It is made by samsung

config USB_NOTIFIER
	tristate "USB notifier"
	depends on USB_NOTIFY_LAYER
	help
	 Added platform driver to call usb notify.
	 The usb_notifier.c can be fixed for each models.
	 It is not common code.
	 It may be different for each ap vendor.

config USB_DEBUG_DETAILED_LOG
	bool "USB detailed log for debugging"
	depends on USB
	help
	 Add detailed log for debugging.
	 It is made by samsung.
	 It is feature for usb host class drivers.
	 ..

config USB_STORAGE_DETECT
	bool "USB storage detect function"
	depends on USB && SCSI
	depends on USB_STORAGE
	help
	 This feature enables to detect inserting or removing
	 sd card in sd reader device.
	 This must to be defined in /usb/storage/Kconfig
	 directory originally. But this feature is defined
	 in this Kconfig to gather samsung feature about usb host.

config USB_HMT_SAMSUNG_INPUT
	bool "USB HMT inputs for samsung hmt devices"
	depends on HID
	help
	 Some samsung smart phones support gear vr.
	 The samsung gear vr need some special hid input codes.
	 This feature enables special hid input codes.
	 ..

config USB_EXTERNAL_NOTIFY
	bool "USB external notify"
	depends on USB_NOTIFY_LAYER
	help
	 Added usb external notify.
	 The usb external notify broadcast special situation
	 to muic and charger.
	 And broadcasting to out of usb notify layer.

config USB_NOTIFY_PROC_LOG
	bool "USB proc log"
	depends on USB_NOTIFY_LAYER
	depends on USB_HOST_NOTIFY
	help
	 Added proc usblog.
	 The USB STATE, The USB MODE, Cable event
	 are saved in usblog heap.
	 It is remained in dumpdate.

config USB_HOST_SAMSUNG_FEATURE
	bool "USB Host Samsung Feature"
	depends on USB
	help
	 USB Host Samsung Feature.
	 It is different from LSI BSP code.
	 If samsung engineer changes kernel code,
	 use this feature,

config USB_HW_PARAM
    	bool "USB H/W Parameter"
    	depends on USB_NOTIFY_LAYER
    	help
	 Added USB H/W Parameter for DQA Agent.
	 You need more works for USB PDIC driver.
	 It is made by samsung.
	 ..

config USB_INTERFACE_LPM_LIST
	bool "USB interface class lpm Feature"
	depends on USB
	help
	 The device needs to support L1 for audio class devices
	 But L1 mode has some issues.
	 So we will apply L1 mode to the device that has specific interface classes
	 Now, It is only enabled for audio class.

config USB_CCIC_NOTIFIER_USING_QC
	bool "USB CCIC Notifier using QC PMIC"
	depends on USB_NOTIFY_LAYER
	help
	 When USB type C model uses QC PMIC without IFPMIC,
	 add to get notification from QC PMIC.
	 ..
	 ..

config USB_AUDIO_ENHANCED_DETECT_TIME
	bool "USB audio enhanced detect time"
	depends on USB_NOTIFY_LAYER
	depends on !SEC_FACTORY
	help
	 Added uevent for usb audio device(bundle)
	 uevent includes path, card number, vid, pid
	 The usb framework gets this uevent.
	 It is made by samsung.

config USB_HOST_CERTI
	bool "USB Embedded host certification"
	depends on USB_NOTIFY_LAYER
	depends on !SEC_FACTORY
	help
	 Added uevent for usb embedded host certification
	 uevent includes information of notification
	 The usb framework gets this uevent.
	 It is made by samsung.

config GKI_USB
	bool "Test feature for GKI"
	help
	 If GKI_USB feature is enabled, build for GKI TEST 

config GKI_USB_BRINGUP_QC
	bool "Test feature for GKI in Qualcomm"
	help
	 If GKI_USB feature is enabled in Qualcomm, build for GKI TEST