From patchwork Wed Jul 8 20:19:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11652479 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFF0F60D for ; Wed, 8 Jul 2020 20:19:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF08F20720 for ; Wed, 8 Jul 2020 20:19:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hhUXfQTW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726345AbgGHUT0 (ORCPT ); Wed, 8 Jul 2020 16:19:26 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:41740 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbgGHUT0 (ORCPT ); Wed, 8 Jul 2020 16:19:26 -0400 Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7E944FE0; Wed, 8 Jul 2020 22:19:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1594239560; bh=xak74DmKv7tAKISbdXyZAbebmfILiJAsK6+garSD+jk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hhUXfQTWyvhjZYOF9URZQCA0Lx2/LkjpeeB+MeGZjHikp4NirPMhbek10Fkb4rov2 PHynUase2i0/1nFb+CoSiikikaqlIHowxKPVjkY8mayDeaGm0EWo8vBWm+QGQzQxKR DprkXnsTvY9rvxQZ+KBJZQb+2KTa2SvsBpy3AVf4= From: Laurent Pinchart To: dmaengine@vger.kernel.org Cc: Michal Simek , Hyun Kwon , Tejas Upadhyay , Satish Kumar Nagireddy , Vinod Koul , Peter Ujfalusi Subject: [PATCH v6 6/6] arm64: dts: zynqmp: Add DPDMA node Date: Wed, 8 Jul 2020 23:19:06 +0300 Message-Id: <20200708201906.4546-7-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200708201906.4546-1-laurent.pinchart@ideasonboard.com> References: <20200708201906.4546-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Add a DT node for the DisplayPort DMA engine (DPDMA). Signed-off-by: Laurent Pinchart Acked-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 9868ca15dfc5..32c4914738d9 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -57,6 +57,10 @@ &cpu0 { clocks = <&zynqmp_clk ACPU>; }; +&dpdma { + clocks = <&zynqmp_clk DPDMA_REF>; +}; + &fpd_dma_chan1 { clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 9174ddc76bdc..d2554640db57 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -250,6 +250,16 @@ pmu@9000 { }; }; + dpdma: dma-controller@fd4c0000 { + compatible = "xlnx,zynqmp-dpdma"; + status = "disabled"; + reg = <0x0 0xfd4c0000 0x0 0x1000>; + interrupts = <0 122 4>; + interrupt-parent = <&gic>; + clock-names = "axi_clk"; + #dma-cells = <1>; + }; + /* GDMA */ fpd_dma_chan1: dma@fd500000 { status = "disabled";