• Ayush Singh's avatar
    greybus: Add BeaglePlay Linux Driver · ec558bbf
    Ayush Singh authored
    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: default avatarAyush Singh <ayushdevel1325@gmail.com>
    Link: https://lore.kernel.org/r/20231017101116.178041-3-ayushdevel1325@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ec558bbf
gb-beagleplay.c 11.5 KB