mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08: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>
29 lines
462 B
Makefile
29 lines
462 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Greybus core
|
|
greybus-y := core.o \
|
|
debugfs.o \
|
|
hd.o \
|
|
manifest.o \
|
|
module.o \
|
|
interface.o \
|
|
bundle.o \
|
|
connection.o \
|
|
control.o \
|
|
svc.o \
|
|
svc_watchdog.o \
|
|
operation.o
|
|
|
|
obj-$(CONFIG_GREYBUS) += greybus.o
|
|
|
|
# needed for trace events
|
|
ccflags-y += -I$(src)
|
|
|
|
obj-$(CONFIG_GREYBUS_BEAGLEPLAY) += gb-beagleplay.o
|
|
|
|
# Greybus Host controller drivers
|
|
gb-es2-y := es2.o
|
|
|
|
obj-$(CONFIG_GREYBUS_ES2) += gb-es2.o
|
|
|
|
|