[PATCH V2 0/1] Make gb-beagleplay driver Greybus compliant

From: Ayush Singh
Date: Mon Dec 11 2023 - 01:54:31 EST


In beagleplay beagleconnect setup, the AP is not directly connected to
greybus nodes. The SVC and APBridge tasks are moved to cc1352
coprocessor. This means that there is a need to send cport information
between linux host and cc1352.

In the initial version of the driver (and the reference implementation
gbridge I was using), the greybus header pad bytes were being used.
However, this was a violation of greybus spec.

The following patchset creates a wrapper around greybus message to send
the cport information without using the pad bytes.

---
V2:
- Add more comments explaining the new greybus hdlc frame payload
- Remove msg len warnings. These checks are also performed by
`greybus_data_rcvd` and thus no need for it here.

V1: https://lists.linaro.org/archives/list/greybus-dev@xxxxxxxxxxxxxxxx/thread/Y3ELHKLKTP5TQZ5LYKCE6GHWMA3PUOTV/

Ayush Singh (1):
greybus: gb-beagleplay: Remove use of pad bytes

drivers/greybus/gb-beagleplay.c | 55 ++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 14 deletions(-)

--
2.43.0