From 200011cad3c7f571506ee3bb7cf81c041696d203 Mon Sep 17 00:00:00 2001 From: Dilip Kota Date: Thu, 27 Oct 2016 16:14:28 -0600 Subject: spi: spi_qsd: Add slave support for QUP core The QUP core can be programmed to operate as an SPI slave. This change modifies the existing SPI master driver and adds the slave functionality. Change-Id: I73189339956e0fd52449391737fb1e616a6e0bb2 Signed-off-by: Dilip Kota --- Documentation/devicetree/bindings/spi/spi_qsd.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/spi/spi_qsd.txt b/Documentation/devicetree/bindings/spi/spi_qsd.txt index 1edf0820398a..b3007eb9ceea 100644 --- a/Documentation/devicetree/bindings/spi/spi_qsd.txt +++ b/Documentation/devicetree/bindings/spi/spi_qsd.txt @@ -1,7 +1,8 @@ Qualcomm Serial Peripheral Interface (SPI) Required properties: -- compatible : Should be "qcom,spi-qup-v2". +- compatible : Should be "qcom,spi-qup-v2". Should "qcom,qup-v26" for + controllers that support spi slave mode. - reg : Offset and length of the register regions for the device - reg-names : Register region names referenced in reg above. Required register resource entries are: @@ -72,6 +73,7 @@ the following properties. clock phase (CPHA) mode - spi-cs-high : (optional) Empty property indicating device requires chip select active high +- qcom,slv-ctrl : Set this flag to configure QUP as SPI slave controller. Example: aliases { -- cgit v1.2.3