Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5156898imb; Thu, 7 Mar 2019 08:59:34 -0800 (PST) X-Google-Smtp-Source: APXvYqyfhohXvHxvjqHmNqY1zD0T0U4QK8c99Dmk9adSJATVkq0IXo/kuSqnjrVPwA1UQAXaQwD8 X-Received: by 2002:a62:11c6:: with SMTP id 67mr13622217pfr.68.1551977973903; Thu, 07 Mar 2019 08:59:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551977973; cv=none; d=google.com; s=arc-20160816; b=Pu6V+ofvonHHrrJVVXIrez3Nci3f3O0c0mc38ZVAvA0WQ+MQSL68urmaGYDaM4N1Tc gurq2DevifkspV8S5TIZRi2PPwB1+g6Pdgk2BOrrrXjJV31lONcE4ArPf1WUHxkO2loF gm0WxY6urJbWiJ0yrInT+krARJyMdcHQZQoq1/ShSWiShmnwtiTLa8OUeINciHb70OX3 +Szfo63wSM1Zr58/Y1Hhb0K6P8ZeF6UdRpHFZbGkFMtQsEVukcEg61wEF6ycEGQsl6Wo 6oauGYfNcMoM2odonSMiHniwHqT3ofCaOtz6e5zZSUMdKQOAga6G/0pSiUtUoxGwr2XL +Kiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=82vU6LprGelWjkeQcB0UJdyhyNbybaVLk9429Wfr8ow=; b=CgYxDhv7KwCkN6mm9f5mRJgtATOG62L5PAZlcewLASJP0L+LjQxH8czKbgbd93bw8n 9S822DVQVhshwVBlGcj/Mj5SUQsy1a4qLBMfDPjy6Fh0Y+/Y7QGEg5VGww+o+OgbGLmn V7QeL1PS6Z47CRqPkuybCnXatruaytJ8EPHLjnBs35hi3/tsRkdSK3nfkg3w4f9UNcaU hqmBwjutJUDzY85UR9yu/Yk7OVyQ0wW8lX2mrwysAkgQPXhMwLUi88VkmBgcLZQiuHRY EUIr+9WwKnUh7CHiJkWysdTK51IFbDvQbGliTH//ut8w9mJ4xkhYePVxMMcl4dpKMmcE 2wEA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si4103043pgh.565.2019.03.07.08.59.18; Thu, 07 Mar 2019 08:59:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbfCGQ6o (ORCPT + 99 others); Thu, 7 Mar 2019 11:58:44 -0500 Received: from mailoutvs14.siol.net ([185.57.226.205]:45969 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726161AbfCGQ6o (ORCPT ); Thu, 7 Mar 2019 11:58:44 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 3F4845237BE; Thu, 7 Mar 2019 17:58:40 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Jev7DHsK1iut; Thu, 7 Mar 2019 17:58:39 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id E24175237CE; Thu, 7 Mar 2019 17:58:39 +0100 (CET) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Zimbra) with ESMTPSA id 0FB805237BE; Thu, 7 Mar 2019 17:58:36 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, jernej.skrabec@siol.net Subject: [PATCH 1/6] dt-bindings: arm64: allwinner: h6: Add binding for DMA controller Date: Thu, 7 Mar 2019 17:58:24 +0100 Message-Id: <20190307165829.9086-2-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190307165829.9086-1-jernej.skrabec@siol.net> References: <20190307165829.9086-1-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DMA in H6 is similar to other DMA controller, except it is first which supports more than 32 request sources and has 16 channels. It also needs additional clock to be enabled. Signed-off-by: Jernej Skrabec --- Documentation/devicetree/bindings/dma/sun6i-dma.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/sun6i-dma.txt b/Docume= ntation/devicetree/bindings/dma/sun6i-dma.txt index 7fccc20d8331..cae31f4e77ba 100644 --- a/Documentation/devicetree/bindings/dma/sun6i-dma.txt +++ b/Documentation/devicetree/bindings/dma/sun6i-dma.txt @@ -28,12 +28,17 @@ Example: }; =20 ------------------------------------------------------------------------= ------ -For A64 DMA controller: +For A64 and H6 DMA controller: =20 Required properties: -- compatible: "allwinner,sun50i-a64-dma" +- compatible: Must be one of + "allwinner,sun50i-a64-dma" + "allwinner,sun50i-h6-dma" - dma-channels: Number of DMA channels supported by the controller. Refer to Documentation/devicetree/bindings/dma/dma.txt +- clocks: In addition to parent AHB clock, it should also contain mbus + clock (H6 only) +- clock-names: Should contain "bus" and "mbus" (H6 only) - all properties above, i.e. reg, interrupts, clocks, resets and #dma-ce= lls =20 Optional properties: --=20 2.21.0