[PATCH 0/3] Apple SPI controller driver

Hector Martin marcan at marcan.st
Sat Dec 11 19:47:23 PST 2021


Hi all,

This short series adds a new SPI controller driver for Apple SoCs.
It is based on spi-sifive. It has been tested with the generic
jedec,spi-nor support and with a patched up input/keyboard/applespi.c
(though we're going to write a new driver for the keyboard; that's a
story for another time).

As usual, I'm splitting off the MAINTAINERS and DT binding changes.
We would rather merge the MAINTAINERS change through the Asahi-SoC
tree to avoid merge conflicts as things trickle upstream, since
we have other submissions touching that section of the file.

The DT binding change can go via the SPI tree or via ours, but it's
easier if we merge it, as then we can make the DT changes to
instantiate it without worrying about DT validation failures depending
on merge order.

Hector Martin (3):
  MAINTAINERS: Add apple-spi driver & binding files
  dt-bindings: spi: apple,spi: Add binding for Apple SPI controllers
  spi: apple: Add driver for Apple SPI controller

 .../devicetree/bindings/spi/apple,spi.yaml    |  63 ++
 MAINTAINERS                                   |   2 +
 drivers/spi/Kconfig                           |   8 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-apple.c                       | 566 ++++++++++++++++++
 5 files changed, 640 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/apple,spi.yaml
 create mode 100644 drivers/spi/spi-apple.c

-- 
2.33.0




More information about the linux-arm-kernel mailing list