linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/6] Introducing CPC support in Greybus
@ 2025-07-05  0:40 Damien Riégel
  2025-07-05  0:40 ` [RFC 1/6] greybus: move host controller drivers comment in Makefile Damien Riégel
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Damien Riégel @ 2025-07-05  0:40 UTC (permalink / raw)
  To: greybus-dev
  Cc: linux-kernel, linux-devel, Greg Kroah-Hartman, Alex Elder,
	Johan Hovold, Damien Riégel

Hi,


This patchset brings support for Silicon Labs' CPC protocol as transport
layer for Greybus. As an example, a SPI driver is added as physical
layer and everything is bundled as a big kernel module. In the future,
as we plan to support other physical layers like SDIO, CPC core will be
its own module, and each physical layer CPC driver will be its own
module as well.

CPC implements some of the features of Unipro that Greybus relies upon,
like reliable transmission. CPC takes care of detecting transmission
errors and retransmit frames if necessary. There's also a flow-control
feature, preventing sending messages to full cports.

In addition to the host device over SPI part, there's also a class
driver for a vendor protocol that enables Bluetooth on supported
devices. This is mostly there to open the discussion on how a new
protocol should be added to Greybus.


Damien Riégel (6):
  greybus: move host controller drivers comment in Makefile
  greybus: cpc: add core logic
  greybus: cpc: add SPI driver
  greybus: add API for async unidirectional transfer
  greybus: match device with bundle ID
  greybus: add class driver for Silabs Bluetooth

 MAINTAINERS                          |  12 +
 drivers/greybus/Kconfig              |   2 +
 drivers/greybus/Makefile             |   4 +-
 drivers/greybus/core.c               |   4 +
 drivers/greybus/cpc/Kconfig          |  12 +
 drivers/greybus/cpc/Makefile         |   6 +
 drivers/greybus/cpc/cpc.h            | 135 +++++++
 drivers/greybus/cpc/endpoint.c       | 158 ++++++++
 drivers/greybus/cpc/header.c         | 212 ++++++++++
 drivers/greybus/cpc/header.h         |  81 ++++
 drivers/greybus/cpc/host.c           | 113 ++++++
 drivers/greybus/cpc/protocol.c       | 274 +++++++++++++
 drivers/greybus/cpc/spi.c            | 585 +++++++++++++++++++++++++++
 drivers/greybus/operation.c          |  52 +++
 drivers/staging/greybus/Kconfig      |   9 +
 drivers/staging/greybus/Makefile     |   6 +
 drivers/staging/greybus/silabs-ble.c | 203 ++++++++++
 include/linux/greybus.h              |   7 +-
 include/linux/greybus/greybus_id.h   |   2 +
 include/linux/greybus/operation.h    |   4 +
 20 files changed, 1877 insertions(+), 4 deletions(-)
 create mode 100644 drivers/greybus/cpc/Kconfig
 create mode 100644 drivers/greybus/cpc/Makefile
 create mode 100644 drivers/greybus/cpc/cpc.h
 create mode 100644 drivers/greybus/cpc/endpoint.c
 create mode 100644 drivers/greybus/cpc/header.c
 create mode 100644 drivers/greybus/cpc/header.h
 create mode 100644 drivers/greybus/cpc/host.c
 create mode 100644 drivers/greybus/cpc/protocol.c
 create mode 100644 drivers/greybus/cpc/spi.c
 create mode 100644 drivers/staging/greybus/silabs-ble.c

-- 
2.49.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-16 13:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-05  0:40 [RFC 0/6] Introducing CPC support in Greybus Damien Riégel
2025-07-05  0:40 ` [RFC 1/6] greybus: move host controller drivers comment in Makefile Damien Riégel
2025-07-16 13:20   ` Greg Kroah-Hartman
2025-07-05  0:40 ` [RFC 2/6] greybus: cpc: add core logic Damien Riégel
2025-07-16 13:21   ` Greg Kroah-Hartman
2025-07-05  0:40 ` [RFC 3/6] greybus: cpc: add SPI driver Damien Riégel
2025-07-05  0:40 ` [RFC 4/6] greybus: add API for async unidirectional transfer Damien Riégel
2025-07-16 13:21   ` Greg Kroah-Hartman
2025-07-05  0:40 ` [RFC 5/6] greybus: match device with bundle ID Damien Riégel
2025-07-16 13:19   ` Greg Kroah-Hartman
2025-07-05  0:40 ` [RFC 6/6] greybus: add class driver for Silabs Bluetooth Damien Riégel
2025-07-16 13:23   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).