Message ID | 20241007212434.895521-1-Frank.Li@nxp.com |
---|---|
State | New |
Headers | show |
Series | [v2,1/1] dt-bindings: watchdog: fsl-imx-wdt: Add missing 'big-endian' property | expand |
On Mon, Oct 07, 2024 at 05:24:33PM -0400, Frank Li wrote: > From: Animesh Agarwal <animeshagarwal28@gmail.com> > > 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 <daniel.baluta@nxp.com> > Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com> > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml index 36b836d0620c9..0da953cb71272 100644 --- a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml @@ -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: