2018-12-03 05:21:43

by Joakim Zhang

[permalink] [raw]
Subject: [PATCH RESEND V2 0/4] ARM: dts: imx: Add flexcan stop mode wake

This patchset intends to add flexcan stop mode wakeup support on IMX6/7 platforms.

ChangeLog:
V1->V2:
*update stop mode property(stop-mode -> fsl,stop-mode).

Hi Shawn,
This property has been merged both flexcan bindings doc and kernel
driver.

Best Regards,
Joakim Zhang

Aisheng Dong (4):
ARM: dts: imx6sx: Add flexcan stop mode wakeup support
ARM: dts: imx6qdl: Add flexcan stop mode wakeup support
ARM: dts: imx6ul: Add flexcan stop mode wakeup support
ARM: dts: imx7s: Add flexcan stop mode wakeup support

arch/arm/boot/dts/imx6qdl.dtsi | 2 ++
arch/arm/boot/dts/imx6sx.dtsi | 2 ++
arch/arm/boot/dts/imx6ul.dtsi | 2 ++
arch/arm/boot/dts/imx7s.dtsi | 2 ++
4 files changed, 8 insertions(+)

--
2.17.1



2018-12-03 05:21:43

by Joakim Zhang

[permalink] [raw]
Subject: [PATCH RESEND V2 3/4] ARM: dts: imx6ul: Add flexcan stop mode wakeup support

From: Aisheng Dong <[email protected]>

Add stop-mode property which is required by stop mode wakeup
feature.

Signed-off-by: Aisheng Dong <[email protected]>
Signed-off-by: Joakim Zhang <[email protected]>
---
arch/arm/boot/dts/imx6ul.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 99c366303d73..e14f46ec4d7e 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -406,6 +406,7 @@
clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
<&clks IMX6UL_CLK_CAN1_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 1 0x10 17>;
status = "disabled";
};

@@ -416,6 +417,7 @@
clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
<&clks IMX6UL_CLK_CAN2_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 2 0x10 18>;
status = "disabled";
};

--
2.17.1


2018-12-03 05:21:43

by Joakim Zhang

[permalink] [raw]
Subject: [PATCH RESEND V2 2/4] ARM: dts: imx6qdl: Add flexcan stop mode wakeup support

From: Aisheng Dong <[email protected]>

Add stop-mode property which is required by stop mode wakeup
feature.

Signed-off-by: Aisheng Dong <[email protected]>
Signed-off-by: Joakim Zhang <[email protected]>
---
arch/arm/boot/dts/imx6qdl.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 6d827b69ead0..7fb8be1c9cef 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -561,6 +561,7 @@
clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
<&clks IMX6QDL_CLK_CAN1_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x34 28 0x10 17>;
status = "disabled";
};

@@ -571,6 +572,7 @@
clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
<&clks IMX6QDL_CLK_CAN2_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x34 29 0x10 18>;
status = "disabled";
};

--
2.17.1


2018-12-03 05:21:43

by Joakim Zhang

[permalink] [raw]
Subject: [PATCH RESEND V2 1/4] ARM: dts: imx6sx: Add flexcan stop mode wakeup support

From: Aisheng Dong <[email protected]>

Add stop-mode property which is required by stop mode wakeup
feature.

Signed-off-by: Aisheng Dong <[email protected]>
Signed-off-by: Joakim Zhang <[email protected]>
---
arch/arm/boot/dts/imx6sx.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 6c8d2bb09025..272ff6133ec1 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -451,6 +451,7 @@
clocks = <&clks IMX6SX_CLK_CAN1_IPG>,
<&clks IMX6SX_CLK_CAN1_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 1 0x10 17>;
status = "disabled";
};

@@ -461,6 +462,7 @@
clocks = <&clks IMX6SX_CLK_CAN2_IPG>,
<&clks IMX6SX_CLK_CAN2_SERIAL>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 2 0x10 18>;
status = "disabled";
};

--
2.17.1


2018-12-03 05:21:49

by Joakim Zhang

[permalink] [raw]
Subject: [PATCH RESEND V2 4/4] ARM: dts: imx7s: Add flexcan stop mode wakeup support

From: Aisheng Dong <[email protected]>

Add stop-mode property which is required by stop mode wakeup
feature.

Signed-off-by: Aisheng Dong <[email protected]>
Signed-off-by: Joakim Zhang <[email protected]>
---
arch/arm/boot/dts/imx7s.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index 477901c2061c..11ea993c48cc 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -873,6 +873,7 @@
clocks = <&clks IMX7D_CLK_DUMMY>,
<&clks IMX7D_CAN1_ROOT_CLK>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 1 0x10 17>;
status = "disabled";
};

@@ -883,6 +884,7 @@
clocks = <&clks IMX7D_CLK_DUMMY>,
<&clks IMX7D_CAN2_ROOT_CLK>;
clock-names = "ipg", "per";
+ fsl,stop-mode = <&gpr 0x10 2 0x10 18>;
status = "disabled";
};

--
2.17.1


2018-12-06 02:22:42

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH RESEND V2 0/4] ARM: dts: imx: Add flexcan stop mode wake

On Mon, Dec 03, 2018 at 05:20:16AM +0000, Joakim Zhang wrote:
> This patchset intends to add flexcan stop mode wakeup support on IMX6/7 platforms.
>
> ChangeLog:
> V1->V2:
> *update stop mode property(stop-mode -> fsl,stop-mode).
>
> Hi Shawn,
> This property has been merged both flexcan bindings doc and kernel
> driver.
>
> Best Regards,
> Joakim Zhang
>
> Aisheng Dong (4):
> ARM: dts: imx6sx: Add flexcan stop mode wakeup support
> ARM: dts: imx6qdl: Add flexcan stop mode wakeup support
> ARM: dts: imx6ul: Add flexcan stop mode wakeup support
> ARM: dts: imx7s: Add flexcan stop mode wakeup support

Applied all, thanks.