summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPengfei Li <pengfei.li_1@nxp.com>2024-10-23 11:46:47 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:57:08 +0100
commit505b041882a537b81e1014afb666ea18f5866e06 (patch)
tree96d132fc73ac5babe6d7f0b4d07e3809a58fe976
parent036f2f51098d0f7b875918d9bd9736eb61380b69 (diff)
clk: imx93: Move IMX93_CLK_END macro to clk driver
[ Upstream commit 0af18ba60752e8a4ba34404c1d9a4a799da690f5 ] IMX93_CLK_END was previously defined in imx93-clock.h to indicate the number of clocks. However, it is not part of the ABI. For starters it does no really appear in DTS. But what's more important - new clocks are described later, which contradicts this define in binding header. So move this macro to clock driver. Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20241023184651.381265-2-pengfei.li_1@nxp.com Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Stable-dep-of: 6a7853544482 ("clk: imx93: Add IMX93_CLK_SPDIF_IPG clock") Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/clk/imx/clk-imx93.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c
index c6a9bc8ecc1f..c8b65146e76e 100644
--- a/drivers/clk/imx/clk-imx93.c
+++ b/drivers/clk/imx/clk-imx93.c
@@ -15,6 +15,8 @@
#include "clk.h"
+#define IMX93_CLK_END 202
+
enum clk_sel {
LOW_SPEED_IO_SEL,
NON_IO_SEL,