Skip to contentSkip to conversation

create patches for nxp-ls1046a platform watchdog feature

PATCH Superseded Meng Li 3 participants 9 messages Jun 4, 2025 – Jun 8, 2025

Subsystems (3)
lore
Share & tools
lore

Meng Li

author
#0 lore raw

v4 cover create patches for nxp-ls1046a platform watchdog feature

v4:
- Improve commit log of patch0002

v3:
- merge patch 0002 into patch 0001
- improve the commit log of patches

v2:
- improve the commit log of patch 0001
- add another 2 patches to fix below warning
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: watchdog@2ad0000(fsl,imx21-wdt): big-endian: False schema does not allow True

v1:
- create patch 0001-arch-arm64-dts-add-big-endian-property-back-into-wat.patch

Meng Li (2):
dt-bindings: watchdog: fsl-imx-wdt: add compatible string

    fsl,ls1046a-wdt

arch: arm64: dts: add big-endian property back into watchdog node

 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi              | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v4 1/2 dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.

---
 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +2 -0
index 8a6c3a75a547..34951783a633 100644
@@ -37,6 +37,7 @@ properties:
               - fsl,ls1012a-wdt
               - fsl,ls1021a-wdt
               - fsl,ls1043a-wdt
+              - fsl,ls1046a-wdt
               - fsl,vf610-wdt
           - const: fsl,imx21-wdt
 
@@ -105,6 +106,7 @@ allOf:
                 - fsl,ls1012a-wdt
                 - fsl,ls1021a-wdt
                 - fsl,ls1043a-wdt
+                - fsl,ls1046a-wdt
     then:
       properties:
         big-endian: false
Signature · 1 line
2.34.1
maintainer Acked-by on v4 1/2
#2 lore raw

Re: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

Quoted 7 lines · Meng Li

Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.

---
 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 1 file changed, 2 insertions(+)

You missed Cc'ing the watchdog maintainer if you want this applied.

author
#3 lore raw

RE: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

Quoted 22 lines

-----Original Message-----
From: Rob Herring <[email protected]>
Sent: Friday, June 6, 2025 1:41 AM
To: Li, Meng <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux-arm- [email protected]; [email protected]; linux- [email protected]
Subject: Re: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 3 lines · Meng Li

Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.

Quoted 7 lines
Quoted 4 lines
---
 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 1 file changed, 2 insertions(+)

You missed Cc'ing the watchdog maintainer if you want this applied.

Thanks for reminding me.
I will add maintainer in v4 review

Regards,
LImeng

Quoted 1 line
author
#4 lore raw

RE: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

In reply to Meng Li

Add watchdog binding maintainer.

Thanks,
Limeng

Quoted 42 lines

-----Original Message-----
From: Li, Meng <[email protected]>
Sent: Wednesday, June 4, 2025 11:43 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; Li, Meng <[email protected]>
Subject: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt

Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.

---
 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +2 -1
index 8a6c3a75a547..34951783a633 100644
@@ -37,6 +37,7 @@ properties:
               - fsl,ls1012a-wdt
               - fsl,ls1021a-wdt
               - fsl,ls1043a-wdt
+              - fsl,ls1046a-wdt
               - fsl,vf610-wdt
           - const: fsl,imx21-wdt
 
@@ -105,6 +106,7 @@ allOf:
                 - fsl,ls1012a-wdt
                 - fsl,ls1021a-wdt
                 - fsl,ls1043a-wdt
+                - fsl,ls1046a-wdt
     then:
       properties:
         big-endian: false
--

2.34.1

author
#5 lore raw

PATCH v4 2/2 arch: arm64: dts: add big-endian property back into watchdog node

In reply to Meng Li

Watchdog doesn't work on NXP ls1046ardb board because in commit 7c8ffc5555cb("arm64: dts: layerscape: remove big-endian for mmc nodes"), it intended to remove the big-endian from mmc node, but the big-endian of watchdog node is also removed by accident. So, add watchdog big-endian property back.

In addition, add compatible string fsl,ls1046a-wdt, which allow big-endian property.

