Message ID | 20230225083821.472605-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBDUS46PQMGQEYK7MQUA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BEFD140F4F for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 25 Feb 2023 09:38:38 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id b1-20020aa7dc01000000b004ad062fee5esf2051684edu.17 for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 25 Feb 2023 00:38:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677314318; cv=pass; d=google.com; s=arc-20160816; b=UiWcMbDVNKr1aC5v78CmKr5XUnYTAIkwZCNel3R/LZJUrxTNygqBKPgOi6PJQCAnqY aJwHl7rDCXNIRHzCjQVbDlwjmFOGqzvDi7sATkzMe6EN6vPtAkcKPHD4Ic5ncrTdQEL3 OZ4BThm9u1SHXKq2FYF0IescBSHi+2Na63fIR+KGVo99xkn+XSHucinfbzeKhYddtzzr aXPJKnXv8OrISut49FJCQ8jxVaa3cU84tghXcEx5YN2/GzLxTgTnGIsQfKd8lO1ZCKe5 BhZdLjhVN/o7ehl3r9FOFTzJuFwvfuvDa65fiKKu0BnaJU9Tbs7jeiE7TL7U43W4YOMl MwKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0UlzovGeaHx1CRlnbQUGXCJzm4DyxE47yyD7nrCSGes=; b=CstFAQuVhP+E+NMRAd4k0RMvFDvnzOCUccV8wDArc5CBV05e8lfS7jR6ummUncQwlE mTVKPUaZP3X+PDLNOAvdFKyWV/8mJ1MJMzOe8JYk1N7ZXIIlS3XrOxIoB/+0HmkFhuzV lwUJxJqnPPYUBUAhWTXKcGtri6xk9NXfmyfcJk+l97XaQQBLCbuniAJ8rAmi/k/Gtjyr 0eXDF3H0R6genL7DF+7g138FIX4tEJvRzBsEPDFP6L8IWfNpqY8iKQyF5q40poU//5Aa Lw0u9bhOIv5VWQrhO2UFFsaom990Xp43npaxm87MRtxpsiq6GbVn/Y56P8Oi4Lr6QoEj M2gQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mZKErGMP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=0UlzovGeaHx1CRlnbQUGXCJzm4DyxE47yyD7nrCSGes=; b=VZzeIhJXRasD5njrNyZluMWgWfMk6pTVUmUlEdXfjVV1K89lB3vvsagHAcwVsCnerG 3StWW5e+x6LGooZaAbKAwIbCUmz8fTNpWrMcP5rUeyjo3lsXIAV6sbaG2+SAt5aq8Mnc /kImO69B4YH1YwN27r06XVrxdydYN2yhO85zw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0UlzovGeaHx1CRlnbQUGXCJzm4DyxE47yyD7nrCSGes=; b=2m+dq3vMB5kruSLCRHwsMGaP9o43OhUcRKZrHJzNMpUX8n4gcIox1EcxJhACb6ByNI MlQdA9ekxx4C0OOIv8hiedy5E78f1A7myaqPu8L6spGaAuelX7gAbM4AxGPM2ekhEla4 hrgYBcAPjVbpZxoziQ2bMd7wR/t0RImSY9p9tJaDSXky3Zeq08mca6X2Wq+Ui++4dd0o 3FZRM1vPD6LQjkc6qqobQXl0+fSvSLItBPv/dC+RGGfRU97JZCn1Lb2rOw78YPUBJWAw Lw7YTmaE/AeHXMbZBTiUm28zCrI33nYIk5HGUqmecxMeUqgjn76uJP+942AJl2qlH5bm 3ZGg== X-Gm-Message-State: AO0yUKXqCPCq8Qg28I3XI6/rUQZB6pjt8Pl1Q6u3Eha2mcj1zSQAc2wH XhH2q2xEUo+oKjHBX0sYXAN031lf X-Google-Smtp-Source: AK7set/ZBzHAFOkFU2kuqE7Gopqk8boMNT32aC4wyjdsVsIJisl1QtjohXKkLioi9ncpPwgq4tlyww== X-Received: by 2002:a17:907:1dda:b0:8b0:fbd5:2145 with SMTP id og26-20020a1709071dda00b008b0fbd52145mr12020661ejc.15.1677314318245; Sat, 25 Feb 2023 00:38:38 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:c010:b0:897:68a7:5262 with SMTP id ss16-20020a170907c01000b0089768a75262ls3009001ejc.10.-pod-prod-gmail; Sat, 25 Feb 2023 00:38:37 -0800 (PST) X-Received: by 2002:a17:907:2c57:b0:8b2:abcc:8d9e with SMTP id hf23-20020a1709072c5700b008b2abcc8d9emr24718261ejc.26.1677314316947; Sat, 25 Feb 2023 00:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677314316; cv=none; d=google.com; s=arc-20160816; b=Lk8STck6F9zepFdERZBahwYyTu1Khn22aDbqhSkIcSs50/vaeHq093h8dY1guNU2Y8 EPBMyJ4XGG1FslyaMyl9N6bMqGUYfT51+BJYe9XgAQHZOxip/UCstX08tx/0JBUyRgj1 eAs+rKIzbqULcSBa7vUT0SdPPrs698xvmcjOeTJ8Hh7Dd+wQWV6P5dJ2TCpy5RnGnhoi FlAFV+rAgPijXntfiP+KJNgHxcf+XzGor0HWJLIdEPuYD2zB4ld/l/c7rYzoxKnkCJqT O+CfQmc+sO/yc9iF5sQVicTgJyHKw83SSOyNDDHQBNYy+JVeuLl6c2g0XNy6HAHPu8ny 43eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=me4F0JM7Jds27bWvbPrAN/z1URpB4mxVWlTiCV6oeRE=; b=qX4ey14dsGj4HkYFUqePRijiZN3BrBAwkK7pOomO7d+GXBvqb8klbB7ALspCR9lL3k Wa/cY6QFU3jqXAIS+63e2LAjyRYHEIwApw2GoFIHyOn12+OmKLv0mCeM3/aoSKfiLQio /k3orwugPhqt+xJnUOUejD+CaiktM4vMxig/8XjFmO6hLyAba5gNIixlCy9kuqJzBt1F AEwLlhPmxoKlFn6aOh8QhHuX5dHF2n8no3tJUZEQvtixtnJnHZBzfaf+orHuc996at+W 8D2070hGIKBueJ8UTBUYcC/WDULTnuKUh3MuY0RjW9DNw61mlmlRF6J4/G1IslbbV1ai yv4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mZKErGMP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h25-20020a170906719900b008b70532431asor481841ejk.83.2023.02.25.00.38.36 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sat, 25 Feb 2023 00:38:36 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:5d0f:b0:8f0:143d:ee28 with SMTP id g15-20020a1709065d0f00b008f0143dee28mr11560998ejt.16.1677314316779; Sat, 25 Feb 2023 00:38:36 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-22-12.retail.telecomitalia.it. [82.56.22.12]) by smtp.gmail.com with ESMTPSA id u20-20020a170906655400b008f2b0c6052csm591958ejn.89.2023.02.25.00.38.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 00:38:36 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: u-boot@lists.denx.de Cc: Lukasz Majewski <lukma@denx.de>, Sean Anderson <seanga2@gmail.com>, linux-amarula@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Fabio Estevam <festevam@gmail.com>, "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>, Stefano Babic <sbabic@denx.de> Subject: [PATCH 3/3] imx6: clock: print real pixel clock rate Date: Sat, 25 Feb 2023 09:38:21 +0100 Message-Id: <20230225083821.472605-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230225083821.472605-1-dario.binacchi@amarulasolutions.com> References: <20230225083821.472605-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mZKErGMP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c index 267d86ab4194..1bdc568f9b14 100644 --- a/arch/arm/mach-imx/mx6/clock.c +++ b/arch/arm/mach-imx/mx6/clock.c @@ -802,6 +802,7 @@ void mxs_set_lcdclk(u32 base_addr, u32 freq) } enable_lcdif_clock(base_addr, 1); + debug("pixel clock = %u\n", mxc_get_clock(MXC_LCDIF1_CLK)); } else if (is_mx6sx()) { /* Setting LCDIF2 for i.MX6SX */ if (enable_pll_video(pll_div, pll_num, pll_denom, post_div)) @@ -823,6 +824,7 @@ void mxs_set_lcdclk(u32 base_addr, u32 freq) MXC_CCM_CSCMR1_LCDIF2_PODF_OFFSET)); enable_lcdif_clock(base_addr, 1); + debug("pixel clock = %u\n", mxc_get_clock(MXC_LCDIF2_CLK)); } }
Add debug messages to print the real pixel clock rate, which may not be the requested one. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- arch/arm/mach-imx/mx6/clock.c | 2 ++ 1 file changed, 2 insertions(+)