Skip to contentSkip to conversation

arm64: dts: imx8mp: correct usb clocks

PATCH Superseded Li Jun 5 participants 11 messages Aug 24, 2022 – Sep 7, 2022

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Li Jun

author
#0 lore raw

PATCH 1/1 arm64: dts: imx8mp: correct usb clocks

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +6 -6
index fe178b7d063c..2f18778a057f 100644
@@ -1169,7 +1169,7 @@ usb3_0: usb@32f10100 {
 			reg = <0x32f10100 0x8>,
 			      <0x381f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
@@ -1182,9 +1182,9 @@ usb3_0: usb@32f10100 {
 			usb_dwc3_0: usb@38100000 {
 				compatible = "snps,dwc3";
 				reg = <0x38100000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy0>, <&usb3_phy0>;
@@ -1211,7 +1211,7 @@ usb3_1: usb@32f10108 {
 			reg = <0x32f10108 0x8>,
 			      <0x382f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
@@ -1224,9 +1224,9 @@ usb3_1: usb@32f10108 {
 			usb_dwc3_1: usb@38200000 {
 				compatible = "snps,dwc3";
 				reg = <0x38200000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy1>, <&usb3_phy1>;
Signature · 1 line
2.34.1
#1 lore raw

Am Mittwoch, dem 24.08.2022 um 16:10 +0800 schrieb Li Jun:

Quoted 4 lines

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

So who is keeping IMX8MP_CLK_USB_ROOT enabled after this change? What is clocked by this and is it safe to disable while the USB subsystem is in working state? I see that things may still work, due to the shared gate with the suspend clock, but we should really try to model the DT after the HW. Especially since this is a ABI breaking change it should be right this time, so a unused USB_ROOT clock looks very suspicious.

Regards,
Lucas

Quoted 51 lines
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +6 -6
index fe178b7d063c..2f18778a057f 100644
@@ -1169,7 +1169,7 @@ usb3_0: usb@32f10100 {
 			reg = <0x32f10100 0x8>,
 			      <0x381f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
@@ -1182,9 +1182,9 @@ usb3_0: usb@32f10100 {
 			usb_dwc3_0: usb@38100000 {
 				compatible = "snps,dwc3";
 				reg = <0x38100000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy0>, <&usb3_phy0>;
@@ -1211,7 +1211,7 @@ usb3_1: usb@32f10108 {
 			reg = <0x32f10108 0x8>,
 			      <0x382f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
@@ -1224,9 +1224,9 @@ usb3_1: usb@32f10108 {
 			usb_dwc3_1: usb@38200000 {
 				compatible = "snps,dwc3";
 				reg = <0x38200000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy1>, <&usb3_phy1>;
#3 lore raw
In reply to Li Jun

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1] as well.

[1] [email protected]

Regards,
Marco

author
#2 lore raw
In reply to Lucas Stach
Quoted 19 lines

-----Original Message-----
From: Lucas Stach <[email protected]>
Sent: Wednesday, August 24, 2022 4:56 PM
To: Jun Li <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Am Mittwoch, dem 24.08.2022 um 16:10 +0800 schrieb Li Jun:

Quoted 4 lines

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Quoted 6 lines

So who is keeping IMX8MP_CLK_USB_ROOT enabled after this change? What is clocked by this and is it safe to disable while the USB subsystem is in working state? I see that things may still work, due to the shared gate with the suspend clock, but we should really try to model the DT after the HW. Especially since this is a ABI breaking change it should be right this time, so a unused USB_ROOT clock looks very suspicious.

The related clk driver change is [1]. I should put it in one patch set.

Before my change this shared clock gate is defined only for USB bus, it will be off while system sleep even USB wakeup is enabled, this cause the suspend clock is gated too, so USB remote wakeup cannot work. In case system sleep without USB wakeup enabled, the shared gate will be really off. Shared clock gate is matching the real HW.

You mean I should just simply define this gate only for suspend clock instead of define 2 clock gates(then share)?

[1] https://patchwork.kernel.org/project/linux-clk/patch/[email protected]/

Li Jun

Quoted 60 lines

Regards,
Lucas

Quoted 11 lines
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +0 -0
index fe178b7d063c..2f18778a057f 100644

arch/arm64/boot/dts/freescale/imx8mp.dtsi usb3_0: usb@32f10100 { · line 1175

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -1
@@ -1169,7 +1169,7 @@ usb3_0: usb@32f10100 {
 			reg = <0x32f10100 0x8>,
 			      <0x381f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>; @@

-1182,9

arch/arm64/boot/dts/freescale/imx8mp.dtsi usb3_0: usb@32f10100 {

Quoted 12 lines

+1182,9 @@ usb3_0: usb@32f10100 {

arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -2
 			usb_dwc3_0: usb@38100000 {
 				compatible = "snps,dwc3";
 				reg = <0x38100000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy0>, <&usb3_phy0>; @@ -1211,7 +1211,7 @@

usb3_1:

arch/arm64/boot/dts/freescale/imx8mp.dtsi usb3_1: usb@32f10108 {

Quoted 9 lines

usb@32f10108 {

arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -1
 			reg = <0x32f10108 0x8>,
 			      <0x382f0000 0x20>;
 			clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
-				 <&clk IMX8MP_CLK_USB_ROOT>;
+				 <&clk IMX8MP_CLK_USB_SUSP>;
 			clock-names = "hsio", "suspend";
 			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
 			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>; @@

-1224,9

Quoted 12 lines

+1224,9 @@ usb3_1: usb@32f10108 {

arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -2
 			usb_dwc3_1: usb@38200000 {
 				compatible = "snps,dwc3";
 				reg = <0x38200000 0x10000>;
-				clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
+				clocks = <&clk IMX8MP_CLK_USB_ROOT>,
 					 <&clk IMX8MP_CLK_USB_CORE_REF>,
-					 <&clk IMX8MP_CLK_USB_ROOT>;
+					 <&clk IMX8MP_CLK_USB_SUSP>;
 				clock-names = "bus_early", "ref", "suspend";
 				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&usb3_phy1>, <&usb3_phy1>;
author
#4 lore raw
In reply to Marco Felsch
Quoted 18 lines

-----Original Message-----
From: Marco Felsch <[email protected]>
Sent: Wednesday, August 24, 2022 5:11 PM
To: Jun Li <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Hi Li,

Quoted 7 lines
Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1] as well.

Understood, I will put all in one patch set in v2.

Thanks
Li Jun

Quoted 5 lines

[1] [email protected]

Regards,
Marco

author
#5 lore raw

Hi Shawn,

Quoted 37 lines

-----Original Message-----
From: Jun Li <[email protected]>
Sent: Wednesday, August 24, 2022 6:24 PM
To: Marco Felsch <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: RE: [PATCH] arm64: dts: imx8mp: correct usb clocks

Quoted 21 lines

-----Original Message-----
From: Marco Felsch <[email protected]>
Sent: Wednesday, August 24, 2022 5:11 PM
To: Jun Li <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Quoted 5 lines
Quoted 2 lines

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Understood, I will put all in one patch set in v2.

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Thanks
Li Jun

Quoted 8 lines

Thanks
Li Jun

Quoted 5 lines

[1] [email protected]

Regards,
Marco

#6 lore raw

Hey Jun,

Quoted 39 lines · Jun Li

Hi Shawn,

Quoted 37 lines

-----Original Message-----
From: Jun Li <[email protected]>
Sent: Wednesday, August 24, 2022 6:24 PM
To: Marco Felsch <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: RE: [PATCH] arm64: dts: imx8mp: correct usb clocks

Quoted 21 lines

-----Original Message-----
From: Marco Felsch <[email protected]>
Sent: Wednesday, August 24, 2022 5:11 PM
To: Jun Li <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Understood, I will put all in one patch set in v2.

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

Should I apply the DTS patch for v6.0-rc or v6.1? My understanding is that it needs to appear in the same release as clock patch[1], right?

Shawn

Quoted 2 lines

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

author
#7 lore raw

Hi Shawn,

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 10 lines

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Understood, I will put all in one patch set in v2.

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

Should I apply the DTS patch for v6.0-rc or v6.1? My understanding is that it needs to appear in the same release as clock patch[1], right?

Yes, it needs to appear in the same release as clock patch[1].

Thanks
Li Jun

#8 lore raw
Quoted 16 lines · Jun Li

Hi Shawn,

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 10 lines

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Understood, I will put all in one patch set in v2.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

Should I apply the DTS patch for v6.0-rc or v6.1? My understanding is that it needs to appear in the same release as clock patch[1], right?

Yes, it needs to appear in the same release as clock patch[1].

So could you find out which release the clock patch is targeting?

Shawn

author Reviewed-by Abel Vesa
#9 lore raw

+Abel

Quoted 34 lines

-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: Tuesday, September 6, 2022 6:19 PM
To: Jun Li <[email protected]>
Cc: Marco Felsch <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Quoted 19 lines · Jun Li

Hi Shawn,

Quoted 17 lines
Quoted 16 lines
Quoted 7 lines
Quoted 7 lines

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Quoted 6 lines
Quoted 3 lines

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Understood, I will put all in one patch set in v2.

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Should I apply the DTS patch for v6.0-rc or v6.1? My understanding is that it needs to appear in the same release as clock patch[1], right?

Yes, it needs to appear in the same release as clock patch[1].

So could you find out which release the clock patch is targeting?

Seems the clock patches[1] are only at Abel's tree.

Actually this dts patch and clk patches[1] should apply for the releases with below patch:

commit cf7f3f4fa9e57b8e9f594823e77e6cbb0ce2b254

Author: Peng Fan <[email protected]>
Date:   Sat May 7 20:54:30 2022 +0800

clk: imx8mp: fix usb_root_clk parent

According to reference mannual CCGR77(usb) sources from hsio_axi, fix it.

Fixes 9c140d9926761 ("clk: imx: Add support for i.MX8MP clock driver")

So it should target v5.19, v6.0rc and v6.1

Do I need resend the patch with stable tag applied? like
Cc: [email protected] # v5.19+

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Thanks
Li Jun

Quoted 2 lines

Shawn

#10 lore raw
Quoted 36 lines · Jun Li

+Abel

Quoted 34 lines

-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: Tuesday, September 6, 2022 6:19 PM
To: Jun Li <[email protected]>
Cc: Marco Felsch <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Peng Fan <[email protected]>; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] arm64: dts: imx8mp: correct usb clocks

Quoted 19 lines · Jun Li

Hi Shawn,

Quoted 17 lines
Quoted 16 lines
Quoted 7 lines
Quoted 7 lines

Hi Li,

Quoted 3 lines · Li Jun

After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock.

Quoted 6 lines
Quoted 3 lines

Please don't send two seperate patchsets for this topic, since they can be applied delayed. So your v2 should contain the patches from [1]

as well.

Understood, I will put all in one patch set in v2.

Since the clock part patches[1] already were accepted, I think this corresponding dts fix patch should be okay as it is.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Should I apply the DTS patch for v6.0-rc or v6.1? My understanding is that it needs to appear in the same release as clock patch[1], right?

Yes, it needs to appear in the same release as clock patch[1].

So could you find out which release the clock patch is targeting?

Seems the clock patches[1] are only at Abel's tree.

Right, but your patch didn't have any Fixes tag.

So I think I need drop your patch from my tree for now and you need to resend a new version with Fixes tag, which probably will be going through Stephen's tree.

Quoted 19 lines

Actually this dts patch and clk patches[1] should apply for the releases with below patch:

commit cf7f3f4fa9e57b8e9f594823e77e6cbb0ce2b254

Author: Peng Fan <[email protected]>
Date:   Sat May 7 20:54:30 2022 +0800

clk: imx8mp: fix usb_root_clk parent

According to reference mannual CCGR77(usb) sources from hsio_axi, fix it.

Fixes 9c140d9926761 ("clk: imx: Add support for i.MX8MP clock driver")
Quoted 4 lines

So it should target v5.19, v6.0rc and v6.1

Do I need resend the patch with stable tag applied? like
Cc: [email protected] # v5.19+

And yes, cc stable too.

Quoted 8 lines

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Thanks
Li Jun

Quoted 2 lines

Shawn