From patchwork Sat Feb 25 08:38:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2733 Return-Path: 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 AC8B33F376 for ; Sat, 25 Feb 2023 09:38:35 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id cz22-20020a0564021cb600b004a245f58006sf2123680edb.12 for ; Sat, 25 Feb 2023 00:38:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677314315; cv=pass; d=google.com; s=arc-20160816; b=cvbC/avVoVGM2duHeG4vwr/5b265Knchm3u2dCazfocL7QzQDv0Zin0YO2W3bULg8r j8lx1iHNqXUDFL5MHmvf7KXqYuvZiwNT4KZKLTAd30gIkLZi2eDfGqEKvs4gmZtFEnzU 6KsBPxfJLMKXb5Yw7cMRsCQfLeXJ2XR7+xins8N2tA7/nr0PidpGOq8ZWB+pH/xBOK6N 1SBI1WgqE2FpJRkXAoQ3CdbYjRVDBwDVHaSYJ4UEWdu26sNGZwS2jk/HFLplPbw9unA8 Ceuz9QTe5FJWgjoJJntWsIB7LGllzvQ+cE07/fAh9mbu897ckudjlGI3aevUu5LsPlb7 MwZw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=AxVdwTDonhPJKYLHH5MAFQCHiQVj6Yy6WrJWQQKcvk4=; b=G2xt+6hhwqPpDeSKHbH50r8rqfrP0q+1fQpoZWdnkHXPxjv7X3Z4rMbt8t/Yt4hAWo kU5Xq5v4Ja73bhJFD/9WpkwhGPoV7U9FqxfAsv+CXxZJyfnrofFuLgEfJ9ePXU30YLWX Nti26qgo9u6ff0g1LLdCOROWJfYnrTMty3nHAZ1T0Cx9qVwIzmIC/V6/hwG0xXaB5JGU zJxP5NVEoV7Y5hTyWevg6HCIGjgXyxYvh3Cs+dnlok1299kRavgnIG91E6cRXQOWDEud 0HTF4sBvFvL0e7dC4ukkz/wLsiKJU+eQAbLKpq09SO/5wmtrZqAXBxLxA/X5aWX3UNXZ 92AA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bXahpF7N; 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:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=AxVdwTDonhPJKYLHH5MAFQCHiQVj6Yy6WrJWQQKcvk4=; b=LJb2oepeOSaz44vGWEAGsvbt8Go43+lb8BwTTySFcX38L3xNcbs9eZzeHx8vfBdR/m JWWIQ64mBwAGmltfD0/W5UDuzoLQ0v35/7n93bpaUJcIPUKn6L289HjDTlVYgiNsGlyP 4xFqHyzxncW9gBW3Z9q4RjItgEwDzhCzSkIJg= 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 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AxVdwTDonhPJKYLHH5MAFQCHiQVj6Yy6WrJWQQKcvk4=; b=i0Hq7M8NQ1n4QSgG1Uy/vPX6Q2rw9wumVj+5DJpn54yuEZhokydloaOC/kQMtYD/Wd 15G0+QWw/gAK83Dy3QxcVStTRn39niGAcf5ovOtqPueKPx21R1eSbgeckmcKlGuMC6XL 5xBSoxFpCTYV3xwcQ2qWXJl68yQ4FYbppUCo+w/Yfp2lYygwPCMyJRgm6jR0e+Wd/Nua H0uNbrwEYV3bvE7RwM8LTfGFe9WJLCmwqpGHKoqDz1Xg8h1rtffeHnrLvh2L9Teh2Fp0 5hdtmlW7LJZ4ZxCHh2/QOOvG5cY02ovyTNrr473EN3DWPcLNIaUfd76NThGOvOyfoPkh sLHw== X-Gm-Message-State: AO0yUKW0g5vBBXK7sudg6LGPNLb69eDnWwzRJiEY4aRDRqsCUdawvbUB eI9MjeiC64JU/KEIObnTDE294YG5 X-Google-Smtp-Source: AK7set/3DTjx1ZRWVepiskQGEtjBkNw2vS1OcPuxECNd40c5AMZ3/MRbcC4RH89i0OhoR4FfwayfWA== X-Received: by 2002:a17:907:988c:b0:877:747e:f076 with SMTP id ja12-20020a170907988c00b00877747ef076mr11738652ejc.0.1677314315342; Sat, 25 Feb 2023 00:38:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:3495:b0:4ad:73cb:b525 with SMTP id v21-20020a056402349500b004ad73cbb525ls468551edc.3.-pod-prod-gmail; Sat, 25 Feb 2023 00:38:34 -0800 (PST) X-Received: by 2002:a50:e604:0:b0:4ae:eb0f:4220 with SMTP id y4-20020a50e604000000b004aeeb0f4220mr17686390edm.38.1677314313949; Sat, 25 Feb 2023 00:38:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677314313; cv=none; d=google.com; s=arc-20160816; b=lH38+R2vmd0iRg6Q6w/2J4Q6KvTMsamlHIlKAloZFV87NOdJfhhZUBD4ijmMAro2Gc 2g79BMe+8Zqw1unt0gKyKzGJLnG1KASCE1mDQXFAJaPalw8ahclNTjfdOETeXWS3EIGG 3eY6/odm6JZnKzkld+RhlnEdUrJn9Ngc0cMmRD7L/rjdLH9LuSOaOXRo21vK68ydAQsV Jc6UgyWMPb/L0xb6nu5aZ/RtftGE42gGm2A2whXeefoynFqwTKWk3p7RCXmWRd5NXiGH Obl/DKmMt9saAmB1VkbVWeJmCkuaZH9q7jpLIdICNACi8IN3W9rQV90/mvQWN/NBwrIm a4+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=W5WE2lgXlU5svI0v+2gKVWSmfqxRGe6eVJrKGF1JhHQ=; b=RfjAY7+y7ONqfDzVkf7mIVetRaJN64IaFYwHDahC7hFU6Tte8lzi7CIEUBzNoWLI0E qXPJtETSgb9+xmZLWX/wO6yf+oJq7KcsHJuZ3U++wNiJjK58F0pBog5lu33E6gA08vuZ tWIfv6E8OyNZ2ySkyfjTpmKezHwteVMtlq7n9bD5KRp3TGew5eoubPMonDc//tz64w0f 0X1oUCq6ElJfUJmxhDPgvlK/4QtyCo59JXEF4p3VCztMBIUBN0Te3aTCs66XuxaNc14N uCFUXh/t0y6DYT/dswbaC9E9SEPHqxU/ECt1/FG0Bbvpd9dZestVcr9mG7ur9y/oCz2n GINw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bXahpF7N; 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 s26-20020a50d49a000000b004a22f0d83cbsor581468edi.30.2023.02.25.00.38.33 for (Google Transport Security); Sat, 25 Feb 2023 00:38:33 -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:aa7:d407:0:b0:4af:8436:2f3c with SMTP id z7-20020aa7d407000000b004af84362f3cmr3994388edq.30.1677314313634; Sat, 25 Feb 2023 00:38:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 00:38:33 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Lukasz Majewski , Sean Anderson , linux-amarula@amarulasolutions.com, Dario Binacchi , Fabio Estevam , "NXP i.MX U-Boot Team" , Stefano Babic Subject: [PATCH 0/3] imx6: clock: add support to get LCD pixel clock rate Date: Sat, 25 Feb 2023 09:38:18 +0100 Message-Id: <20230225083821.472605-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 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=bXahpF7N; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The series adds a function to get the LCD pixel clock rate. Also improves video PLLL rate calculation. Dario Binacchi (3): imx6: clock: improve calculations to get the PLL video rate imx6: clock: add support to get LCD pixel clock rate imx6: clock: print real pixel clock rate arch/arm/include/asm/arch-mx6/clock.h | 2 + arch/arm/mach-imx/mx6/clock.c | 66 ++++++++++++++++++++++++++- 2 files changed, 67 insertions(+), 1 deletion(-)