Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10844C7EE2D for ; Sat, 25 Feb 2023 08:38:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 15CD7857E3; Sat, 25 Feb 2023 09:38:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="bXahpF7N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 67E1285B68; Sat, 25 Feb 2023 09:38:37 +0100 (CET) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 462D885B6B for ; Sat, 25 Feb 2023 09:38:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-ed1-x529.google.com with SMTP id o15so3891870edr.13 for ; Sat, 25 Feb 2023 00:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=W5WE2lgXlU5svI0v+2gKVWSmfqxRGe6eVJrKGF1JhHQ=; b=bXahpF7Nb9YCHgp1xpg1yYD/ZT2iPrWnglTBMUVd2dYPVAhmvuNH98UcF0DEELWmd9 yiNNMtbD6U1IQyN1JzMdu5XbDR7FIjdJbzXkBMsBYDqnHUiGrIncNBtKJcgJYdGSct1o CUxsseeooVVpsxKt881qr1yLV83losckRwKak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W5WE2lgXlU5svI0v+2gKVWSmfqxRGe6eVJrKGF1JhHQ=; b=MsAeIwqxLinbiA5YUwcpnKAaOqHx18Tu5WTNkbxFKrDlSQjiBcgrQ05NMAybt1+WYQ Ezu16tGfNdMS932lPSvXPX0zsbXGQXelf8VTJuIJR5cfpfmC7eTcpsHsvRdmaLiss2Cm 7b6aqfFbHtEczOmy94P3sQHc7bAWj3mZ5YGCPf2qXfI9+p8xQdQCsU8gvYY5JjEwk+J7 VphoBKBAvwi+ZEtO6w3L0joD4TUeBWlZaEqI83xy6W8N2h2xVtoLINww6xd3ik2QhJDu CMY26+NbXsJWdkVUg+LtNRZGunttC2FdHtX+SBF2qIO3W6I104zDXPB+JMWi/KjVlX9g 9qyA== X-Gm-Message-State: AO0yUKWOB5lr4yBPB0/e+6p/d+7lm6nCKdQmlaF8xdSVhXrC9JTt18MG MCNSNiC+JJRzTU2wyabM1EjJEesnBd590agYPWs= X-Google-Smtp-Source: AK7set/iQZIwYzpqhIKHGPdFhDn30+unHpNPDiuSHRrvbyLhCaG0cggFxGSM29pIWsL7zWvCm2ur2w== 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 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean 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(-) -- 2.32.0