[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240910181544.214797-2-frieder@fris.de>
Date: Tue, 10 Sep 2024 20:14:52 +0200
From: Frieder Schrempf <frieder@...s.de>
To: Kishon Vijay Abraham I <kishon@...nel.org>,
linux-kernel@...r.kernel.org,
linux-phy@...ts.infradead.org,
Vinod Koul <vkoul@...nel.org>
Cc: Dominique Martinet <dominique.martinet@...ark-techno.com>,
Frieder Schrempf <frieder@...s.de>,
Adam Ford <aford173@...il.com>,
Lucas Stach <l.stach@...gutronix.de>,
Marco Felsch <m.felsch@...gutronix.de>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Subject: [PATCH 1/2] phy: freescale: fsl-samsung-hdmi: Add references for calculating LUT parameters to comment
Mention the Reference Manual and the scripts and tools available
to help calculating the PLL parameters for additional LUT entries.
Suggested-by: Dominique Martinet <dominique.martinet@...ark-techno.com>
Signed-off-by: Frieder Schrempf <frieder@...s.de>
---
drivers/phy/freescale/phy-fsl-samsung-hdmi.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
index 1203143bad7a..401178bfcdda 100644
--- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
+++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c
@@ -61,7 +61,13 @@ static struct phy_config calculated_phy_pll_cfg = {
.pll_div_regs = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
};
-/* The lookup table contains values for which the fractional divder is used */
+/*
+ * The lookup table contains values for which the fractional divder is used.
+ * Please see the i.MX8MP Reference Manual and the resources at [1] for
+ * additional information on calculating values for table entries.
+ *
+ * [1] https://codeberg.org/fschrempf/samsung-hdmi-phy-pll-calculator
+ */
static const struct phy_config phy_pll_cfg[] = {
{
.pixclk = 22250000,
--
2.46.0
Powered by blists - more mailing lists