From patchwork Sat Apr 22 14:11:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2862 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 60D1E3F334 for ; Sat, 22 Apr 2023 16:11:27 +0200 (CEST) Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-94f734c6cf8sf245469866b.3 for ; Sat, 22 Apr 2023 07:11:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682172687; cv=pass; d=google.com; s=arc-20160816; b=qV6HGgjxItFl0w2cmV1/iALTZneGpsrEr15UWaazRTADDEyaBFIyalZQyQN+oxPf0l CVecKhm03iSyd35qDcMe/ly8YgeXBSvqXUg5qsE1jY1fdTtxS5wUzJmJRLQ+5Zx3zP4R S69pskiS/FWQVQ1D/HKc50sKAVNQlFwrpVyg2GwMmaPavs0XX9coEsmlRt1qdYGvA4mR iKGNwnR0IuCM0i7BB/+dFt3U/OqscHUr71a7oTv20DPOyxzi8NWA7XZoHzg7IenIxb0J 4AyIl41xgxX/+KOswch7JOcAZtKvTrR5MPtGTicBUvh5WlEJenYavZTa7s8tMKJ2GGri tOkA== 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=BNC7LvwkjdzFNxH7IkYzfonoThVd51ACxUw/l/aAvr2Ts0n98EG0ZRTlNJ14C+o5fD FuG8uWt+bFnMcATQEeDTvpYaw3ur5cYhHss2j/W0G6nvCZMkXOnScTWrVB3BDFwygbsz ktTWuLZdo7y7dNJCiQxDJmXW0kRnM13EOqiznSXeKP8QX1cSQqCN5kj8ITVsxIKdECvu /LJE/UnZMbZTb2pKZLSgkWX4EGywOlCwH4EcJqV7VQKA8SBzeP0BTYednm1ddXYxYqCC dfIUm2kC0sX6rbLENhEdDeNo2zk40Lo0dF4TabHCm1fVNMmyj476vHNj/RtYUzrzTRi9 73TA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jExc8ehU; 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=1682172687; x=1684764687; 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=FskPnpNK7htjW24H4y9M+tRsjw7Ui1iie5D2M/f5n/njVmGtkAhMlgPcTbG/O3kcjg 6xtU0eWywsL7FnrvmWg+bCZGPGjGLt0vpsPOL/WjaAM3u2VMWkjVc4I8UuObiHiSdXgO RiVsDd/8sHHF+mDok3lTOQqn4eYrpF1pWgs/s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682172687; x=1684764687; 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-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AxVdwTDonhPJKYLHH5MAFQCHiQVj6Yy6WrJWQQKcvk4=; b=d/Ojmx0RpPjTmx0WPfznD8R4QUaAYNbitbFEWBDZ+wF6VV2hZe6Jhn0Fi9WauqXdPE Qydkgmw2HOb1iMO9m0zB8xc9+rG5quMJ0al7LprPxbI6Zt4y2gQv+fH58Ni8XXIauAlR ZpOR6wvD+DWMEsUoqxIsGmM3sldtuWaXn11a0hmEqPvxWObKtW1BsSpX/9QU1MMwmnid VZF10KVrfZ6qxlz/VdkYWsNYXeWEmySo4PrKNTkztSxR3v5IyD8I7L7vAMrtIP+O1jY0 e0Wyg/K9eqFfk5tErRk+bq/HDWWb/odrQ3QCXmFJCgT+GkTumKWe+XzADNIxuwfS3Ty8 rHDw== X-Gm-Message-State: AAQBX9cO8HM6kkCCsSc56JXLBcdJ6IRKiTIVn9InbQoG+qzV0ZAxXVNk Wu1Pq/Kompt6OweZmhkxhrKsj6GD X-Google-Smtp-Source: AKy350b/j2KIhOmBe3TtM4rb60a24i5q3YIxfxS7MYQHvYX6wbrRyjdhJS6OgVS7JmBAPdPPsT+ZoQ== X-Received: by 2002:a17:906:ec2:b0:954:60dc:a251 with SMTP id u2-20020a1709060ec200b0095460dca251mr2358174eji.8.1682172686973; Sat, 22 Apr 2023 07:11:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:ae95:b0:94a:526f:9b5b with SMTP id md21-20020a170906ae9500b0094a526f9b5bls5015019ejb.11.-pod-prod-gmail; Sat, 22 Apr 2023 07:11:25 -0700 (PDT) X-Received: by 2002:a17:906:f6c8:b0:953:45ef:1438 with SMTP id jo8-20020a170906f6c800b0095345ef1438mr4812984ejb.27.1682172685412; Sat, 22 Apr 2023 07:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682172685; cv=none; d=google.com; s=arc-20160816; b=jNn13HW4IvROldIOBTodfXAhURGaBFj/5/26H7Fiqn+iLygQY8MmIkJef2LJa4vQ/N M7l/cjC6mhHo6QrawkmqGhcltLBsCQKkNlHSll1ySWv4E8z46OuKmE3GutVBWgpqIwpj a4cj0qhwimDNbDCE+UA9/rE+h5Ze7xOrkiyMTidDfq3U0VOEaVTeo66g+6gpzaQ0q5VL DuV4UP3tXT8nIWdMezdQxoBh8NVIH6+ViGH8ZWprqk2s7GiyJ5vUYmGHTW8Yz9tYzuHK lrbTgRSDRrhFvJ9M1nvziiXOP2R9m9UmNypqGOO0feVk4hHm0IobKfg6ajGWSVvvcwmC mbNA== 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=PyO9kOfFPQbJgfYwlHtiYT1eWceukSqNRRD8ic626GwE2kg8Ak0D2bIO39eW86NgG4 tOceZvvFL2ne78TyPob6pI/2OSAQ5CTcMPQa45TuRGl8GSqA2fiCL6gkYh/wpinow24y mUHfL+PslkiVk4M9irXefpKnEbpyJbfRhlMKvq+COhY+yVppa2VY/PvKTm+RLr+Jrcsa Iz3ZOH1w5UjgomQg+pGharwoiSvdDrPIe0AQM4y/qyiMnupSUds8r5Q7Ju8Kt1aR1MQm o4uBL2F4MooT9JBUoxZ7y3SP/n3iCcOSVCr0Muq7Mno+xu+p6vsWK/y97ZCoxSBi8O/u PQOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jExc8ehU; 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 hp2-20020a1709073e0200b0094f964a203csor3621588ejc.143.2023.04.22.07.11.25 for (Google Transport Security); Sat, 22 Apr 2023 07:11:25 -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:907:9894:b0:94e:6eb3:abc4 with SMTP id ja20-20020a170907989400b0094e6eb3abc4mr5741657ejc.4.1682172685034; Sat, 22 Apr 2023 07:11:25 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Apr 2023 07:11:24 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Sean Anderson , Lukasz Majewski , Dario Binacchi , Fabio Estevam , Michael Trimarchi , "NXP i.MX U-Boot Team" , Stefano Babic Subject: [RESEND PATCH 0/3] imx6: clock: add support to get LCD pixel clock rate Date: Sat, 22 Apr 2023 16:11:16 +0200 Message-Id: <20230422141119.618453-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=jExc8ehU; 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(-) Reviewed-by: Fabio Estevam