From patchwork Sat Apr 8 12:04:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 97048 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp662779qgd; Sat, 8 Apr 2017 05:05:26 -0700 (PDT) X-Received: by 10.98.41.199 with SMTP id p190mr39542344pfp.266.1491653126675; Sat, 08 Apr 2017 05:05:26 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si8043905plm.215.2017.04.08.05.05.26; Sat, 08 Apr 2017 05:05:26 -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 S1751997AbdDHMFY (ORCPT + 7 others); Sat, 8 Apr 2017 08:05:24 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:33260 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbdDHMFX (ORCPT ); Sat, 8 Apr 2017 08:05:23 -0400 Received: by mail-lf0-f46.google.com with SMTP id h125so52726008lfe.0 for ; Sat, 08 Apr 2017 05:05:23 -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=79HR5SaeEZFO4D64VgdZz52rkTaBZHyp1qCn/WhWOpo=; b=NpesJpfYbzG1woOd9dorXLbji1YlXqhVjHSp1uRyUjQkZHeSHcrxaQ8TtWaShrOK5c beC+1FMhqPbSopvRoPipHl2wYAPvFY+LhqL0FW5WWop9UEQEn6p7xFxOzOqbftEdDdvc 9tvkKqcZFSFgQlynt5V3jTSqZqVHpRwFdHOHI= 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=79HR5SaeEZFO4D64VgdZz52rkTaBZHyp1qCn/WhWOpo=; b=Op6tVBOSpzFBNAOj1ByYgnLWtuNf6IO4h2GoJ23I8c/KLUwvBW5jiOl7QWlHvu3+Gp QRB+rbdEk7aAd7G43QkHAkEkMwTrqAkprFVvs0ToP1jqsjmzYgD5xsDreKRZtmxpgpOo ACUqVk7YfuJe6avA6I/WpcoIFULa8GGtGMCIFJlRbHytQqnWNjqc4kImdbeVbpVxJViR gmgRDDzDCU/4BoqJDXFBaKDxERt6VoO4nEqC63LaAhRiWLDxXGPrni9BuJUwGXnnxxTP U7Q+Z+Ziljm5YzG7ZTNtlagyewClOubqNsfGIbxyi4JFuiHhyOg0F8sAHhfvkBl9CLwP Ba7w== X-Gm-Message-State: AFeK/H1tKaahDPA0q1NVWZ1GLLP92NlseypKUFD9mTxSz/8eSSr0NKEPrOZCH0Ev2vgUwkzf X-Received: by 10.46.22.85 with SMTP id 21mr12809997ljw.113.1491653122186; Sat, 08 Apr 2017 05:05:22 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-7a7871d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.120.122]) by smtp.gmail.com with ESMTPSA id j15sm1516339lfg.22.2017.04.08.05.05.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 05:05:20 -0700 (PDT) From: Linus Walleij To: Vinod Koul , dmaengine@vger.kernel.org Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Kuo-Jung Su , Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/6] dma: pl08x: Add Faraday FTDMAC020 to compatible list Date: Sat, 8 Apr 2017 14:04:53 +0200 Message-Id: <20170408120457.22750-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170408120457.22750-1-linus.walleij@linaro.org> References: <20170408120457.22750-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 Signed-off-by: Linus Walleij --- Seeking a DT maintainer ACK on this. --- Documentation/devicetree/bindings/dma/arm-pl08x.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.9.3 -- 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 Acked-by: Rob Herring 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: