forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/staging/greybus/Kconfig
....@@ -1,45 +1,31 @@
1
-menuconfig GREYBUS
2
- tristate "Greybus support"
3
- depends on SYSFS
4
- ---help---
5
- This option enables the Greybus driver core. Greybus is an
6
- hardware protocol that was designed to provide Unipro with a
7
- sane application layer. It was originally designed for the
8
- ARA project, a module phone system, but has shown up in other
9
- phones, and can be tunneled over other busses in order to
10
- control hardware devices.
11
-
12
- Say Y here to enable support for these types of drivers.
13
-
14
- To compile this code as a module, chose M here: the module
15
- will be called greybus.ko
16
-
1
+# SPDX-License-Identifier: GPL-2.0
172 if GREYBUS
18
-
19
-config GREYBUS_ES2
20
- tristate "Greybus ES3 USB host controller"
21
- depends on USB
22
- ---help---
23
- Select this option if you have a Toshiba ES3 USB device that
24
- acts as a Greybus "host controller". This device is a bridge
25
- from a USB device to a Unipro network.
26
-
27
- To compile this code as a module, chose M here: the module
28
- will be called gb-es2.ko
293
304 config GREYBUS_AUDIO
315 tristate "Greybus Audio Class driver"
32
- depends on SOUND
33
- ---help---
6
+ depends on SOUND && SND_SOC
7
+ help
348 Select this option if you have a device that follows the
359 Greybus Audio Class specification.
3610
3711 To compile this code as a module, chose M here: the module
3812 will be called gb-audio.ko
3913
14
+config GREYBUS_AUDIO_APB_CODEC
15
+ tristate "Greybus APBridge Audio codec driver"
16
+ depends on SND_SOC && GREYBUS_AUDIO
17
+ help
18
+ Select this option if you have a Toshiba APB device that has I2S
19
+ ports and acts as a Greybus "Dummy codec". This device is a
20
+ bridge from an APB-I2S port to a Unipro network.
21
+
22
+ To compile this code as a module, chose M here: the module
23
+ will be called gb-audio-codec.ko
24
+
25
+
4026 config GREYBUS_BOOTROM
4127 tristate "Greybus Bootrom Class driver"
42
- ---help---
28
+ help
4329 Select this option if you have a device that follows the
4430 Greybus Bootrom Class specification.
4531
....@@ -49,7 +35,7 @@
4935 config GREYBUS_CAMERA
5036 tristate "Greybus Camera Class driver"
5137 depends on MEDIA_SUPPORT && LEDS_CLASS_FLASH && BROKEN
52
- ---help---
38
+ help
5339 Select this option if you have a device that follows the
5440 Greybus Camera Class specification.
5541
....@@ -59,7 +45,7 @@
5945 config GREYBUS_FIRMWARE
6046 tristate "Greybus Firmware Download Class driver"
6147 depends on SPI
62
- ---help---
48
+ help
6349 Select this option if you have a device that follows the
6450 Greybus Firmware Download Class specification.
6551
....@@ -69,7 +55,7 @@
6955 config GREYBUS_HID
7056 tristate "Greybus HID Class driver"
7157 depends on HID && INPUT
72
- ---help---
58
+ help
7359 Select this option if you have a device that follows the
7460 Greybus HID Class specification.
7561
....@@ -79,7 +65,7 @@
7965 config GREYBUS_LIGHT
8066 tristate "Greybus LED Class driver"
8167 depends on LEDS_CLASS
82
- ---help---
68
+ help
8369 Select this option if you have a device that follows the
8470 Greybus LED Class specification.
8571
....@@ -88,7 +74,7 @@
8874
8975 config GREYBUS_LOG
9076 tristate "Greybus Debug Log Class driver"
91
- ---help---
77
+ help
9278 Select this option if you have a device that follows the
9379 Greybus Debug Log Class specification.
9480
....@@ -97,7 +83,7 @@
9783
9884 config GREYBUS_LOOPBACK
9985 tristate "Greybus Loopback Class driver"
100
- ---help---
86
+ help
10187 Select this option if you have a device that follows the
10288 Greybus Debug Log Class specification.
10389
....@@ -107,7 +93,7 @@
10793 config GREYBUS_POWER
10894 tristate "Greybus Powersupply Class driver"
10995 depends on POWER_SUPPLY
110
- ---help---
96
+ help
11197 Select this option if you have a device that follows the
11298 Greybus Powersupply Class specification.
11399
....@@ -116,7 +102,7 @@
116102
117103 config GREYBUS_RAW
118104 tristate "Greybus Raw Class driver"
119
- ---help---
105
+ help
120106 Select this option if you have a device that follows the
121107 Greybus Raw Class specification.
122108
....@@ -125,7 +111,7 @@
125111
126112 config GREYBUS_VIBRATOR
127113 tristate "Greybus Vibrator Motor Class driver"
128
- ---help---
114
+ help
129115 Select this option if you have a device that follows the
130116 Greybus Vibrator Motor Class specification.
131117
....@@ -134,7 +120,7 @@
134120
135121 menuconfig GREYBUS_BRIDGED_PHY
136122 tristate "Greybus Bridged PHY Class drivers"
137
- ---help---
123
+ help
138124 Select this option to pick from a variety of Greybus Bridged
139125 PHY class drivers. These drivers emulate a number of
140126 different "traditional" busses by tunneling them over Greybus.
....@@ -148,7 +134,8 @@
148134 config GREYBUS_GPIO
149135 tristate "Greybus GPIO Bridged PHY driver"
150136 depends on GPIOLIB
151
- ---help---
137
+ select GPIOLIB_IRQCHIP
138
+ help
152139 Select this option if you have a device that follows the
153140 Greybus GPIO Bridged PHY Class specification.
154141
....@@ -158,7 +145,7 @@
158145 config GREYBUS_I2C
159146 tristate "Greybus I2C Bridged PHY driver"
160147 depends on I2C
161
- ---help---
148
+ help
162149 Select this option if you have a device that follows the
163150 Greybus I2C Bridged PHY Class specification.
164151
....@@ -168,7 +155,7 @@
168155 config GREYBUS_PWM
169156 tristate "Greybus PWM Bridged PHY driver"
170157 depends on PWM
171
- ---help---
158
+ help
172159 Select this option if you have a device that follows the
173160 Greybus PWM Bridged PHY Class specification.
174161
....@@ -178,7 +165,7 @@
178165 config GREYBUS_SDIO
179166 tristate "Greybus SDIO Bridged PHY driver"
180167 depends on MMC
181
- ---help---
168
+ help
182169 Select this option if you have a device that follows the
183170 Greybus SDIO Bridged PHY Class specification.
184171
....@@ -188,7 +175,7 @@
188175 config GREYBUS_SPI
189176 tristate "Greybus SPI Bridged PHY driver"
190177 depends on SPI
191
- ---help---
178
+ help
192179 Select this option if you have a device that follows the
193180 Greybus SPI Bridged PHY Class specification.
194181
....@@ -198,7 +185,7 @@
198185 config GREYBUS_UART
199186 tristate "Greybus UART Bridged PHY driver"
200187 depends on TTY
201
- ---help---
188
+ help
202189 Select this option if you have a device that follows the
203190 Greybus UART Bridged PHY Class specification.
204191
....@@ -208,7 +195,7 @@
208195 config GREYBUS_USB
209196 tristate "Greybus USB Host Bridged PHY driver"
210197 depends on USB
211
- ---help---
198
+ help
212199 Select this option if you have a device that follows the
213200 Greybus USB Host Bridged PHY Class specification.
214201
....@@ -220,7 +207,7 @@
220207 config GREYBUS_ARCHE
221208 tristate "Greybus Arche Platform driver"
222209 depends on USB_HSIC_USB3613 || COMPILE_TEST
223
- ---help---
210
+ help
224211 Select this option if you have an Arche device.
225212
226213 To compile this code as a module, chose M here: the module