From patchwork Wed Mar 18 15:37:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11445663 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 175181392 for ; Wed, 18 Mar 2020 15:37:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA7FD20724 for ; Wed, 18 Mar 2020 15:37:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="DQ7EfS+B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA7FD20724 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA50B6E917; Wed, 18 Mar 2020 15:37:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by gabe.freedesktop.org (Postfix) with ESMTPS id 515846E915 for ; Wed, 18 Mar 2020 15:37:43 +0000 (UTC) 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 79CFDE42; Wed, 18 Mar 2020 16:37:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584545860; bh=gtRLdr5L0h6o/RV4zouVxC0/v1TozsI9ApSMM688vtc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DQ7EfS+BvVgNqaXojHV+v9uftzcTr75Dxu3W1TBecDs2vqNmWfsZCIFUmb4BB+LUY ifuOH7NFvcUZRUXTvGlst3AoCg1HCcAkfmi1tD7gtd7gac1qZ3fKT1D59LAjFAZr5j o3InEjK8v6s9cdmxA/Sje9TIwFsgWhfkBxXqoRtg= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v11 4/5] arm64: dts: zynqmp: Add DisplayPort subsystem Date: Wed, 18 Mar 2020 17:37:27 +0200 Message-Id: <20200318153728.25843-5-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200318153728.25843-1-laurent.pinchart@ideasonboard.com> References: <20200318153728.25843-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Simek , Hyun Kwon , Satish Kumar Nagireddy Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a DT node for the DisplayPort subsystem, a hard IP present in the Zynq Ultrascale+ MPSoC. Signed-off-by: Laurent Pinchart --- Changes since v10: - Replace fixed frequency clocks with real clocks - Add resets property to zynqmp-dpsub Changes since v9: - Update to the latest DPDMA DT bindings --- .../arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 6 +++++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 24 +++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 32c4914738d9..48db1b353a1a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -61,6 +61,12 @@ &dpdma { clocks = <&zynqmp_clk DPDMA_REF>; }; +&dpsub { + clocks = <&zynqmp_clk TOPSW_LSBUS>, + <&zynqmp_clk DP_AUDIO_REF>, + <&zynqmp_clk DP_VIDEO_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 b195fd0dbeed..003fa5c4d572 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -12,6 +12,7 @@ * the License, or (at your option) any later version. */ +#include #include #include @@ -450,6 +451,29 @@ mc: memory-controller@fd070000 { interrupts = <0 112 4>; }; + dpsub: display@fd4a0000 { + compatible = "xlnx,zynqmp-dpsub-1.7"; + status = "disabled"; + reg = <0x0 0xfd4a0000 0x0 0x1000>, + <0x0 0xfd4aa000 0x0 0x1000>, + <0x0 0xfd4ab000 0x0 0x1000>, + <0x0 0xfd4ac000 0x0 0x1000>; + reg-names = "dp", "blend", "av_buf", "aud"; + interrupts = <0 119 4>; + interrupt-parent = <&gic>; + + clock-names = "dp_apb_clk", "dp_aud_clk", + "dp_vtc_pixel_clk_in"; + + resets = <&reset ZYNQMP_RESET_DP>; + + dma-names = "vid0", "vid1", "vid2", "gfx0"; + dmas = <&dpdma ZYNQMP_DPDMA_VIDEO0>, + <&dpdma ZYNQMP_DPDMA_VIDEO1>, + <&dpdma ZYNQMP_DPDMA_VIDEO2>, + <&dpdma ZYNQMP_DPDMA_GRAPHICS>; + }; + gem0: ethernet@ff0b0000 { compatible = "cdns,zynqmp-gem", "cdns,gem"; status = "disabled";