[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230726035032.3073951-1-haibo.chen@nxp.com>
Date: Wed, 26 Jul 2023 11:50:31 +0800
From: haibo.chen@....com
To: robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org,
shawnguo@...nel.org,
s.hauer@...gutronix.de,
wg@...ndegger.com,
mkl@...gutronix.de
Cc: kernel@...gutronix.de,
linux-imx@....com,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
haibo.chen@....com,
devicetree@...r.kernel.org,
linux-can@...r.kernel.org,
netdev@...r.kernel.org
Subject: [PATCH 1/2] arm64: dts: imx93: add the Flex-CAN stop mode by GPR
From: Haibo Chen <haibo.chen@....com>
imx93 A0 chip use the internal q-channel handshake signal in LPCG
and CCM to automatically handle the Flex-CAN stop mode. But this
method meet issue when do the system PM stress test. IC can't fix
it easily.
So in the new imx93 A1 chip, IC drop this method, and involve back
the old way,use the GPR method to trigger the Flex-CAN stop mode
signal.
Now NXP claim to drop imx93 A0, and only support imx93 A1. So here
add the stop mode through GPR.
Signed-off-by: Haibo Chen <haibo.chen@....com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 8643612ace8c..d8113a9b11f2 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -280,6 +280,7 @@ flexcan1: can@...a0000 {
assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
assigned-clock-rates = <40000000>;
fsl,clk-source = /bits/ 8 <0>;
+ fsl,stop-mode = <&anomix_ns_gpr 0x14 0>;
status = "disabled";
};
@@ -532,6 +533,7 @@ flexcan2: can@...b0000 {
assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
assigned-clock-rates = <40000000>;
fsl,clk-source = /bits/ 8 <0>;
+ fsl,stop-mode = <&wakeupmix_gpr 0x0C 2>;
status = "disabled";
};
--
2.34.1
Powered by blists - more mailing lists