Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp144947imj; Wed, 13 Feb 2019 06:08:11 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib6bKxclHEapYhF0ys9SK/34N+F5UamhOIEc/xVHSRckSCqGPq9nZ66pxvls6nUKfCm2Zpm X-Received: by 2002:a17:902:d01:: with SMTP id 1mr710883plu.127.1550066891179; Wed, 13 Feb 2019 06:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550066891; cv=none; d=google.com; s=arc-20160816; b=IRb7zM1ZFx/5Xn8a7LVN9WmV3nQTPXTgiI9++ub/K0DQkmy4/7T6h2tMllZ9j5naro 6Y0LV2IV5bRyeyQGFsCjkIy62wJ8wvcCKt5gqHsprKUSjS6dyM5vuF37RhWn36l8OhK6 wjTFwPcV+SiX3pW8k0XXqdsMGx3SpUpBn3vgckVDgvo7UxFlp1JMyfIw8EeCKOXLfnVD Gllfbsx9xG/i5XQgZZ/NPZPm2P5Jz3oQDiZkT/wEHyEeje6eX0RkLjDwaQW95MMC3wwO keTUvIXe0knfZmEpwsu02y2OgFUsyvSVOP5izqv6FMXwDFbnWkcaqHkD+y57Gn7LIlJH esew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=GdUp/FX2y5ub4uJLSnF7rDP7Hv9t/8aUaO7+malV/g8=; b=bM341JI4WJAyOmRK10LA0xRUEy/R98p+wx5tNZaR96EyMWQheP/51dNyValJLvlspW 5IWgs3nAMlKxMn/wlOmksj4r5L8YlSetWCABj3Q/IpYz5cCv04+pKyx/6HEEj2WgPgrA niQMzR7x6G3Ym3v0mFCi61MHDaKgXQXRadylHAdvQdwlhn0zvKEz47LCchHgTR425D0J 4ztseoWowYXVjTiplJhdMn00FYmltUI6A10u0z4JBABqs07oxAGw+4cOtFXOmg5PKoyr Ye4vIvJ6BYSU9Eq0mbJYcfdkHZp/tZ9RMRidslub8Ji6+4kgH2wW4szPLB4HpbNbQH4s 2dVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=PJWKE9tI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g81si16876331pfe.13.2019.02.13.06.07.52; Wed, 13 Feb 2019 06:08:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=PJWKE9tI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404143AbfBMMcH (ORCPT + 99 others); Wed, 13 Feb 2019 07:32:07 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57794 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404104AbfBMMcG (ORCPT ); Wed, 13 Feb 2019 07:32:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=GdUp/FX2y5ub4uJLSnF7rDP7Hv9t/8aUaO7+malV/g8=; b=PJWKE9tI2FGj VFLKa1R0OoVnWc38sm4fv7q4o+ilanCQ1E3eJFDg2bUQMZqtkC9b8tTZ8eGaNC5uZoErsUTAZgatK ZdgqILR19IQjZhEthijXQ8LLKxr6TIR1bIXZJcXZ+7fwgd1V+oiyhngQYdfJ570028Dh+bVsKbH/9 Bt8ss=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gtthi-0004JT-R1; Wed, 13 Feb 2019 12:31:54 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 6E51D1128159; Wed, 13 Feb 2019 12:31:54 +0000 (GMT) From: Mark Brown To: Lanqing Liu Cc: Baolin Wang , Mark Brown , broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, orsonzhai@gmail.com, zhang.lyra@gmail.com, lanqing.liu@unisoc.com, baolin.wang@linaro.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Applied "dt-bindings: spi: Add the DMA properties for the SPI dma mode" to the spi tree In-Reply-To: <2be9d6de92507e5886433fb2cd55117c63b63d72.1550043082.git.baolin.wang@linaro.org> X-Patchwork-Hint: ignore Message-Id: <20190213123154.6E51D1128159@debutante.sirena.org.uk> Date: Wed, 13 Feb 2019 12:31:54 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch dt-bindings: spi: Add the DMA properties for the SPI dma mode has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 6dcb144f7da634e4a0f8837e5076ef48e4d6ac12 Mon Sep 17 00:00:00 2001 From: Lanqing Liu Date: Wed, 13 Feb 2019 15:36:10 +0800 Subject: [PATCH] dt-bindings: spi: Add the DMA properties for the SPI dma mode Add the DMA properties for the SPI dma mode. Signed-off-by: Lanqing Liu Signed-off-by: Baolin Wang Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/spi/spi-sprd.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-sprd.txt b/Documentation/devicetree/bindings/spi/spi-sprd.txt index bad211a19da4..3c7eacce0ee3 100644 --- a/Documentation/devicetree/bindings/spi/spi-sprd.txt +++ b/Documentation/devicetree/bindings/spi/spi-sprd.txt @@ -14,6 +14,11 @@ Required properties: address on the SPI bus. Should be set to 1. - #size-cells: Should be set to 0. +Optional properties: +dma-names: Should contain names of the SPI used DMA channel. +dmas: Should contain DMA channels and DMA slave ids which the SPI used + sorted in the same order as the dma-names property. + Example: spi0: spi@70a00000{ compatible = "sprd,sc9860-spi"; @@ -21,6 +26,8 @@ spi0: spi@70a00000{ interrupts = ; clock-names = "spi", "source","enable"; clocks = <&clk_spi0>, <&ext_26m>, <&clk_ap_apb_gates 5>; + dma-names = "rx_chn", "tx_chn"; + dmas = <&apdma 11 11>, <&apdma 12 12>; #address-cells = <1>; #size-cells = <0>; }; -- 2.20.1