Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-block.git] / drivers / staging / greybus / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 if GREYBUS
3
4 config GREYBUS_AUDIO
5         tristate "Greybus Audio Class driver"
6         depends on SOUND
7         ---help---
8           Select this option if you have a device that follows the
9           Greybus Audio Class specification.
10
11           To compile this code as a module, chose M here: the module
12           will be called gb-audio.ko
13
14 config GREYBUS_BOOTROM
15         tristate "Greybus Bootrom Class driver"
16         ---help---
17           Select this option if you have a device that follows the
18           Greybus Bootrom Class specification.
19
20           To compile this code as a module, chose M here: the module
21           will be called gb-bootrom.ko
22
23 config GREYBUS_CAMERA
24         tristate "Greybus Camera Class driver"
25         depends on MEDIA_SUPPORT && LEDS_CLASS_FLASH && BROKEN
26         ---help---
27           Select this option if you have a device that follows the
28           Greybus Camera Class specification.
29
30           To compile this code as a module, chose M here: the module
31           will be called gb-camera.ko
32
33 config GREYBUS_FIRMWARE
34         tristate "Greybus Firmware Download Class driver"
35         depends on SPI
36         ---help---
37           Select this option if you have a device that follows the
38           Greybus Firmware Download Class specification.
39
40           To compile this code as a module, chose M here: the module
41           will be called gb-firmware.ko
42
43 config GREYBUS_HID
44         tristate "Greybus HID Class driver"
45         depends on HID && INPUT
46         ---help---
47           Select this option if you have a device that follows the
48           Greybus HID Class specification.
49
50           To compile this code as a module, chose M here: the module
51           will be called gb-hid.ko
52
53 config GREYBUS_LIGHT
54         tristate "Greybus LED Class driver"
55         depends on LEDS_CLASS
56         ---help---
57           Select this option if you have a device that follows the
58           Greybus LED Class specification.
59
60           To compile this code as a module, chose M here: the module
61           will be called gb-light.ko
62
63 config GREYBUS_LOG
64         tristate "Greybus Debug Log Class driver"
65         ---help---
66           Select this option if you have a device that follows the
67           Greybus Debug Log Class specification.
68
69           To compile this code as a module, chose M here: the module
70           will be called gb-log.ko
71
72 config GREYBUS_LOOPBACK
73         tristate "Greybus Loopback Class driver"
74         ---help---
75           Select this option if you have a device that follows the
76           Greybus Debug Log Class specification.
77
78           To compile this code as a module, chose M here: the module
79           will be called gb-log.ko
80
81 config GREYBUS_POWER
82         tristate "Greybus Powersupply Class driver"
83         depends on POWER_SUPPLY
84         ---help---
85           Select this option if you have a device that follows the
86           Greybus Powersupply Class specification.
87
88           To compile this code as a module, chose M here: the module
89           will be called gb-power-supply.ko
90
91 config GREYBUS_RAW
92         tristate "Greybus Raw Class driver"
93         ---help---
94           Select this option if you have a device that follows the
95           Greybus Raw Class specification.
96
97           To compile this code as a module, chose M here: the module
98           will be called gb-raw.ko
99
100 config GREYBUS_VIBRATOR
101         tristate "Greybus Vibrator Motor Class driver"
102         ---help---
103           Select this option if you have a device that follows the
104           Greybus Vibrator Motor Class specification.
105
106           To compile this code as a module, chose M here: the module
107           will be called gb-vibrator.ko
108
109 menuconfig GREYBUS_BRIDGED_PHY
110         tristate "Greybus Bridged PHY Class drivers"
111         ---help---
112           Select this option to pick from a variety of Greybus Bridged
113           PHY class drivers.  These drivers emulate a number of
114           different "traditional" busses by tunneling them over Greybus.
115           Examples of this include serial, SPI, USB, and others.
116
117           To compile this code as a module, chose M here: the module
118           will be called gb-phy.ko
119
120 if GREYBUS_BRIDGED_PHY
121
122 config GREYBUS_GPIO
123         tristate "Greybus GPIO Bridged PHY driver"
124         depends on GPIOLIB
125         select GPIOLIB_IRQCHIP
126         ---help---
127           Select this option if you have a device that follows the
128           Greybus GPIO Bridged PHY Class specification.
129
130           To compile this code as a module, chose M here: the module
131           will be called gb-gpio.ko
132
133 config GREYBUS_I2C
134         tristate "Greybus I2C Bridged PHY driver"
135         depends on I2C
136         ---help---
137           Select this option if you have a device that follows the
138           Greybus I2C Bridged PHY Class specification.
139
140           To compile this code as a module, chose M here: the module
141           will be called gb-i2c.ko
142
143 config GREYBUS_PWM
144         tristate "Greybus PWM Bridged PHY driver"
145         depends on PWM
146         ---help---
147           Select this option if you have a device that follows the
148           Greybus PWM Bridged PHY Class specification.
149
150           To compile this code as a module, chose M here: the module
151           will be called gb-pwm.ko
152
153 config GREYBUS_SDIO
154         tristate "Greybus SDIO Bridged PHY driver"
155         depends on MMC
156         ---help---
157           Select this option if you have a device that follows the
158           Greybus SDIO Bridged PHY Class specification.
159
160           To compile this code as a module, chose M here: the module
161           will be called gb-sdio.ko
162
163 config GREYBUS_SPI
164         tristate "Greybus SPI Bridged PHY driver"
165         depends on SPI
166         ---help---
167           Select this option if you have a device that follows the
168           Greybus SPI Bridged PHY Class specification.
169
170           To compile this code as a module, chose M here: the module
171           will be called gb-spi.ko
172
173 config GREYBUS_UART
174         tristate "Greybus UART Bridged PHY driver"
175         depends on TTY
176         ---help---
177           Select this option if you have a device that follows the
178           Greybus UART Bridged PHY Class specification.
179
180           To compile this code as a module, chose M here: the module
181           will be called gb-uart.ko
182
183 config GREYBUS_USB
184         tristate "Greybus USB Host Bridged PHY driver"
185         depends on USB
186         ---help---
187           Select this option if you have a device that follows the
188           Greybus USB Host Bridged PHY Class specification.
189
190           To compile this code as a module, chose M here: the module
191           will be called gb-usb.ko
192
193 endif   # GREYBUS_BRIDGED_PHY
194
195 config GREYBUS_ARCHE
196         tristate "Greybus Arche Platform driver"
197         depends on USB_HSIC_USB3613 || COMPILE_TEST
198         ---help---
199           Select this option if you have an Arche device.
200
201           To compile this code as a module, chose M here: the module
202           will be called gb-arche.ko
203
204 endif   # GREYBUS