From patchwork Sat Mar 6 23:09:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12120379 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.8 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 7AB9CC433E6 for ; Sat, 6 Mar 2021 23:12:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 09CF3650CF for ; Sat, 6 Mar 2021 23:12:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09CF3650CF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Doysh7mUYcaikQYdknhhHRo5l0P8oamYhajiIatpNWE=; b=bpmV68A/8KitglKBonwiET/to6 R8J9ZbDwLI4kyuhsyDGBGaohiRn3HKum5G2tfYbaae/T26KP+QHmUpJkrH/EjdUSHojWvZ3FH9pFP Plz5Pm9fINH7RdOQvVIjBu2E7TND7cs3C1AOiLBoORqYJduXpoQmcV+Q0mbfB1a+HiDuA5Og8ByzU Q+7lx02B92+3MLgyoW1hnFRqykXXzbLCMc5oL2DkWVJc86aoGk1Z6h7aa5Qev16UiZg8C8+Tfhau0 3yD7dRlBPwWLeETyKvt6rVqQn9mz8OaupneDNCat3aGW4YGiFr7FSyfHU4+Xkl1U+cG3ZyvNVuQSE E7TNH5Zg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIg3g-005gX3-Fj; Sat, 06 Mar 2021 23:10:04 +0000 Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIg3Z-005gQN-OW for linux-arm-kernel@lists.infradead.org; Sat, 06 Mar 2021 23:10:01 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 62B0A93; Sun, 7 Mar 2021 00:09:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1615072190; bh=+xTOyMEuDOo8a8cu9VajxJEMWutnZFbuYaF31PCl3DI=; h=From:To:Cc:Subject:Date:From; b=usVZk/ASj6cOtcmL9XUSJ6XMSH+J6/5TqEI8ygJ+2ErSYXWQpkhcXejJzxnSqEbi8 B83DS4LilaFsOtjk6rRkbmCc4KdGkgp8bXbxoOba2o8LECMy28kjSqvmxpWSro0Tgc zNBWv1+6QszaMUFkK59UXt2N052luC2NpkIfkc+E= From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org Cc: Michal Simek Subject: [PATCH] arm64: dts: zynqmp: Add power domain for the DisplayPort DMA controller Date: Sun, 7 Mar 2021 01:09:15 +0200 Message-Id: <20210306230915.14979-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210306_230958_680174_13247B20 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DisplayPort DMA controller (DPDMA) is located in the same power domain as the DisplayPort Subsystem (DPSUB). Specify the power domain in the device tree. Signed-off-by: Laurent Pinchart --- I'm actually not entirely sure about the truthfulness of the commit message, as I haven't been able to located this information in the reference manual. Nonetheless, without this patch, I get a clock enable failure when starting the display: [ 70.517104] zynqmp_pll_enable() clock enable failed for vpll_int, ret = -22 [ 70.527552] zynqmp-dpsub fd4a0000.display: failed to enable a pixel clock I'm thus quite confident the patch is correct. If anyone has more information and would like to reword the commit message, please feel free to do so. arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index c113c76f360d..dc5c3a09c77e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -749,6 +749,7 @@ zynqmp_dpdma: dma-controller@fd4c0000 { interrupts = <0 122 4>; interrupt-parent = <&gic>; clock-names = "axi_clk"; + power-domains = <&zynqmp_firmware PD_DP>; #dma-cells = <1>; };