This driver can be used in any Greybus setup where SVC and Linux Host
are connected over UART.
This driver has been tested on BeaglePlay by BeagleBoard.org. It communicates
with BeaglePlay CC1352 co-processor which serves as Greybus SVC. This
replaces the old setup with bcfserial, wpanusb and GBridge. This driver also
contains async HDLC code since communication with SVC take place over UART
using HDLC.
This patchset also introduces a compatible property for the UART that is
connected to CC1352 in BeaglePlay. I am not quite sure if it needs its
own DT Schema file under `Documentation/devicetree/bindings/serial`.
This driver has been created as a part of my Google Summer of Code 2023.
For more information, take a look at my blog.
I have made most of the changes requested in the first version of this
patch and simplified the code as well.
This patchset has been tested over `next-20230825`.
My GSoC23 Blog: https://programmershideaway.xyz/tags/gsoc23/
Zephyr Application: https://git.beagleboard.org/gsoc/greybus/cc1352-firmware
GitHub Branch: https://github.com/Ayush1325/linux/tree/gb-beagleplay
Video Demo: https://youtu.be/GVuIB7i5pjk
Ayush Singh (2):
dts: Add beaglecc1352 to devicetree
staging/greybus: Add BeaglePlay Linux Driver
MAINTAINERS | 5 +
.../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 +
drivers/staging/greybus/Kconfig | 9 +
drivers/staging/greybus/Makefile | 3 +
drivers/staging/greybus/gb-beagleplay.c | 493 ++++++++++++++++++
5 files changed, 514 insertions(+)
create mode 100644 drivers/staging/greybus/gb-beagleplay.c
--
2.41.0
This driver is for BeaglePlay by BeagleBoard.org. It communicates with
BeaglePlay CC1352 co-processor which serves as Greybus SVC [1]. This
replaces the old setup with bcfserial, wpanusb and GBridge.
This driver also contains async HDLC code since communication with
CC1352 take place over UART using HDLC.
Since this is my first driver, I expect there to be some mistakes, so
feel free to give feedback and point out things I might have missed or
might not be aware of.
This driver has been created as a part of my Google Summer of Code 2023.
For more information, take a look at my blog [2]
[1]: https://git.beagleboard.org/gsoc/greybus/cc1352-firmware
[2]: https://programmershideaway.xyz/tags/gsoc23/
Ayush Singh (4):
Add beagleplaygreybus to devicetree
Add beagleplay greybus driver
Add HDLC helper for beagleplay driver
Allow building beagleplay greybus driver
.../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 +
drivers/staging/greybus/Kconfig | 9 +
drivers/staging/greybus/Makefile | 5 +
.../greybus/beagleplay-greybus-driver.c | 264 ++++++++++++++++++
.../greybus/beagleplay-greybus-driver.h | 28 ++
drivers/staging/greybus/hdlc.c | 229 +++++++++++++++
drivers/staging/greybus/hdlc.h | 137 +++++++++
7 files changed, 676 insertions(+)
create mode 100644 drivers/staging/greybus/beagleplay-greybus-driver.c
create mode 100644 drivers/staging/greybus/beagleplay-greybus-driver.h
create mode 100644 drivers/staging/greybus/hdlc.c
create mode 100644 drivers/staging/greybus/hdlc.h
--
2.41.0
Hello everyone. This is my first patch to linux kernel. Once I get the
hang of this process, I will be sending patches form GSoC 2023 greybus
driver. Feel free to tell me if I am doing something wrong here
Ayush Singh (1):
Remove extra newline
drivers/greybus/es2.c | 1 -
1 file changed, 1 deletion(-)
--
2.41.0