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: 9738791 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 DECAF600C8 for ; Sat, 20 May 2017 21:44:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D14442861C for ; Sat, 20 May 2017 21:44:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3B292861B; Sat, 20 May 2017 21:44:22 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 3CB452861B for ; Sat, 20 May 2017 21:44:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756529AbdETVoU (ORCPT ); Sat, 20 May 2017 17:44:20 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:34133 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756349AbdETVnF (ORCPT ); Sat, 20 May 2017 17:43:05 -0400 Received: by mail-lf0-f53.google.com with SMTP id 99so15113815lfu.1 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=CETj0Kv451sPZ3FpuxdZBteMHs0eaOvDK+EjpDZ7vUHGn9KKBIdtDk4vbWY45o+cWt u0ArnjWkYFXJwrSNWjUEff4N30cD74AOtGLSYllVKcy8JUdBEBZZPUymVjj8rflU8q7c QcY/RxfaGX6E2/rliFXVsB6OfW+JGN0g/UUzsiQd2A/PZzrf3bF0op2pjhMOAg2xKxq6 Fe/0n6+UNrvp7Ynu0sD+kbpx9pv64/EGgAMsFPNGzo6hae0+BmmxCI8o/cADQoGrfVW1 ncD8/svDmIVFkf7lHC+ivlvtvZkMuHOB28b5bw92b33tBkbjRW92F7RgNylqmfBFqRM4 5k2w== X-Gm-Message-State: AODbwcDjizc14OTxlKvk0EshiCpS7eKuSIwTqgrQkpGVAHzbrvqy3eIA cIPqx7lO1cufs3r5 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: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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: