From patchwork Thu Jan 21 12:36:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035945 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 8B7D3C433E0 for ; Thu, 21 Jan 2021 12:37:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 29203239EF for ; Thu, 21 Jan 2021 12:37:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29203239EF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ToA9eX9hUvLrfT2PJmOwboblxLqDVdG7quiAgjFF2CU=; b=smPxkGYPHoN0T+/3aJufwaz2D cJBfkVlU9Z5qpAzWdaRzOziqu77rfdQirJCSZs7erXeiKqnMbD1PQXyKgXp3rngjAOOLsM9Ap5bFT kw5Zx6sTnDJXpDtDaLzRtpp7xkSImqs3w1t+YUOxlHya0G0/+xNC/xb8Xlt/Az5AVJq3hri5btamL sytUHxhe/qzL//rRyeNFfKh3C9KlVKkk5spxnI1sCBM7yAMT/bCfJW/077zBLFvovsDyzw19o8f9K XCFyH8t2ilydkOGI11O9AmCxqclK8CoGVgiClUuIqRe0pGzng1hk7GrX8646/sriox7vOHAFpMehq fYWq1ih/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZCE-0006Ho-O7; Thu, 21 Jan 2021 12:36:18 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZC8-0006Fk-BN for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 12:36:13 +0000 Received: by mail-ej1-x62b.google.com with SMTP id 6so2372768ejz.5 for ; Thu, 21 Jan 2021 04:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xE3OhLnmXbxUKjHkNefjPhc/3dSXZBCmru/WTSvgaR8=; b=tbrYXpw6+nOXmYFeia8aflNtinnzN/frEHtVk0kpIKOT9L0Pc5/R3cthL8uwVqg6X4 /waK/JdK6aFUyCztZnpkp0+9LwM/UBmUVSGaUa94x3ZTpQ55RWgHQ81xb0lneY1BxmVq pApqdpLuQ0iyeSmXOB8wpO9gxjU+Eh9nUKiC+qqwN7X3cYblaIf/AzvQUbCEtrFgQFHh 0/2b20TsIUDRtKiVvu5/CS2qFzBc6a7ixy3isqD9jw6MijWkrjFM5v0BPDlJhX5tO9Yl bFZCiPuKCDn8HIDMKXH8hHnpLF9xmuBqh2W+nDllZa3hxbTWxYk+ZFnQvM4ALrcgKQYz tooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=xE3OhLnmXbxUKjHkNefjPhc/3dSXZBCmru/WTSvgaR8=; b=QQwZ1qkxgPtUrCrr7TU7AVhMYD6mscIaFQoCP9oo/xpeCTbQMyP7acO8bxDGLX7c1z Zqi/K+HjWtcnuasAe62/CNBnpr1HtoLDFANmpG571zr2AHbIm8sLs9l3CaIK20BJzszk 0neKc7k3cNZwQg1X7xwEprkDgHZ5nbOTKTOSfF0WQ99aRQ8tG6oXQnfH8nKB8P6Ip1QQ vki+P/F7lGO89PIBlhreon9GOR+CCj/TXHcUN82KooyhAPjU6fCntl2qC32YG/j/uoFb duEgplwBVgkpUSq4WfMhds1qTuATRqqRnhZCix6mGniNE75RunuDGohNNYuyF+31hLX1 FuRA== X-Gm-Message-State: AOAM531j8n7yX/oSFT54vS7fcByFoCW9LjMXkfwwCZy8x6wcqRStIZwX HpfXpm9Dk75NHgDGCRHskE+y9A== X-Google-Smtp-Source: ABdhPJwafBX6xg+Ed3ia5TSMrt86x9ev9+afIIt+AnDrOjprC8n0qxxdyig99LtjYfSZ05H+x+P7LA== X-Received: by 2002:a17:906:447:: with SMTP id e7mr8976629eja.172.1611232570726; Thu, 21 Jan 2021 04:36:10 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id s18sm2742124edw.66.2021.01.21.04.36.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 04:36:10 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 1/3] arm64: dts: zynqmp: Add DPDMA node Date: Thu, 21 Jan 2021 13:36:05 +0100 Message-Id: <3d11015512a085592f2aca76eeddc04178d38bbe.1611232558.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_073612_485632_1988AFB8 X-CRM114-Status: GOOD ( 13.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Laurent Pinchart , Kalyani Akula , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Laurent Pinchart Add a DT node for the DisplayPort DMA engine (DPDMA). Signed-off-by: Laurent Pinchart Acked-by: Michal Simek Signed-off-by: Michal Simek --- Changed node possition. --- 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 3ca7e4ee51b5..c676afc95f6d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -227,3 +227,7 @@ &watchdog0 { &lpd_watchdog { clocks = <&zynqmp_clk LPD_WDT>; }; + +&zynqmp_dpdma { + clocks = <&zynqmp_clk DPDMA_REF>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 66d53521ec58..f12cd24adbee 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -847,5 +847,15 @@ lpd_watchdog: watchdog@ff150000 { reg = <0x0 0xff150000 0x0 0x1000>; timeout-sec = <10>; }; + + zynqmp_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>; + }; }; }; From patchwork Thu Jan 21 12:36:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035949 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 D2101C433E6 for ; Thu, 21 Jan 2021 12:37:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 74438239FD for ; Thu, 21 Jan 2021 12:37:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74438239FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jEyH4rozMuFiGDxb+k6Fsyn4fcpjqVGVnJZdaHXtmLA=; b=u7qZ5SagZYnXX8H3gHiXZCH7F 6pLL0eKC+msK8pZMBDMyGqrere+Y0dwTVfqqUJhOYr66HZX5aDjv7edWtA66v5WdPLlkol86At3My 5cTXdWtgWqIa/+PBIXp20GAxp2A/B66H27qbB79vYPvDZQIsfG5NjwTYjEsxbAHjaPIgZEjo5fIrT YHtRTqFNyqWHa+NT9UET8Us8frKZY/sGa7s3y3amR5bZyxIKb431rKjbB1KVm4RYkj6ng5cyxh5ey RYFWhRjQFAA/2myLb+mMsOab+v+kUqCkCJX2kZTjyLZpgE+YhYaV28HI5xX0eZivyLRZT36WeyFv9 Ah9NN/HOQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZCG-0006I6-CN; Thu, 21 Jan 2021 12:36:20 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZCA-0006GQ-2x for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 12:36:15 +0000 Received: by mail-ej1-x635.google.com with SMTP id ox12so2387110ejb.2 for ; Thu, 21 Jan 2021 04:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YTFXwXdhA76nlO7wgXmqDdaEsv1ovAQtRZb+8A/uvFc=; b=UgEuEx3c7+UKHNwa/u1l/T8bA0/okmbKRJWRNfPLbF+zXd0deLCXrU+2uChBcozEzR 4VVrkVHWu86x/DSx3bGnF9FOIVWJYwZEo/c+rM0TSlTnNbiRCybFFFmIJfh7wv721Tki flLMvIhNTiGxmU0qQcFbivhPfyJQK9fxtlVCSYQCH3qeOHQAfpSevXVEi5bXrQ1Dspkc uPabyefAfcaZkHM+IZJ8KucYGczREA+5br8WKqzw7fiHlS4xZMbwblqjzhdGDiE/5HLu qe02o3EPjeV9Wa8Nnw7wOJ1iirrZVlSSjpYB5fjeqHsHBSENK7k8+Qzekmt4xwBPbifT Gd1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=YTFXwXdhA76nlO7wgXmqDdaEsv1ovAQtRZb+8A/uvFc=; b=KCrCOhDpmmFutInD7JiTVz7ntCXDSbbTAr2hja1auHhC9Zt6MDtymKUlPh9mtdCgr3 KZrjmCCy94zfQJtynnp1UW7IOAMuHgEK4muV/ldN86Mc2ECHKnXlBWZb7xyymfJWUZkI z83g9ZngRGRS4Ah/c7xtzT46aKYW62a51YF1XHS+jhlseTHrIMfPHKayKFaWsIdSjqCf MpQlkwC4cBcxbspwiQPzE7xkLCVXZOHBEGZ2YUN9jadfOj4gtqp6ScdoY2bT1eIJH7AY 1bFcRmKtQe1MbBiA0s3MQGe/O5bYumbafq3YnhdZl1POejcoxU0BbND1dn2tZfqBRKsA YtCw== X-Gm-Message-State: AOAM530LS46rilQteBeGm3aCdDDlphOiZlmDbBWMtTVW8gPBm28hCIbB TWOaXYhOVW//vewygmZQqwK3Dw== X-Google-Smtp-Source: ABdhPJzFiSdExPMCSf+KXkZzrlZ4imxwer+cNiCwygFGHnjU5txkAzkYAqarN/Ln18I26XOe5E8AMA== X-Received: by 2002:a17:906:5585:: with SMTP id y5mr4729152ejp.486.1611232572459; Thu, 21 Jan 2021 04:36:12 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id z1sm2754108edm.89.2021.01.21.04.36.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 04:36:11 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 2/3] arm64: dts: zynqmp: Add DisplayPort subsystem Date: Thu, 21 Jan 2021 13:36:06 +0100 Message-Id: <4d978aef852cacdfb35aa8e50d648a787e73b90c.1611232558.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_073614_177707_C6D04858 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Laurent Pinchart , Kalyani Akula , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a DT node for the DisplayPort subsystem, a hard IP present in the Zynq Ultrascale+ MPSoC. Signed-off-by: Laurent Pinchart Signed-off-by: Michal Simek --- Change node position and label. --- .../arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 6 +++++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 22 +++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index c676afc95f6d..cf5295224750 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -231,3 +231,9 @@ &lpd_watchdog { &zynqmp_dpdma { clocks = <&zynqmp_clk DPDMA_REF>; }; + +&zynqmp_dpsub { + clocks = <&zynqmp_clk TOPSW_LSBUS>, + <&zynqmp_clk DP_AUDIO_REF>, + <&zynqmp_clk DP_VIDEO_REF>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index f12cd24adbee..a3b391d18787 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 @@ -857,5 +858,26 @@ zynqmp_dpdma: dma-controller@fd4c0000 { clock-names = "axi_clk"; #dma-cells = <1>; }; + + zynqmp_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"; + power-domains = <&zynqmp_firmware PD_DP>; + resets = <&zynqmp_reset ZYNQMP_RESET_DP>; + dma-names = "vid0", "vid1", "vid2", "gfx0"; + dmas = <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO0>, + <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO1>, + <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO2>, + <&zynqmp_dpdma ZYNQMP_DPDMA_GRAPHICS>; + }; }; }; From patchwork Thu Jan 21 12:36:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035951 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 325A2C433DB for ; Thu, 21 Jan 2021 12:37:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 C2EC1239EF for ; Thu, 21 Jan 2021 12:37:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2EC1239EF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BfTlJ3Z88TC0I+Aj/BcU6YdfGJe8xWjdnxhm0hrMquo=; b=U8iHWrq+50mB/LHUWj9LHuCyG u1PgU4TxyZyZ1TgCZ3CFlx7OMWLCwJSUM46/gL4JpOlz1xLd9pp8JS9bY/yET5FXu8vRpYBqBRmLq KxQtZ7xinBSRTg4EtKHEexk7C99umLxvP48yTTOi+GDgpEj3PpU5F6PYHazp6AVb11rDflpDKLYh9 FwxuY98E5TLncGte3uR1jcLof8t8qJnASbFFqWvRuI7WYXE3xGyjm+arEKHJtN5kcdhZ6qayiMFRB vHBg7fspG4JhyOBJRxQl4Thb4p4Ne0Ko9GjxVke66VI+T7n9iIwD8cQd7XVqrTmb3w1bSvyFEFVPX XLf3Ls0iQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZCI-0006IU-D5; Thu, 21 Jan 2021 12:36:22 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZCB-0006Gz-Jv for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 12:36:16 +0000 Received: by mail-ed1-x530.google.com with SMTP id g24so2231560edw.9 for ; Thu, 21 Jan 2021 04:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yvQMuexDbhMSXwYbNjPquFBOfzpSEFh9WcFXAwIfqIo=; b=RPjMKN4Cw7l30TUpPlC9C10+HLQlZRMnvHYK3X8rEmCC+WQrV+eWSrXQ9l0ui3SANf MJjjskuZAza5KVUrz7ha5z8poBzPMTJDhaBN7H+CCEVHCCo4lE6Fjdhiefits2l/4kSG Q2vW5uXdVwpMp5tzQdtNQ6YMe0fyM3rffOy4K844a+jwQ5qAA6w5an0KTHE3ZpiNdh6d RP+04glJ1qdkk3zIp2vwTEaq2Y0kAxDh+iBWTuvTBVEmJMKKgYFoPF38IHXhDRpA1oQR g68L2UmN2aJsxUtlIBMvwO4ge5+pjofs/YT+2Tt4mFzKAila7jRyionzi45/IyiIjimQ DYCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=yvQMuexDbhMSXwYbNjPquFBOfzpSEFh9WcFXAwIfqIo=; b=habX6E4ynWBnmlxtFbYfEYGfT+eRkRhowE05EQDRIX9pj0QmBp+OT2dFrGGIkU0llq la+o2ogIikPZUu3c8nKFiwmsHBtY8P24ywZfFmrOG0MdCOk2M69KVQ27Q4oXDVO90s5T WzvJ7Z5hmdLFM68EtqERK1QE+/ysJS2qoMcMn6cFJeWYrcwCjy0rLxE/I+5pimdOpPIf DNeILdaQyPG/PxJ130Fmsi7oSY2AOkx6u1Z1kqoPMPJ5wU7fxVFbSXoqOrYVwNCYkqKQ mkNnpcxWNskMUKDxvLtGU+SwwTDy8eS2VgUejwwmkbmxyGHYGoLCvu/KGg4LzHWUNhii dFbQ== X-Gm-Message-State: AOAM533OAJH7zZ4R9MmnH9QshaKoU8Zlw6di4WUDj9p2LaFH+/ODiazn WPJvfDXRFEU78vCsm1C1ltmYQA== X-Google-Smtp-Source: ABdhPJy6IVsFSZTBKZ2z3IxDESTrY9sQpHaFjC+3KqiYDyRYVVmhyPMbbr8z+Qbas0Z4odhzdxoJYA== X-Received: by 2002:aa7:d8c6:: with SMTP id k6mr11070408eds.265.1611232574012; Thu, 21 Jan 2021 04:36:14 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id gt12sm2168052ejb.38.2021.01.21.04.36.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 04:36:13 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 3/3] arm64: dts: zynqmp: Wire up the DisplayPort subsystem Date: Thu, 21 Jan 2021 13:36:07 +0100 Message-Id: <9769d4d103b6eb75e3324825117f6832a746004e.1611232558.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_073615_713840_C2ABEADE X-CRM114-Status: GOOD ( 15.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Laurent Pinchart , Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Laurent Pinchart Enable the dpsub device and wire it up to the PS-GTR PHY lanes routed to the DisplayPort connector. Signed-off-by: Laurent Pinchart Signed-off-by: Michal Simek --- Wire all the boards --- .../boot/dts/xilinx/zynqmp-zcu100-revC.dts | 31 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 10 ++++++ .../boot/dts/xilinx/zynqmp-zcu104-revA.dts | 11 +++++++ .../boot/dts/xilinx/zynqmp-zcu104-revC.dts | 11 +++++++ .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 11 +++++++ .../boot/dts/xilinx/zynqmp-zcu111-revA.dts | 11 +++++++ 6 files changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 71ebcaadb7c8..a53598c3624b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -15,6 +15,7 @@ #include #include #include +#include / { model = "ZynqMP ZCU100 RevC"; @@ -108,6 +109,18 @@ ina226 { compatible = "iio-hwmon"; io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>; }; + + si5335a_0: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + si5335a_1: clk27 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; &dcc { @@ -224,6 +237,13 @@ i2csw_7: i2c@7 { }; }; +&psgtr { + status = "okay"; + /* usb3, dps */ + clocks = <&si5335a_0>, <&si5335a_1>; + clock-names = "ref0", "ref1"; +}; + &rtc { status = "okay"; }; @@ -295,3 +315,14 @@ &usb1 { &watchdog0 { status = "okay"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 1>, + <&psgtr 0 PHY_TYPE_DP 1 1>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 9abd10f6785a..12e8bd48dc8c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -714,3 +714,13 @@ &usb0 { &watchdog0 { status = "okay"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0"; + phys = <&psgtr 1 PHY_TYPE_DP 0 3>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 8ede619fea52..5637e1c17fdf 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -224,3 +224,14 @@ &usb0 { &watchdog0 { status = "okay"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 3>, + <&psgtr 0 PHY_TYPE_DP 1 3>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index 414f98f1831e..7f2e32831b05 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -280,3 +280,14 @@ &usb0 { &watchdog0 { status = "okay"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 3>, + <&psgtr 0 PHY_TYPE_DP 1 3>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index d60a30787022..18771e868399 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -156,6 +156,17 @@ &dcc { status = "okay"; }; +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_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"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 758de05c4a4b..d4b68f0d0098 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -584,3 +584,14 @@ &usb0 { status = "okay"; dr_mode = "host"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 1>, + <&psgtr 0 PHY_TYPE_DP 1 1>; +};