From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93ED4ECDFBB for ; Wed, 18 Jul 2018 18:22:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 50D432084E for ; Wed, 18 Jul 2018 18:22:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="EnmPzBVo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50D432084E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730096AbeGRS7v (ORCPT ); Wed, 18 Jul 2018 14:59:51 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:39146 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726999AbeGRS7v (ORCPT ); Wed, 18 Jul 2018 14:59:51 -0400 From: Paul Cercueil To: Vinod Koul , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , James Hogan , Zubair Lutfullah Kakakhel Cc: Mathieu Malaterre , Daniel Silsby , Paul Cercueil , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH v2 01/17] doc: dt-bindings: jz4780-dma: Update bindings to reflect driver changes Date: Wed, 18 Jul 2018 20:20:07 +0200 Message-Id: <20180718182023.8182-2-paul@crapouillou.net> In-Reply-To: <20180718182023.8182-1-paul@crapouillou.net> References: <20180718182023.8182-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1531938043; bh=JEY7wTY9g8xvyt09OImVTJKTC+KCcodY2IA2CuNSTaw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=EnmPzBVo3Ob4JqOjY92OWwx2IMr6RLdHk43yHDtPutHjxpN+PpH1mY8JwKGP0fcN2cpb1Mxl6BYWDWvS7fsV3upacqN2dz+Zddyq31FKdxPvSpdFMLn6iB/RWND0i+n4EBhkHzZGOw62raYwaUkRKw5fSZAcUOsTOUzv5S1xmMs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver is now compatible with four SoCs: JZ4780, JZ4770, JZ4725B and JZ4740. Besides, it now expects the devicetree to supply a second memory resource. This resource is mandatory on the newly supported SoCs. For the JZ4780, new devicetree code must also provide it, although the driver is still compatible with older devicetree binaries. Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre --- Documentation/devicetree/bindings/dma/jz4780-dma.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) v2: New patch in this series; regroups the changes made to the jz4780-dma.txt doc file in the previous version of the patchset. diff --git a/Documentation/devicetree/bindings/dma/jz4780-dma.txt b/Documentation/devicetree/bindings/dma/jz4780-dma.txt index f25feee62b15..5d302b488e88 100644 --- a/Documentation/devicetree/bindings/dma/jz4780-dma.txt +++ b/Documentation/devicetree/bindings/dma/jz4780-dma.txt @@ -2,8 +2,13 @@ Required properties: -- compatible: Should be "ingenic,jz4780-dma" -- reg: Should contain the DMA controller registers location and length. +- compatible: Should be one of: + * ingenic,jz4780-dma + * ingenic,jz4770-dma + * ingenic,jz4725b-dma + * ingenic,jz4740-dma +- reg: Should contain the DMA channel registers location and length, followed + by the DMA controller registers location and length. - interrupts: Should contain the interrupt specifier of the DMA controller. - interrupt-parent: Should be the phandle of the interrupt controller that - clocks: Should contain a clock specifier for the JZ4780 PDMA clock. @@ -22,7 +27,8 @@ Example: dma: dma@13420000 { compatible = "ingenic,jz4780-dma"; - reg = <0x13420000 0x10000>; + reg = <0x13420000 0x400 + 0x13421000 0x40>; interrupt-parent = <&intc>; interrupts = <10>; -- 2.11.0