From patchwork Wed Mar 18 15:37:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11445665 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 018C213B1 for ; Wed, 18 Mar 2020 15:37:56 +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 D4B0B20724 for ; Wed, 18 Mar 2020 15:37:55 +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="bz5gIdL0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4B0B20724 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 0DD876E916; Wed, 18 Mar 2020 15:37:50 +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 [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7CD366E917 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 F35B5E4A; 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=1584545861; bh=e4cCUZYTx3n/u0MtoaLGz1z9jRBp1EIEFr40YKa6AgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bz5gIdL06Qm/mYpVqbaiDC4TWbfCXGXwS/v3yVSf7I+TyVccmiMGqKgqSfHE/0XMW UxVHdWzy4KEu578DzRgmEVj+KmAxAoWteD4eFC0CAjYsAmU60O+XNgd7l0YTwvsFmu AkohA2tI7jLHersQIHyRxBrXRlqRyReC5qcPaVXA= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v11 5/5] arm64: dts: zynqmp: zcu106-revA: Wire up the DisplayPort subsystem Date: Wed, 18 Mar 2020 17:37:28 +0200 Message-Id: <20200318153728.25843-6-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" Enable the dpsub device and wire it up to the PS-GTR PHY lanes routed to the DisplayPort connector. Signed-off-by: Laurent Pinchart --- .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 6e9efe233838..2fc6342eb05e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -13,6 +13,7 @@ #include "zynqmp-clk-ccf.dtsi" #include #include +#include / { model = "ZynqMP ZCU106 RevA"; @@ -39,6 +40,17 @@ memory@0 { reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; }; + /* + * This clock is actually produced by the SI5341 (U69), but declaring it + * will result in the PS_REF_CLK being disabled at end of boot as it is + * unused. + */ + gtr_ref_clk_dp: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; + gpio-keys { compatible = "gpio-keys"; autorepeat; @@ -142,6 +154,17 @@ &dcc { status = "okay"; }; +&dpdma { + status = "okay"; +}; + +&dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 3>, + <&psgtr 0 PHY_TYPE_DP 1 3>; +}; + /* fpd_dma clk 667MHz, lpd_dma 500MHz */ &fpd_dma_chan1 { status = "okay"; @@ -591,6 +614,12 @@ i2c@7 { }; }; +&psgtr { + status = "okay"; + clocks = <>r_ref_clk_dp>; + clock-names = "ref3"; +}; + &rtc { status = "okay"; };