Fixes 7c8ffc5555cb ("arm64: dts: layerscape: remove big-endian for mmc nodes")
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +2 -1
index 0baf256b4400..983b2f0e8797 100644
@@ -687,11 +687,12 @@ lpuart5: serial@29a0000 {
 		};
 
 		wdog0: watchdog@2ad0000 {
-			compatible = "fsl,imx21-wdt";
+			compatible = "fsl,ls1046a-wdt", "fsl,imx21-wdt";
 			reg = <0x0 0x2ad0000 0x0 0x10000>;
 			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
+			big-endian;
 		};
 
 		edma0: dma-controller@2c00000 {
Signature · 1 line
2.34.1
author
#6 lore raw
In reply to Meng Li

Add watchdog binding maintainer for the patch-0001.

Thanks,
Limeng

Quoted 40 lines

-----Original Message-----
From: Li, Meng <[email protected]>
Sent: Wednesday, June 4, 2025 11:43 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; Li, Meng <[email protected]>
Subject: [v4 PATCH 0/2] create patches for nxp-ls1046a platform watchdog feature

v4:
- Improve commit log of patch0002

v3:
- merge patch 0002 into patch 0001
- improve the commit log of patches

v2:
- improve the commit log of patch 0001
- add another 2 patches to fix below warning arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb:
watchdog@2ad0000(fsl,imx21-wdt): big-endian: False schema does not allow True

v1:
- create patch 0001-arch-arm64-dts-add-big-endian-property-back-into-
wat.patch

Meng Li (2):
dt-bindings: watchdog: fsl-imx-wdt: add compatible string

    fsl,ls1046a-wdt

arch: arm64: dts: add big-endian property back into watchdog node

 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi              | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

--
2.34.1

maintainer
#7 lore raw
Quoted 1 line · Meng

Add watchdog binding maintainer for the patch-0001.

You may need resend whole patches, which included linux-watchdog, they may use patchwork to track patches and miss this one.

Frank

Quoted 45 lines

Thanks,
Limeng

Quoted 40 lines

-----Original Message-----
From: Li, Meng <[email protected]>
Sent: Wednesday, June 4, 2025 11:43 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; Li, Meng <[email protected]>
Subject: [v4 PATCH 0/2] create patches for nxp-ls1046a platform watchdog feature

v4:
- Improve commit log of patch0002

v3:
- merge patch 0002 into patch 0001
- improve the commit log of patches

v2:
- improve the commit log of patch 0001
- add another 2 patches to fix below warning arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb:
watchdog@2ad0000(fsl,imx21-wdt): big-endian: False schema does not allow True

v1:
- create patch 0001-arch-arm64-dts-add-big-endian-property-back-into-
wat.patch

Meng Li (2):
dt-bindings: watchdog: fsl-imx-wdt: add compatible string

    fsl,ls1046a-wdt

arch: arm64: dts: add big-endian property back into watchdog node

 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi              | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

--
2.34.1

author
#8 lore raw
Quoted 18 lines

-----Original Message-----
From: Frank Li <[email protected]>
Sent: Friday, June 6, 2025 11:34 PM
To: Li, Meng <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux-arm- [email protected]; [email protected]; linux- [email protected]
Subject: Re: [v4 PATCH 0/2] create patches for nxp-ls1046a platform watchdog feature

CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 6 lines
Quoted 1 line · Meng

Add watchdog binding maintainer for the patch-0001.

You may need resend whole patches, which included linux-watchdog, they may use patchwork to track patches and miss this one.

Thanks for reminding me.
I have sent the whole patches.

Regards,
Limeng

Quoted 50 lines

Frank

Quoted 48 lines

Thanks,
Limeng

Quoted 43 lines

-----Original Message-----
From: Li, Meng <[email protected]>
Sent: Wednesday, June 4, 2025 11:43 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; Li, Meng <[email protected]>
Subject: [v4 PATCH 0/2] create patches for nxp-ls1046a platform watchdog feature

v4:
- Improve commit log of patch0002

v3:
- merge patch 0002 into patch 0001
- improve the commit log of patches

v2:
- improve the commit log of patch 0001
- add another 2 patches to fix below warning arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb:
watchdog@2ad0000(fsl,imx21-wdt): big-endian: False schema does not allow True

v1:
- create patch
0001-arch-arm64-dts-add-big-endian-property-back-into- wat.patch

Meng Li (2):
dt-bindings: watchdog: fsl-imx-wdt: add compatible string

    fsl,ls1046a-wdt

arch: arm64: dts: add big-endian property back into watchdog node

 Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi              | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

--
2.34.1