From mboxrd@z Thu Jan 1 00:00:00 1970 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 66C17C77B7E for ; Tue, 2 May 2023 12:51:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 53E7E8476C; Tue, 2 May 2023 14:47:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683031673; bh=jdo1HrYHRx59P7XP/kdSRl/4ui/HxQJL/6mxQRYbgUk=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=Xt/DCU3z8tCK1J8uMIwU5Kz+VN/gU8q81oThLOkE0KqX3Coi51aR+1heF5IqY7aCt Nkw5OWOOkRFRW0AMZxEmcqDFrnEY6i2kN8mAUZ3H4oSeHbYvqstNFuEctHxDc4SImH cjJRLgMYpb5JAO6Mi41YYqvXwxALtUEFyN6sJii244od9/7xYA0MT1k7EquGQQZLmv weACVVZc+8GxiKsL9zp1Si+DeWoID+yMzXgynRFaTzj808t2IAIz6FGZz5n1+qopY0 Qs9pYBs55773ZNg4WPQjilTs1vByBILWCaIfayKfVbW5uT9d57X6nGJiAbXDktMWAC afFq4vVWT/+dQ== Received: by phobos.denx.de (Postfix, from userid 109) id 2329584749; Tue, 2 May 2023 14:47:52 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 155988476C for ; Tue, 2 May 2023 14:47:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Q9fxd6DFXz1sB88; Tue, 2 May 2023 14:47:49 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Q9fxd5vy3z1qqlW; Tue, 2 May 2023 14:47:49 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 1c3zbqtTSR_0; Tue, 2 May 2023 14:47:48 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 2 May 2023 14:47:48 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1772276 X-Patchwork-Delegate: sbabic@denx.de To: Dario Binacchi ,u-boot@lists.denx.de Subject: [RESEND PATCH 1/3] imx6: clock: improve calculations to get the PLL video rate In-reply-to: <20230422141119.618453-2-dario.binacchi@amarulasolutions.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20230502124752.2329584749@phobos.denx.de> Date: Tue, 2 May 2023 14:47:50 +0200 (CEST) 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.8 at phobos.denx.de X-Virus-Status: Clean > During some tests to check the pixel clock rate in the transition from > U-Boot to the Linux kernel, I noticed that with the same configuration > of the registers the debug messages reported different rates. > The same Linux kernel calculations are now used to get the PLL video > rate. > Signed-off-by: Dario Binacchi > Reviewed-by: Michael Trimarchi Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================