mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
ec558bbfea
Add the Greybus host driver for BeaglePlay board by BeagleBoard.org. The current greybus setup involves running SVC in a user-space application (GBridge) and using netlink to communicate with kernel space. GBridge itself uses wpanusb kernel driver, so the greybus messages travel from kernel space (gb_netlink) to user-space (GBridge) and then back to kernel space (wpanusb) before reaching CC1352. This driver directly communicates with CC1352 (running SVC Zephyr application). Thus, it simplifies the complete greybus setup eliminating user-space GBridge. This driver is responsible for the following: - Start SVC (CC1352) on driver load. - Send/Receive Greybus messages to/from CC1352 using HDLC over UART. - Print Logs from CC1352. - Stop SVC (CC1352) on driver load. Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com> Link: https://lore.kernel.org/r/20231017101116.178041-3-ayushdevel1325@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
menuconfig GREYBUS
|
|
tristate "Greybus support"
|
|
depends on SYSFS
|
|
help
|
|
This option enables the Greybus driver core. Greybus is a
|
|
hardware protocol that was designed to provide Unipro with a
|
|
sane application layer. It was originally designed for the
|
|
ARA project, a module phone system, but has shown up in other
|
|
phones, and can be tunneled over other busses in order to
|
|
control hardware devices.
|
|
|
|
Say Y here to enable support for these types of drivers.
|
|
|
|
To compile this code as a module, choose M here: the module
|
|
will be called greybus.ko
|
|
|
|
if GREYBUS
|
|
|
|
config GREYBUS_BEAGLEPLAY
|
|
tristate "Greybus BeaglePlay driver"
|
|
depends on SERIAL_DEV_BUS
|
|
help
|
|
Select this option if you have a BeaglePlay where CC1352
|
|
co-processor acts as Greybus SVC.
|
|
|
|
To compile this code as a module, chose M here: the module
|
|
will be called gb-beagleplay.ko
|
|
|
|
config GREYBUS_ES2
|
|
tristate "Greybus ES3 USB host controller"
|
|
depends on USB
|
|
help
|
|
Select this option if you have a Toshiba ES3 USB device that
|
|
acts as a Greybus "host controller". This device is a bridge
|
|
from a USB device to a Unipro network.
|
|
|
|
To compile this code as a module, choose M here: the module
|
|
will be called gb-es2.ko
|
|
|
|
endif # GREYBUS
|
|
|