All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Jun <jun.li@nxp.com>
To: shawnguo@kernel.org
Cc: l.stach@pengutronix.de, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
	aford173@gmail.com, tharvey@gateworks.com,
	frieder.schrempf@kontron.de, marex@denx.de,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	xu.yang_2@nxp.com, jun.li@nxp.com
Subject: [PATCH 4/4] arm64: dts: imx8mn: Correct the usb power domain
Date: Mon, 26 Sep 2022 19:45:35 +0800	[thread overview]
Message-ID: <1664192735-14313-5-git-send-email-jun.li@nxp.com> (raw)
In-Reply-To: <1664192735-14313-1-git-send-email-jun.li@nxp.com>

pgc_otg1 is actual the power domain of usb PHY, usb controller
is in hsio power domain, and pgc_otg1 is required to be powered
up to detect usb remote wakeup, so move the pgc_otg1 power domain
to the usb phy node.

Fixes: ea2b5af58ab2 ("arm64: dts: imx8mn: put USB controller into power-domains")
Signed-off-by: Li Jun <jun.li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index 81a1179d042e..b6ce2bdc69b2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -1076,7 +1076,7 @@ usbotg1: usb@32e40000 {
 				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
 				phys = <&usbphynop1>;
 				fsl,usbmisc = <&usbmisc1 0>;
-				power-domains = <&pgc_otg1>;
+				power-domains = <&pgc_hsiomix>;
 				status = "disabled";
 			};
 
@@ -1175,5 +1175,6 @@ usbphynop1: usbphynop1 {
 		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
 		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
 		clock-names = "main_clk";
+		power-domains = <&pgc_otg1>;
 	};
 };
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Li Jun <jun.li@nxp.com>
To: shawnguo@kernel.org
Cc: l.stach@pengutronix.de, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
	aford173@gmail.com, tharvey@gateworks.com,
	frieder.schrempf@kontron.de, marex@denx.de,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	xu.yang_2@nxp.com, jun.li@nxp.com
Subject: [PATCH 4/4] arm64: dts: imx8mn: Correct the usb power domain
Date: Mon, 26 Sep 2022 19:45:35 +0800	[thread overview]
Message-ID: <1664192735-14313-5-git-send-email-jun.li@nxp.com> (raw)
In-Reply-To: <1664192735-14313-1-git-send-email-jun.li@nxp.com>

pgc_otg1 is actual the power domain of usb PHY, usb controller
is in hsio power domain, and pgc_otg1 is required to be powered
up to detect usb remote wakeup, so move the pgc_otg1 power domain
to the usb phy node.

Fixes: ea2b5af58ab2 ("arm64: dts: imx8mn: put USB controller into power-domains")
Signed-off-by: Li Jun <jun.li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index 81a1179d042e..b6ce2bdc69b2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -1076,7 +1076,7 @@ usbotg1: usb@32e40000 {
 				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
 				phys = <&usbphynop1>;
 				fsl,usbmisc = <&usbmisc1 0>;
-				power-domains = <&pgc_otg1>;
+				power-domains = <&pgc_hsiomix>;
 				status = "disabled";
 			};
 
@@ -1175,5 +1175,6 @@ usbphynop1: usbphynop1 {
 		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
 		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
 		clock-names = "main_clk";
+		power-domains = <&pgc_otg1>;
 	};
 };
-- 
2.34.1


  parent reply	other threads:[~2022-09-26 12:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 11:45 [PATCH 0/4] Split usb otg1/2 power domain from hsio for imx8mm/n Li Jun
2022-09-26 11:45 ` Li Jun
2022-09-26 11:45 ` [PATCH 1/4] arm64: dts: imx8mm: remove otg1/2 power domain dependency on hsio Li Jun
2022-09-26 11:45   ` Li Jun
2022-09-26 11:45 ` [PATCH 2/4] arm64: dts: imx8mm: correct usb power domains Li Jun
2022-09-26 11:45   ` Li Jun
2022-09-26 11:45 ` [PATCH 3/4] arm64: dts: imx8mn: remove otg1 power domain dependency on hsio Li Jun
2022-09-26 11:45   ` Li Jun
2022-09-26 11:45 ` Li Jun [this message]
2022-09-26 11:45   ` [PATCH 4/4] arm64: dts: imx8mn: Correct the usb power domain Li Jun
2022-10-24  1:37 ` [PATCH 0/4] Split usb otg1/2 power domain from hsio for imx8mm/n Shawn Guo
2022-10-24  1:37   ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664192735-14313-5-git-send-email-jun.li@nxp.com \
    --to=jun.li@nxp.com \
    --cc=aford173@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=marex@denx.de \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=tharvey@gateworks.com \
    --cc=xu.yang_2@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.