Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932168AbbBLMH7 (ORCPT ); Thu, 12 Feb 2015 07:07:59 -0500 Received: from mail-we0-f170.google.com ([74.125.82.170]:36009 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755539AbbBLMH6 (ORCPT ); Thu, 12 Feb 2015 07:07:58 -0500 From: Aurelien BOUIN To: broonie@kernel.org Cc: festevam@gmail.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Aurelien BOUIN Subject: [PATCH 4/4] dt: fsl-imx-cspi.txt: Add fsl,spi-dma-bits-per-word Date: Thu, 12 Feb 2015 13:07:28 +0100 Message-Id: <1423742848-15369-4-git-send-email-a.bouin@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423742848-15369-1-git-send-email-a.bouin@gmail.com> References: <1423742848-15369-1-git-send-email-a.bouin@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1490 Lines: 32 This patch add the possibility to set the number of bits per word transfered by DMA Signed-off-by: Aurelien BOUIN diff --git a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt index aad527b..76f82de 100644 --- a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt +++ b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt @@ -6,6 +6,7 @@ Required properties: - reg : Offset and length of the register set for the device - interrupts : Should contain CSPI/eCSPI interrupt - fsl,spi-num-chipselects : Contains the number of the chipselect +- fsl,spi-dma-bits-per-word : Contains the number of bits per word transfered by DMA - cs-gpios : Specifies the gpio pins to be used for chipselects. - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, Documentation/devicetree/bindings/dma/dma.txt @@ -20,6 +21,7 @@ ecspi@70010000 { reg = <0x70010000 0x4000>; interrupts = <36>; fsl,spi-num-chipselects = <2>; + fsl,spi-dma-bits-per-word = <8>; /* 8 bits per word is the default value, can be 16 or 32 */ cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */ <&gpio3 25 0>; /* GPIO3_25 */ dmas = <&sdma 3 7 1>, <&sdma 4 7 2>; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/