create patches for nxp-ls1046a platform watchdog feature
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
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
@@ -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
Re: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl, ls1046a-wdt
Quoted 4 lines · Meng Li
Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.
Signed-off-by Meng Li <[email protected]>
Quoted 24 lines
--- Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +2
-0@@ -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 · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Re: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt
In reply to Meng LiQuoted 8 lines · Meng Li
Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.
Signed-off-by Meng Li <[email protected]>--- Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++ 1 file changed, 2 insertions(+)
Rob Herring
maintainerRe: [v4 PATCH 1/2] dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1046a-wdt
In reply to Meng LiQuoted 7 lines · Meng Li
Add compatible string fsl,ls1046a-wdt for ls1046a SoC. fsl,ls1046a-wdt allows big-endian property.
Signed-off-by Meng Li <[email protected]>--- Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 2 ++ 1 file changed, 2 insertions(+)
Applied since this hasn't been picked up by the wdog maintainers.
PATCH v4 2/2 arch: arm64: dts: add big-endian property back into watchdog node
In reply to Meng LiWatchdog 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.
--- 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
@@ -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
Re: [v4 PATCH 2/2] arch: arm64: dts: add big-endian property back into watchdog node
Quoted 6 lines · 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.
Quoted 6 lines
In addition, add compatible string fsl,ls1046a-wdt, which allow big-endian property.
Fixes 7c8ffc5555cb ("arm64: dts: layerscape: remove big-endian for mmc nodes")Signed-off-by Meng Li <[email protected]>
Quoted 22 lines
--- 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@@ -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 · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Shawn Guo
AppliedRe: [v4 PATCH 2/2] arch: arm64: dts: add big-endian property back into watchdog node
In reply to Meng LiQuoted 6 lines · 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.
Quoted 6 lines
In addition, add compatible string fsl,ls1046a-wdt, which allow big-endian property.
Fixes 7c8ffc5555cb ("arm64: dts: layerscape: remove big-endian for mmc nodes")Signed-off-by Meng Li <[email protected]>
Applied this one, thanks!
I had resent the whole patch and include all the maintainers
More than ten days have passed, but there is no any progress and reply in upstream. Is there any comment on these patches, do I need to improve these patches?
Thanks,
LImeng
Quoted 41 lines
-----Original Message-----
From: Li, Meng <[email protected]>
Sent: Sunday, June 8, 2025 11:06 AM
To: [email protected]; [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 featurev4:
- Improve commit log of patch0002v3:
- merge patch 0002 into patch 0001
- improve the commit log of patchesv2:
- improve the commit log of patch 0001
- add another 2 patches to fix below warningarch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb:
watchdog@2ad0000(fsl,imx21-wdt): big-endian: False schema does not allow Truev1:
- create patch 0001-arch-arm64-dts-add-big-endian-property-back-into-
wat.patchMeng Li (2):
dt-bindings: watchdog: fsl-imx-wdt: add compatible stringfsl,ls1046a-wdtarch: 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