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