From patchwork Wed Sep 3 20:44:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4837661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8804A9F314 for ; Wed, 3 Sep 2014 20:47:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C085E2020E for ; Wed, 3 Sep 2014 20:47:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E885B2021F for ; Wed, 3 Sep 2014 20:47:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPHQo-0005xQ-IQ; Wed, 03 Sep 2014 20:45:30 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPHQS-0004bf-OT for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2014 20:45:09 +0000 Received: by mail-pa0-f46.google.com with SMTP id eu11so18373397pac.19 for ; Wed, 03 Sep 2014 13:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h9qooGWZofH6Zj5Qy0j8y46g9ibzefP9JU7/vEFAjto=; b=NZvmUS4GREqdE7Q/kGhOz0QR8sz2TsKaWnHmTs6Bo6vyLz9LvogTYVwcfUSM3ggOrn 4uVfuOobIctn2s6ZrYaz59131KOiT9W8Y6/qEpXdJTYKM0tANE56ZmWS2MWPKhWDakSb b9oAhrr9dLvpD56vqZg/Hxz2ee4pUrxkw0D2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=h9qooGWZofH6Zj5Qy0j8y46g9ibzefP9JU7/vEFAjto=; b=QjHcjrfRsKXsDiGf9aGnMavic+PUU3Vd+ejGrMIZNYvD7avrIT0S15eRtL+I/RA6vi s+GHcw8NkVMWFGh5eY5hlK6qbl8JeVFKQiqT51UndGW7n4K2S9F7SEXx0za9/KEyHEa9 NaA5NUBcZF4bWTcrQX9jrNKVulrYmCmOZZpchyb/Smbe34fsvvPeKi3WnUXThWhvVrg2 Epj/FVTnyXKWIGsnrlRwFYflW4WgDQABAWP3sYFVAeZ+wZSMVMTng7gskPbH9tC6EAKc kn+vZ2Ok5jr1h6KrjTmijwmV36I9Vt6dm8YlPeYfyWwLpovhxEHv94ECIEaKbLrM359a 3ROw== X-Gm-Message-State: ALoCoQkdGscPno5vxIBcNRJbm7WaymOPLCBgwRp+DtK2A1Scv5aQljF3zLXgz93wmYGWeFf6wOyU X-Received: by 10.66.66.35 with SMTP id c3mr120389pat.108.1409777085643; Wed, 03 Sep 2014 13:44:45 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.162.15]) by mx.google.com with ESMTPSA id qv9sm7597658pbb.86.2014.09.03.13.44.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 13:44:45 -0700 (PDT) From: Doug Anderson To: Mark Brown , Addy Ke , Heiko Stuebner Subject: [PATCH 3/3] dt-bindings: spi/rockchip: Mark DMA as optional Date: Wed, 3 Sep 2014 13:44:27 -0700 Message-Id: <1409777067-17422-4-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1409777067-17422-1-git-send-email-dianders@chromium.org> References: <1409777067-17422-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140903_134508_822667_047BB577 X-CRM114-Status: GOOD ( 10.22 ) X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Alexandru Stan , pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, broonie@linaro.org, Doug Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, Sonny Rao , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Rockchip SPI controller works fine without DMA (aside from a few warnings). The DMA property even implies this, saying: DMA request names should include "tx" and "rx" if present. Officially mark the properties as optional. Signed-off-by: Doug Anderson --- Documentation/devicetree/bindings/spi/spi-rockchip.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.txt b/Documentation/devicetree/bindings/spi/spi-rockchip.txt index 7bab355..467dec4 100644 --- a/Documentation/devicetree/bindings/spi/spi-rockchip.txt +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.txt @@ -16,11 +16,15 @@ Required Properties: - clocks: Must contain an entry for each entry in clock-names. - clock-names: Shall be "spiclk" for the transfer-clock, and "apb_pclk" for the peripheral clock. +- #address-cells: should be 1. +- #size-cells: should be 0. + +Optional Properties: + - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, Documentation/devicetree/bindings/dma/dma.txt - dma-names: DMA request names should include "tx" and "rx" if present. -- #address-cells: should be 1. -- #size-cells: should be 0. + Example: