From patchwork Thu May 5 08:56:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1626801 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=LELtrEYV; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kv6y014Hlz9s09 for ; Thu, 5 May 2022 18:56:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D01783FC8; Thu, 5 May 2022 10:56:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="LELtrEYV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 60F7083F99; Thu, 5 May 2022 10:56:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B822483EFC for ; Thu, 5 May 2022 10:56:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x531.google.com with SMTP id g23so4399752edy.13 for ; Thu, 05 May 2022 01:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZlrtP5gzVFJN8FBHs8bU2t2I8NfIHjzpjyRxALem6d4=; b=LELtrEYVNeEgD8rlCRXqaRBWzJ7XI9ZyHs2HgzeX+zQGyDrQrMuh6XUWa6zFwMh/ZC GsGux5hZrP241n4M+EplxKxK7E2C37nimlb01Ri5v04CsP/SZwAjnw1c3fA+OafT7KdB R70cDZkZpwtMgSHaO0stgR0mMNdtMSlh9WfBiSvQHdx3CAXGyQ3h8QihyNFsaphGtcMz J/NgFgkox+ue/5+VeJiq5HircP/giGGV623mo5rvE2raZtvLy70Eo4OB/1Dt8HMR4wPA 85UuuLAZ3QwC1zKzI2zClatmwbnWJPbMWvP5T7pUbY0qlTzn7tCx/nOyAzD/7EW77L0h AH9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZlrtP5gzVFJN8FBHs8bU2t2I8NfIHjzpjyRxALem6d4=; b=lt6V226Or0DEluduA+bZu+pzh+3gX+Hsq0K1n79jGF1lnzpTiHDduZVHuSj2cNjVhs GlzgEWTHuL5qQXLWIG3TGyIaz1epS4I2AqZv/2rSOjibvM7fJ1e9YImGgKz0AmEzbjKA xaqQlykfpBp+3do/gKN4QLDhQON3PfOTm3Tuwk/XCQTx0fSSUfo14bJbLeuyVvXc+zOy 2elS2W+5RCvnCEpxoHrL16eVw6aZDFeL0AOhkbVoZ7hpdtoU5Py4W+eaFOaoOTKWky0d /cCr12stouluW+XP82fTdN3DmYjJyMwDx0bJ2RIPQlv6K/doOL4PbolHy6J76P8zd/g7 WJuA== X-Gm-Message-State: AOAM532nnr1MaVRiuMjq4r5x3/YEN7pEOat3/xPVitBubhfd1fuDmUOT 4vqxVGKXT1CbjMKPlxwaHzTJ6xdJWftwxw== X-Google-Smtp-Source: ABdhPJwIjuU3143HAzDcJuHYNoHOoxuhLdxe1TvWCeVrQnmcQ9GidOMOy6g9j1AhyRLpPLTRzIG8MQ== X-Received: by 2002:aa7:dcc1:0:b0:427:e1ae:d822 with SMTP id w1-20020aa7dcc1000000b00427e1aed822mr13824098edu.353.1651740991077; Thu, 05 May 2022 01:56:31 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id z12-20020a170906714c00b006f3ef214dfdsm495075ejj.99.2022.05.05.01.56.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 May 2022 01:56:30 -0700 (PDT) From: Michal Simek X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Neal Frager Subject: [PATCH] arm64: zynqmp: zynqmp-zcu106-revA: Fix DP PLL configuration Date: Thu, 5 May 2022 10:56:29 +0200 Message-Id: <62538b4a04dee28a6fc8ac5b85f8c845a5a76aa4.1651740988.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Neal Frager This patch fixes the DP audio and video PLL configurations for the zynqmp-zcu106-revA evaluation board. The Linux DP driver expects the DP to be using the following PLL config: - DP video PLL should use the VPLL (0x0) - DP audio PLL should use the RPLL (0x3) Register 0xFD1A0070 configures the DP video PLL. Register 0xFD1A0074 configures the DP audio PLL. Signed-off-by: Neal Frager Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c index 15f0be1a43ad..cbc436289f55 100644 --- a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c +++ b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c @@ -81,8 +81,8 @@ static unsigned long psu_clock_init_data(void) psu_mask_write(0xFF5E0104, 0x00000007U, 0x00000000U); psu_mask_write(0xFF5E0128, 0x01003F07U, 0x01000F00U); psu_mask_write(0xFD1A00A0, 0x01003F07U, 0x01000200U); - psu_mask_write(0xFD1A0070, 0x013F3F07U, 0x01010203U); - psu_mask_write(0xFD1A0074, 0x013F3F07U, 0x01013C00U); + psu_mask_write(0xFD1A0070, 0x013F3F07U, 0x01010500U); + psu_mask_write(0xFD1A0074, 0x013F3F07U, 0x01013C03U); psu_mask_write(0xFD1A007C, 0x013F3F07U, 0x01011303U); psu_mask_write(0xFD1A0060, 0x03003F07U, 0x03000100U); psu_mask_write(0xFD1A0068, 0x01003F07U, 0x01000200U);