From patchwork Sat May 20 21:42:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 100237 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp860863qge; Sat, 20 May 2017 14:43:29 -0700 (PDT) X-Received: by 10.84.142.133 with SMTP id 5mr19431750plx.52.1495316609799; Sat, 20 May 2017 14:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495316609; cv=none; d=google.com; s=arc-20160816; b=GlCgYvmH84ImqUEaypr9Yb+jW5z/LScmMP5NGCEIkRjLdqeuGTZN5NwdvE17Hd6Zt3 cf6NMyXt8By4syCL/giUI4DWu+YGtABMC6FMV4i8L3msFtC5r95qcDY8w5sm1t242VZI JbCkUhGnz/N7uWantvatrMXFI9mPS/R5ViLHIltpHBHnjXmigIQJZsuuK/4F9QKyMNrS NT1awG1eXlUdhPM9pMBTG5h/U0hsEjyc1tB20ZC+M0S+vJNon3s+WzRSlujgGS6VZ7Kf UrzsND35QQGKlakSxh0gW5ZHvnMzGeLX21wEZgYf3+rlC9Yr5f2MGl0rFGvb/ETF75Ws XTRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=sGvN0W6VuXLTtuGHI0Och58yk4ZjermYVYJFrw/gLIM=; b=isuutRryP8H4PBt1W7CCELPuIjnx1QvIu9hvHoo3n+ZP7m9IKpft0WwAAxQdV7FPH+ 76hW7Fhr4xL/I0//r/JjuLkkpzB8bPFC/bYUOyKB7aNwyttml5OPUt7QqLJRNqeDjlls XAhchv8Lrd69ISEpArBa7r9eRSKfNbNHAmN6xP5W6ynqMh30oOkNzukV7xsxN9Yz7SbI cFdyXOQE/j1SGCpFXZNj7YMuExLknA5nmmQ0hz5zskHvJbno5Qycj75AU5cdUKQ/5GgX icn01cA7z6LOHDzZaiXrBRd+a1Bn9R90We+vaoJhAmHbjU+vajcQFAq4UhwElbd3R6xd t8tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15si1621078pll.207.2017.05.20.14.43.29; Sat, 20 May 2017 14:43:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932283AbdETVnV (ORCPT + 7 others); Sat, 20 May 2017 17:43:21 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33114 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756358AbdETVnG (ORCPT ); Sat, 20 May 2017 17:43:06 -0400 Received: by mail-lf0-f49.google.com with SMTP id m18so15132936lfj.0 for ; Sat, 20 May 2017 14:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=32kk+sZQEMc1bimzxU9HxbcY1KPOhxdCV4SupSyzFag=; b=eXC6tHJgs0vBUGSaGmDDEIO0awCLfBVP84JXfsYI1r+n9mSVPRNEyZkaNvG/C40pan WK3O9daBOWVAqaEkVF2UTUYKr2ulLqo5q6PSOIimJJu0xmNNbOlBIki3Rw4cGCJQFHwH B9/PiiLGfrCCxIMUvoh+OEhjg7iPLXjNmR7MU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=32kk+sZQEMc1bimzxU9HxbcY1KPOhxdCV4SupSyzFag=; b=s1NZTETROSaZ3nFwNoBF8wXBLLGqEbkA/nN2O6ATcX7O5uegQ1KNey+FCJ4I+nZKmJ W5rUkM/6xPb0iklHxwdFakx+9nipFGwXPTyclQSYXt3ayFKjYP1B2H0qeTNtHUHAMyRz G/FNv8v1hQ4nXPeWws07wEv3BezWJDe3KYDhzn/RCeeg/eJ8wvDFEKrDmY2jnXw29Oa2 4urOuou+bOW8BhnYy75g0lvTCZ75463nqaaspSjud/PpROhtH3n8vesngB6B+kVuGMPK WJTERpZc6ZWkpuacluOfpwaY+U9DX0N038jetWQ3xU3DErkroNVmvevnzGMoBAPQtaqa km+g== X-Gm-Message-State: AODbwcAxwT/cZ0sdhwp6lOh2tA5LBhCwehGyGmF8kw/h5y/z2TSFBigY bI1NTnlPvOmmqd+d X-Received: by 10.46.9.22 with SMTP id 22mr4503401ljj.42.1495316584361; Sat, 20 May 2017 14:43:04 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-787571d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.117.120]) by smtp.gmail.com with ESMTPSA id e68sm1698029lff.11.2017.05.20.14.43.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 14:43:03 -0700 (PDT) From: Linus Walleij To: Vinod Koul , dmaengine@vger.kernel.org Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Kuo-Jung Su , Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/5 v2] dma: pl08x: Add Faraday FTDMAC020 to compatible list Date: Sat, 20 May 2017 23:42:51 +0200 Message-Id: <20170520214254.21541-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170520214254.21541-1-linus.walleij@linaro.org> References: <20170520214254.21541-1-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This augments the PL08x bindings to include the Faraday Technology FTDMAC020 DMA engine, as it is clearly a derivative of the PL08x PrimeCell. Also specify that it needs the special peripheral ID specified to work properly. Cc: devicetree@vger.kernel.org Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Add in the ACK from Rob. --- Documentation/devicetree/bindings/dma/arm-pl08x.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.9.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/dma/arm-pl08x.txt b/Documentation/devicetree/bindings/dma/arm-pl08x.txt index 8a0097a029d3..0ba81f79266f 100644 --- a/Documentation/devicetree/bindings/dma/arm-pl08x.txt +++ b/Documentation/devicetree/bindings/dma/arm-pl08x.txt @@ -3,6 +3,11 @@ Required properties: - compatible: "arm,pl080", "arm,primecell"; "arm,pl081", "arm,primecell"; + "faraday,ftdmac020", "arm,primecell" +- arm,primecell-periphid: on the FTDMAC020 the primecell ID is not hard-coded + in the hardware and must be specified here as <0x0003b080>. This number + follows the PrimeCell standard numbering using the JEP106 vendor code 0x38 + for Faraday Technology. - reg: Address range of the PL08x registers - interrupt: The PL08x interrupt number - clocks: The clock running the IP core clock @@ -20,8 +25,8 @@ Optional properties: - dma-requests: contains the total number of DMA requests supported by the DMAC - memcpy-burst-size: the size of the bursts for memcpy: 1, 4, 8, 16, 32 64, 128 or 256 bytes are legal values -- memcpy-bus-width: the bus width used for memcpy: 8, 16 or 32 are legal - values +- memcpy-bus-width: the bus width used for memcpy in bits: 8, 16 or 32 are legal + values, the Faraday FTDMAC020 can also accept 64 bits Clients Required properties: