From patchwork Wed Jun 8 17:02:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 9165385 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B4415604DB for ; Wed, 8 Jun 2016 17:35:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A53BC281F9 for ; Wed, 8 Jun 2016 17:35:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A51228303; Wed, 8 Jun 2016 17:35:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24C96281F9 for ; Wed, 8 Jun 2016 17:35:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933375AbcFHRfo (ORCPT ); Wed, 8 Jun 2016 13:35:44 -0400 Received: from fallback8.mail.ru ([94.100.181.110]:49181 "EHLO fallback8.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933391AbcFHRfl (ORCPT ); Wed, 8 Jun 2016 13:35:41 -0400 Received: from smtp23.mail.ru (smtp23.mail.ru [94.100.181.178]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id 231E89F59555 for ; Wed, 8 Jun 2016 20:02:22 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=yjAVfeA4uCnwhnaIIeGGNVPWIEC83XLyxLEpocozEMU=; b=FbmjPR6pvkb2nb+kcwUaACtwk6CmtWvLs3uAHFRTc4UyRqUtUGQg54GOL+8htqUu78buPhwydRh73zTGViRhc4Oj2s9RHEpMztjaf9lZnTQ+LE0Bj0IFKKoA2ukYBE1w6e/DNh+fAN2P+BVIrOBTrg3ciYEy12KFA0ZEhMjImpI=; Received: from [5.18.96.7] (port=62313 helo=shc.zet) by smtp23.mail.ru with esmtpa (envelope-from ) id 1bAgry-00072O-Vv; Wed, 08 Jun 2016 20:02:19 +0300 From: Alexander Shiyan To: linux-spi@vger.kernel.org Cc: Mark Brown , Alexander Shiyan Subject: [PATCH 4/4] SPI: imx: Update DT binding documentation Date: Wed, 8 Jun 2016 20:02:09 +0300 Message-Id: <1465405329-5153-4-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 2.4.9 In-Reply-To: <1465405329-5153-1-git-send-email-shc_work@mail.ru> References: <1465405329-5153-1-git-send-email-shc_work@mail.ru> X-Mras: OK Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Mark "fsl,spi-num-chipselects" property as obsolete. Signed-off-by: Alexander Shiyan --- Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt index 523341a..8bc95e2 100644 --- a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt +++ b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt @@ -11,7 +11,6 @@ Required properties: - "fsl,imx51-ecspi" for SPI compatible with the one integrated on i.MX51 - 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 - cs-gpios : Specifies the gpio pins to be used for chipselects. - clocks : Clock specifiers for both ipg and per clocks. - clock-names : Clock names should include both "ipg" and "per" @@ -21,6 +20,9 @@ See the clock consumer binding, Documentation/devicetree/bindings/dma/dma.txt - dma-names: DMA request names should include "tx" and "rx" if present. +Obsolete properties: +- fsl,spi-num-chipselects : Contains the number of the chipselect + Example: ecspi@70010000 { @@ -29,7 +31,6 @@ ecspi@70010000 { compatible = "fsl,imx51-ecspi"; reg = <0x70010000 0x4000>; interrupts = <36>; - fsl,spi-num-chipselects = <2>; cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */ <&gpio3 25 0>; /* GPIO3_25 */ dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;