Skip to contentSkip to conversation

clk: imx93: correct the flexspi1 clock setting

PATCH Superseded [email protected] 3 participants 4 messages Sep 30, 2022 – Oct 9, 2022

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: imx93: correct the flexspi1 clock setting

From: Haibo Chen <[email protected]>

Correct IMX93_CLK_FLEXSPI1_GATE CCGR setting. Otherwise the flexspi always can't be assigned to a parent clock when dump the clock tree.

---
 drivers/clk/imx/clk-imx93.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/imx/clk-imx93.c +1 -1
index 99cff1fd108b..40ecee3b5e78 100644
@@ -170,7 +170,7 @@ static const struct imx93_clk_ccgr {
 	{ IMX93_CLK_MU2_B_GATE,		"mu2_b",	"bus_wakeup_root",	0x8500, 0, &share_count_mub },
 	{ IMX93_CLK_EDMA1_GATE,		"edma1",	"m33_root",		0x8540, },
 	{ IMX93_CLK_EDMA2_GATE,		"edma2",	"wakeup_axi_root",	0x8580, },
-	{ IMX93_CLK_FLEXSPI1_GATE,	"flexspi",	"flexspi_root",		0x8640, },
+	{ IMX93_CLK_FLEXSPI1_GATE,	"flexspi1",	"flexspi1_root",	0x8640, },
 	{ IMX93_CLK_GPIO1_GATE,		"gpio1",	"m33_root",		0x8880, },
 	{ IMX93_CLK_GPIO2_GATE,		"gpio2",	"bus_wakeup_root",	0x88c0, },
 	{ IMX93_CLK_GPIO3_GATE,		"gpio3",	"bus_wakeup_root",	0x8900, },
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines

Subject: [PATCH] clk: imx93: correct the flexspi1 clock setting

From: Haibo Chen <[email protected]>

Correct IMX93_CLK_FLEXSPI1_GATE CCGR setting. Otherwise the flexspi always can't be assigned to a parent clock when dump the clock tree.

Regards,
Peng.

Quoted 27 lines
---
 drivers/clk/imx/clk-imx93.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/imx/clk-imx93.c index renamed from drivers/clk/imx/clk-imx93.c +0 -0

99cff1fd108b..40ecee3b5e78 100644

drivers/clk/imx/clk-imx93.c +0 -1
@@ -170,7 +170,7 @@ static const struct imx93_clk_ccgr {
 	{ IMX93_CLK_MU2_B_GATE,		"mu2_b",
 	"bus_wakeup_root",	0x8500, 0, &share_count_mub },
 	{ IMX93_CLK_EDMA1_GATE,		"edma1",	"m33_root",
 		0x8540, },
 	{ IMX93_CLK_EDMA2_GATE,		"edma2",
 	"wakeup_axi_root",	0x8580, },
-	{ IMX93_CLK_FLEXSPI1_GATE,	"flexspi",	"flexspi_root",
	0x8640, },
drivers/clk/imx/clk-imx93.c +1 -0
+	{ IMX93_CLK_FLEXSPI1_GATE,	"flexspi1",	"flexspi1_root",
	0x8640, },
 	{ IMX93_CLK_GPIO1_GATE,		"gpio1",	"m33_root",
		0x8880, },
 	{ IMX93_CLK_GPIO2_GATE,		"gpio2",
	"bus_wakeup_root",	0x88c0, },
 	{ IMX93_CLK_GPIO3_GATE,		"gpio3",
	"bus_wakeup_root",	0x8900, },

--
2.34.1

author
#3 lore raw
Quoted 14 lines

-----Original Message-----
From: Stephen Boyd <[email protected]>
Sent: 2022年10月1日 5:38
To: [email protected]; Bough Chen <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; dl-linux-imx <[email protected]>; Bough Chen <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>
Subject: Re: [PATCH] clk: imx93: correct the flexspi1 clock setting

Quoting [email protected] (2022-09-29 23:02:39)

Quoted 2 lines

From: Haibo Chen <[email protected]>

Quoted 7 lines
Quoted 5 lines

Correct IMX93_CLK_FLEXSPI1_GATE CCGR setting. Otherwise the flexspi always can't be assigned to a parent clock when dump the clock tree.

---

Any Fixes tag?

Oh, sorry. The fixes tag should be:

Fixes 24defbe194b6 ("clk: imx: add i.MX93 clk")

Should I send a v2 patch with this fixes tag?

Best Regards
Haibo Chen