dt-bindings: watchdog: fsl-imx-wdt: Add missing 'big-endian' property
Frank Li
maintainerPATCH v2 1/1 dt-bindings: watchdog: fsl-imx-wdt: Add missing 'big-endian' property
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in watchdog/fsl-imx-wdt.yaml schema. Only allow big-endian property for ls1012a and ls1043a.
Fix dtbs_check errors. arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)
---
Change from v1 to v2:
only allow big endian for layerscape platform.
previous post at:
https://lore.kernel.org/imx/[email protected]/
check spec, and dump watch dog reset value
at ls1043a platform.
0x02A80000: 00 30 00 00 00 10 00 04 00 01 00 00 00 00 00 0
It is big-endian. imx2_wdt.c use regmap which call regmap_get_val_endian() to handle endian.
So this change is corret.
big-endian for wdt is necessary
--- .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +14 -0
@@ -48,6 +48,8 @@ properties: clocks: maxItems: 1 + big-endian: true + fsl,ext-reset-output: $ref: /schemas/types.yaml#/definitions/flag description: |
@@ -93,6 +95,18 @@ allOf: properties: fsl,suspend-in-wait: false + - if: + not: + properties: + compatible: + contains: + enum: + - fsl,ls1012a-wdt + - fsl,ls1043a-wdt + then: + properties: + big-endian: false + unevaluatedProperties: false examples:
Signature · 1 line
2.34.1
Quoted 5 lines · Frank Li
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in
watchdog/fsl-imx-wdt.yamlschema. Only allow big-endian property for ls1012a and ls1043a.
Quoted 8 lines
Fix
dtbs_checkerrors.arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)Cc Daniel Baluta <[email protected]>Signed-off-by Animesh Agarwal <[email protected]>Signed-off-by Frank Li <[email protected]>---
Best regards,
Krzysztof
Frank Li
maintainerQuoted 5 lines · Frank Li
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in
watchdog/fsl-imx-wdt.yamlschema. Only allow big-endian property for ls1012a and ls1043a.
Quoted 8 lines
Fix
dtbs_checkerrors.arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)Cc Daniel Baluta <[email protected]>Signed-off-by Animesh Agarwal <[email protected]>Signed-off-by Frank Li <[email protected]>---
Wim Van Sebroeck:
Any update this patch? Kyzy already acked.
Frank
Quoted 57 lines
Change from v1 to v2:
only allow big endian for layerscape platform.previous post at:
https://lore.kernel.org/imx/[email protected]/check spec, and dump watch dog reset value
at ls1043a platform.
0x02A80000: 00 30 00 00 00 10 00 04 00 01 00 00 00 00 00 0It is big-endian.
imx2_wdt.cuse regmap which callregmap_get_val_endian()to handle endian.So this change is corret.
big-endian for wdt is necessary
--- .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +14
-1@@ -48,6 +48,8 @@ properties: clocks: maxItems: 1 + big-endian: true + fsl,ext-reset-output: $ref: /schemas/types.yaml#/definitions/flag description: |@@ -93,6 +95,18 @@ allOf: properties: fsl,suspend-in-wait: false + - if: + not: + properties: + compatible: + contains: + enum: + - fsl,ls1012a-wdt + - fsl,ls1043a-wdt + then: + properties: + big-endian: false + unevaluatedProperties: false examples: --2.34.1
Hi Frank,
Quoted 10 lines · Frank Li
Quoted 9 lines
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in
watchdog/fsl-imx-wdt.yamlschema. Only allow big-endian property for ls1012a and ls1043a.Fix
dtbs_checkerrors.arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)
Quoted 9 lines
Quoted 4 lines
Cc Daniel Baluta <[email protected]>Signed-off-by Animesh Agarwal <[email protected]>Signed-off-by Frank Li <[email protected]>---
Wim Van Sebroeck:
Any update this patch? Kyzy already acked.
Via which tree will this go upsteam?
Kind regards,
Wim.
Quoted 61 lines
Frank
Quoted 57 lines
Change from v1 to v2:
only allow big endian for layerscape platform.previous post at:
https://lore.kernel.org/imx/[email protected]/check spec, and dump watch dog reset value
at ls1043a platform.
0x02A80000: 00 30 00 00 00 10 00 04 00 01 00 00 00 00 00 0It is big-endian.
imx2_wdt.cuse regmap which callregmap_get_val_endian()to handle endian.So this change is corret.
big-endian for wdt is necessary
--- .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +14
-1@@ -48,6 +48,8 @@ properties: clocks: maxItems: 1 + big-endian: true + fsl,ext-reset-output: $ref: /schemas/types.yaml#/definitions/flag description: |@@ -93,6 +95,18 @@ allOf: properties: fsl,suspend-in-wait: false + - if: + not: + properties: + compatible: + contains: + enum: + - fsl,ls1012a-wdt + - fsl,ls1043a-wdt + then: + properties: + big-endian: false + unevaluatedProperties: false examples: --2.34.1
Rob Herring
maintainerQuoted 18 lines · Wim Van Sebroeck
Hi Frank,
Quoted 15 lines · Frank Li
Quoted 13 lines
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in
watchdog/fsl-imx-wdt.yamlschema. Only allow big-endian property for ls1012a and ls1043a.Fix
dtbs_checkerrors.arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)Cc Daniel Baluta <[email protected]>Signed-off-by Animesh Agarwal <[email protected]>Signed-off-by Frank Li <[email protected]>---
Quoted 8 lines
Quoted 4 lines
Wim Van Sebroeck:
Any update this patch? Kyzy already acked.
Acked-by Wim Van Sebroeck <[email protected]>Via which tree will this go upsteam?
Your tree.
DT bindings go in via $subsystem tree. I only take DT bindings if they don't get picked up by the subsystem maintainer.
Rob
Wim Van Sebroeck
maintainerHi Frank, Rob,
Quoted 26 lines · Wim Van Sebroeck
Quoted 25 lines
Hi Frank,
Quoted 10 lines · Frank Li
Quoted 9 lines
From: Animesh Agarwal <[email protected]>
Add missing big-endian property in
watchdog/fsl-imx-wdt.yamlschema. Only allow big-endian property for ls1012a and ls1043a.Fix
dtbs_checkerrors.arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: watchdog@2ad0000:
Unevaluated properties are not allowed ('big-endian' was unexpected)Quoted 9 lines
Quoted 4 lines
Cc Daniel Baluta <[email protected]>Signed-off-by Animesh Agarwal <[email protected]>Signed-off-by Frank Li <[email protected]>---
Wim Van Sebroeck:
Any update this patch? Kyzy already acked.
Acked-by Wim Van Sebroeck <[email protected]>
Quoted 8 lines
Quoted 1 line
Via which tree will this go upsteam?
Your tree.
DT bindings go in via $subsystem tree. I only take DT bindings if they don't get picked up by the subsystem maintainer.
Rob
Added.
Kind regards,
Wim.