From patchwork Tue Nov 12 01:37:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13871629 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9897FD41D41 for ; Tue, 12 Nov 2024 01:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=4JRFsd20+VO7ZETXG4aTiKC3hxrIudSAdNFYyXGhdFM=; b=g3Gh4r4Cs+1yj1QE6ILTzi4CCm RD8agn1tMvFS8dpblfmq13mnt/K81NuQtcVzlGM32mcl03yzkqRX9uUNz8ADAMI+E/w6+4xZCMTGv n5zEpjj9Mr5zelQ610ebaeLJ6UONSUIFl5YFBFHHgSsCkRBUL2RL+jQaeUXl5h+6yjG7r3/Nv1ZXp APf6/KaS2vTI/o+JSfixfzmFdY515QKmMf7WeroDaYgtrAayAYqfyjNcQ+adv1ZUzTJ/bmYA/zeIz hnu5xKsVVJRJkdwx0aMO5vSscPDLZosf46rS37hhozNhoBW3GppDubFqvaI0ucquq7YoLzoaa5Ap3 n4Ki2Y4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAfu5-00000001tVd-0mFY; Tue, 12 Nov 2024 01:41:13 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAfrI-00000001tG9-1wWb for linux-arm-kernel@lists.infradead.org; Tue, 12 Nov 2024 01:38:22 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 8F51389366; Tue, 12 Nov 2024 02:38:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1731375499; bh=4JRFsd20+VO7ZETXG4aTiKC3hxrIudSAdNFYyXGhdFM=; h=From:To:Cc:Subject:Date:From; b=jtCNPgxhaS3vINI4X/LoOQGYJCW6CH49qmC7Fg9RjssW9ItXQHKiyzurb4gQcdWJv 9q9/rqwtSMZSXJaYePQeOlaouNY+bUjzP2X9OlXOW/nYRsGEDkxfBT9FMibMzGn8cs IaQQYqZ1DTBi8AIAVnqYoGeArmSwOst5NcgK0/fk+huzCpx/Xvmxj3VJlV1wEb0oXa u4T29MGhJwXSq27xE6dQ0MPHAOUUKxRTWPl2qs76MzwTkYiUQyTcCuTofk/HSydCJP aRPd4CIKnUJK0l5/uqKcejT7PqRI1laNQbHvAbGO90fRKxcz8T+Zuj7mG/5fsST59C 36AwLJLICD6zw== From: Marek Vasut To: linux-clk@vger.kernel.org Cc: Marek Vasut , Abel Vesa , Fabio Estevam , Michael Turquette , Peng Fan , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Stephen Boyd , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx: pll14xx: Add 208 MHz and 416 MHz entries for PLL1416x Date: Tue, 12 Nov 2024 02:37:35 +0100 Message-ID: <20241112013805.333798-1-marex@denx.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_173820_989778_5F54D9F3 X-CRM114-Status: GOOD ( 12.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The PLL1416x is used to implement SYS_PLL3 on i.MX8MP and can be used to drive CLKOUTn clock. Add 208 MHz and 416 MHz entries to the PLL so they can be generated by the PLL and used to produce e.g. 13 MHz or 26 MHz on CLKOUTn output. Signed-off-by: Marek Vasut Reviewed-by: Peng Fan --- Cc: Abel Vesa Cc: Fabio Estevam Cc: Michael Turquette Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Sascha Hauer Cc: Shawn Guo Cc: Stephen Boyd Cc: imx@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/clk/imx/clk-pll14xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c index 19b9f764a0015..a69dd34431b03 100644 --- a/drivers/clk/imx/clk-pll14xx.c +++ b/drivers/clk/imx/clk-pll14xx.c @@ -56,7 +56,9 @@ static const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = { PLL_1416X_RATE(700000000U, 350, 3, 2), PLL_1416X_RATE(640000000U, 320, 3, 2), PLL_1416X_RATE(600000000U, 300, 3, 2), + PLL_1416X_RATE(416000000U, 208, 3, 2), PLL_1416X_RATE(320000000U, 160, 3, 2), + PLL_1416X_RATE(208000000U, 208, 3, 3), }; static const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = {