All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] SPI bus multiplexing
@ 2020-02-04  3:28 ` Chris Packham
  0 siblings, 0 replies; 13+ messages in thread
From: Chris Packham @ 2020-02-04  3:28 UTC (permalink / raw)
  To: broonie, robh+dt, mark.rutland, Andy Shevchenko
  Cc: linux-spi, devicetree, linux-kernel, Chris Packham

This is a revisit of two earlier efforts to add more complex mutliplexing to
SPI busses.

https://patchwork.kernel.org/patch/2706151/
https://patchwork.kernel.org/patch/10897255/

This version makes use of the general purpose mux controller which simplifies
things greatly.

One outstanding problem is the need for the spi-max-frequency on the mux
device. This is not used for anything and is just needed to satisfy the spi
driver infrastructure which expects all spi devices to have this property.

Chris Packham (2):
  dt-bindings: spi: Document binding for generic SPI multiplexer
  spi: Add generic SPI multiplexer

 .../devicetree/bindings/spi/spi-mux.yaml      |  89 +++++++++
 drivers/spi/Kconfig                           |  11 ++
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-mux.c                         | 187 ++++++++++++++++++
 4 files changed, 288 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-mux.yaml
 create mode 100644 drivers/spi/spi-mux.c

-- 
2.25.0


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

end of thread, other threads:[~2020-11-20 16:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  3:28 [PATCH v5 0/2] SPI bus multiplexing Chris Packham
2020-02-04  3:28 ` Chris Packham
2020-02-04  3:28 ` [PATCH v5 1/2] dt-bindings: spi: Document binding for generic SPI multiplexer Chris Packham
2020-02-04  3:28   ` Chris Packham
2020-02-12 23:58   ` Applied "dt-bindings: spi: Document binding for generic SPI multiplexer" to the spi tree Mark Brown
2020-02-12 23:58     ` Mark Brown
2020-02-04  3:28 ` [PATCH v5 2/2] spi: Add generic SPI multiplexer Chris Packham
2020-02-04 11:10   ` Andy Shevchenko
2020-02-12 23:58   ` Applied "spi: Add generic SPI multiplexer" to the spi tree Mark Brown
2020-02-12 23:58     ` Mark Brown
2020-11-13 15:46   ` [PATCH v5 2/2] spi: Add generic SPI multiplexer Nicolas Saenz Julienne
2020-11-17  0:08     ` Chris Packham
2020-11-20 16:18       ` Nicolas Saenz Julienne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.