Skip to content

Commit f6fe9b6

Browse files
AnimeshAgarwal28Wim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: fsl-imx-wdt: Add missing 'big-endian' property
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) Cc: Daniel Baluta <[email protected]> Signed-off-by: Animesh Agarwal <[email protected]> Signed-off-by: Frank Li <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Wim Van Sebroeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 24a2f4d commit f6fe9b6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ properties:
4848
clocks:
4949
maxItems: 1
5050

51+
big-endian: true
52+
5153
fsl,ext-reset-output:
5254
$ref: /schemas/types.yaml#/definitions/flag
5355
description: |
@@ -93,6 +95,18 @@ allOf:
9395
properties:
9496
fsl,suspend-in-wait: false
9597

98+
- if:
99+
not:
100+
properties:
101+
compatible:
102+
contains:
103+
enum:
104+
- fsl,ls1012a-wdt
105+
- fsl,ls1043a-wdt
106+
then:
107+
properties:
108+
big-endian: false
109+
96110
unevaluatedProperties: false
97111

98112
examples:

0 commit comments

Comments
 (0)