|
|
Log in / Subscribe / Register

spi: add driver for ar934x spi controller

From:  Chuanhong Guo <gch981213-AT-gmail.com>
To:  linux-spi-AT-vger.kernel.org
Subject:  [PATCH resend 0/2] spi: add driver for ar934x spi controller
Date:  Thu, 6 Feb 2020 16:44:41 +0800
Message-ID:  <20200206084443.209719-1-gch981213@gmail.com>
Cc:  Mark Brown <broonie-AT-kernel.org>, linux-kernel-AT-vger.kernel.org, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, devicetree-AT-vger.kernel.org, Chuanhong Guo <gch981213-AT-gmail.com>
Archive-link:  Article

This controller is a superset of the already supported qca,ar7100-spi.
Besides the bit-bang mode in spi-ath79.c, this new controller added
a new "shift register" mode, allowing faster spi operations.
This mode doesn't need all the bit-bang code in spi-ath79.c and needs
a different clock setup, so I decided to write a new driver for it
instead of extending current spi-ath79 driver.

Resend the patchset because I forgot to CC documentation maintainers
Chuanhong Guo (2):
  spi: add driver for ar934x spi controller
  dt-binding: spi: add bindings for spi-ar934x

 .../bindings/spi/qca,ar934x-spi.yaml          |  40 +++
 drivers/spi/Kconfig                           |   7 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-ar934x.c                      | 230 ++++++++++++++++++
 4 files changed, 278 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
 create mode 100644 drivers/spi/spi-ar934x.c

-- 
2.24.1



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds