Message ID | 20230422141119.618453-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBE6WR6RAMGQENSM65TA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A0FCA3F334 for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 22 Apr 2023 16:11:31 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-9532170e883sf305172166b.3 for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 22 Apr 2023 07:11:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682172691; cv=pass; d=google.com; s=arc-20160816; b=CgUR0P2LtlbkPPqm0IjDy7dbXjs/ZKB29nvIhsLGUt0k6ekY2XSom7Jksc2PGFuugX qOcSu/RiO+DbAMOB/sOISDHXMja7GyTvCtb+VJ+59mePCCIcc3MS4TP/6boVQN+O1BpX db+irZ8gHeJTg0+j7p2KeT+N5SzqZhkRRQA+D5t+flAEqCyzbQoCkO+tXvYU6Q6NjGxw zyO6teXgDx7CEsLyET3dLW3C9hWJdTkCmnj8xib1i8nrlnN6gAgLb808a1aZz4dialNy xoQstpMp6AwSTk2PaCTSV0aFDjsNXj5ZDqAmSZ9Ybz2fK7j4JnPHv7rWC6bl3SUOCW+A ogJg== 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=g280qLsmktN5VFmlLTEfr9qCn6B9HaQ5OhKX77ittA9XyEshXXGcFgBwr7lUSm2bYs OElONNz4H+5rMgpHR6HeeOvbVBuWgWjinXCx3L87K4dOQmmWGxkWKZhM41FlkG7FORXl 0iLUimo1Rml5XQNJSsmQu7AUXMNVJvbQ0audetqbjxIw7YEwNj2x3y4rmg2pM4DkmYTT zfFFa/cBNJQb4OV6ok+sM7i/OTqahMo4dAFOne9bO+Qe65xoYhVy9oE1FVlbNwMPBHFX 9dsn0EPhntIZuizDUwW1V56Vzfvp164pb9jgos6rhlY+yBet2HUBz7H6t7yYy6orly0T uCYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UyN5d9Iq; 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; t=1682172691; x=1684764691; 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=OZyn4KEcdy9Z9np427v9sYwcDND86LavQTBShrDcVKGXgOA7pymqlzDojG/gyMzUxf 6q90FETAekfGapl1tNqupyqwW6IFyP9SVAOSpnA7RK9SUtBXfo1AqGCIUQgbIoXJxTRM 6iblYtWRHCS7sot28P9PJOfQSBfXH/vrwYDl8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682172691; x=1684764691; 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-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0UlzovGeaHx1CRlnbQUGXCJzm4DyxE47yyD7nrCSGes=; b=Kw0qULmwCawQ5j4kO1lm3VQ3j2jADzq8he+4CGaCQc1gCDdkJk7q+IJIXJQl045zsS 5m8aOPUiqHGGd2hT2X+WA/QXIZHkIe7MBvfl6gYdtWyPx62JwJQJofcloj3BzFG8CJ5e sOzt588nIMWHc97UWqCwezNuuF1lOl+g8ia2AJuqM+JMWqdUYB+QIZr5dRiEYoSyRSG3 O6KgZXFRFwBn4nkiWaJYrZ4gSEtG+cetiR4leBZUcJecf+xrA8nTR7bkRRRerw/5ZoG7 e1LfJ3gHXQoQ75PlQ+Ve7MSbzH49Pi6qdKgIGq3X29PhWMOkp5IXHLoeUOeQRLZiubyN PspA== X-Gm-Message-State: AAQBX9dYwd5mT2gQrCOAWPAERkJ3DRdo5KPEs5zC002m3bv7OrGJyoe2 A8zRz/O0RjYU4lsAhBwYZn5RNdrh X-Google-Smtp-Source: AKy350YV41QKvvytxlotJXSQeFnoRu8UZU/WjbhdQsdeLODZjFxa5GHsCIXZaRX7PKpqMuURjgcRng== X-Received: by 2002:a17:906:6b83:b0:953:8cab:aadf with SMTP id l3-20020a1709066b8300b009538cabaadfmr2325970ejr.7.1682172691344; Sat, 22 Apr 2023 07:11:31 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:3099:b0:94e:cd76:edae with SMTP id 25-20020a170906309900b0094ecd76edaels5033285ejv.1.-pod-prod-gmail; Sat, 22 Apr 2023 07:11:30 -0700 (PDT) X-Received: by 2002:a17:906:b314:b0:94f:3521:396 with SMTP id n20-20020a170906b31400b0094f35210396mr5287167ejz.23.1682172689528; Sat, 22 Apr 2023 07:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682172689; cv=none; d=google.com; s=arc-20160816; b=tNKWeV4PLJbvYU4kt4VjqGgboJa+5wznfJU7jRdvpuVhthlwsPrTK/HORUJqIvBO5/ E8hFMrFAB5m8EcK+GwFcXPpwtNoMuCA2rzdC1myDLuieHMRDPCAdZqFfbdJ4gkVmXcv7 /ke7qJptzf1wNjKP4E/ETgAvMHCYiaZgP5o2hdbK2iUQ2YVZuqh9TfOa55leL9+rmoqO JnXPjTwUw553A95DqafyEaDMLtOQhzL94++xg4wy+7SLqjrxjpJpkbgtgPFfTyPeIdEY ENJigtczmoq990NfuWwgPDUwDjE+eCVk6T6yhKEQvMKOaEVF61RROY3duwiffJZwhihr hHuA== 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=HFEBHNLZHvLAqgApM7R+QkFQIwStP1YCNSPyAM0QZc+WloAhdZxP5DnyeVJyJI89ce ocwjSGYnw+sPLVJYpsmV/40z2rodUwK9l4aRmyxmF1cYP5viDWvxLS1ARqMy4C0wq2k8 9O2jGhtkOx2n7pUhAlQ3iQPMKAp6eJkCU/B3mvqAZ+dqdI1i/AxcVaXP6Dwh66EMwR4G VJpd4lVLFcakWvbeKQSNDAh5rgvbElL7ssNQJGTpCubtE1VdOqT/T5qAXU2rcU/AC+XE g/rBw+M7vRJnq2cyKJBj7fNS5K0Y8hoW/d4qnxj9GFxMOAYnN19Kkd8VNXRTg5vko1O8 2jEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UyN5d9Iq; 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 w24-20020a17090652d800b0094effdbe375sor3849002ejn.136.2023.04.22.07.11.29 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sat, 22 Apr 2023 07:11:29 -0700 (PDT) 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:1114:b0:94f:3f92:c7b0 with SMTP id h20-20020a170906111400b0094f3f92c7b0mr5271242eja.60.1682172689193; Sat, 22 Apr 2023 07:11:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-5-99-194.retail.telecomitalia.it. [87.5.99.194]) by smtp.gmail.com with ESMTPSA id de23-20020a1709069bd700b0094f02ebedf5sm3304752ejc.64.2023.04.22.07.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Apr 2023 07:11:28 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Sean Anderson <seanga2@gmail.com>, Lukasz Majewski <lukma@denx.de>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Fabio Estevam <festevam@gmail.com>, Michael Trimarchi <michael@amarulasolutions.com>, "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>, Stefano Babic <sbabic@denx.de> Subject: [RESEND PATCH 3/3] imx6: clock: print real pixel clock rate Date: Sat, 22 Apr 2023 16:11:19 +0200 Message-Id: <20230422141119.618453-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230422141119.618453-1-dario.binacchi@amarulasolutions.com> References: <20230422141119.618453-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=UyN5d9Iq; 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(+)