From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael van der Westhuizen Subject: [PATCH 2/2] dt: snps,dw-apb-ssi: Describe 16 bit data register usage limitations Date: Fri, 19 Jun 2015 10:43:54 +0200 Message-ID: <1434703435-25198-2-git-send-email-michael@smart-africa.com> References: <1434703435-25198-1-git-send-email-michael@smart-africa.com> Return-path: In-Reply-To: <1434703435-25198-1-git-send-email-michael-XrNoQAPr3WXM9gW82pYGhQ@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Steffen Trumtrar , Thor Thayer , Andy Shevchenko , Mark Brown , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Michael van der Westhuizen List-Id: devicetree@vger.kernel.org This change documents a new property for the snps,dw-apb-ssi device, allowing an implementer to interact with the SPI controller data register in 16 bit mode only. This supports a change that unbreaks this driver on picoXcell platforms. Signed-off-by: Michael van der Westhuizen --- Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt index bd99193..3b2a86f 100644 --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt @@ -10,6 +10,9 @@ Required properties: Optional properties: - cs-gpios : Specifies the gpio pis to be used for chipselects. - num-cs : The number of chipselects. If omitted, this will default to 4. +- snps,data-io-16bit : A boolean property that, when present, causes + the driver to interact with the data register using 16 bit I/O instead + of the default 32 bit I/O. Child nodes as per the generic SPI binding. -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael@smart-africa.com (Michael van der Westhuizen) Date: Fri, 19 Jun 2015 10:43:54 +0200 Subject: [PATCH 2/2] dt: snps, dw-apb-ssi: Describe 16 bit data register usage limitations In-Reply-To: <1434703435-25198-1-git-send-email-michael@smart-africa.com> References: <1434703435-25198-1-git-send-email-michael@smart-africa.com> Message-ID: <1434703435-25198-2-git-send-email-michael@smart-africa.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This change documents a new property for the snps,dw-apb-ssi device, allowing an implementer to interact with the SPI controller data register in 16 bit mode only. This supports a change that unbreaks this driver on picoXcell platforms. Signed-off-by: Michael van der Westhuizen --- Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt index bd99193..3b2a86f 100644 --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt @@ -10,6 +10,9 @@ Required properties: Optional properties: - cs-gpios : Specifies the gpio pis to be used for chipselects. - num-cs : The number of chipselects. If omitted, this will default to 4. +- snps,data-io-16bit : A boolean property that, when present, causes + the driver to interact with the data register using 16 bit I/O instead + of the default 32 bit I/O. Child nodes as per the generic SPI binding. -- 2.1.4