Skip to content

Commit e4916e7

Browse files
robherringpH5
authored andcommitted
dt-bindings: reset: imx-src: Simplify compatible schema and drop unneeded quotes
The compatible schema can be simplified to a single enum for all the cases with "fsl,imx51-src" fallback compatible. In addition, the compatible strings are redundantly quoted. Drop unneeded quotes over simple string values to fix a soon to be enabled yamllint warning: [error] string value is redundantly quoted with any quotes (quoted-strings) Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231122224404.2808838-1-robh@kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent e530fc8 commit e4916e7

1 file changed

Lines changed: 10 additions & 21 deletions

File tree

Documentation/devicetree/bindings/reset/fsl,imx-src.yaml

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,17 @@ description: |
2828
properties:
2929
compatible:
3030
oneOf:
31-
- const: "fsl,imx51-src"
31+
- const: fsl,imx51-src
3232
- items:
33-
- const: "fsl,imx50-src"
34-
- const: "fsl,imx51-src"
35-
- items:
36-
- const: "fsl,imx53-src"
37-
- const: "fsl,imx51-src"
38-
- items:
39-
- const: "fsl,imx6q-src"
40-
- const: "fsl,imx51-src"
41-
- items:
42-
- const: "fsl,imx6sx-src"
43-
- const: "fsl,imx51-src"
44-
- items:
45-
- const: "fsl,imx6sl-src"
46-
- const: "fsl,imx51-src"
47-
- items:
48-
- const: "fsl,imx6ul-src"
49-
- const: "fsl,imx51-src"
50-
- items:
51-
- const: "fsl,imx6sll-src"
52-
- const: "fsl,imx51-src"
33+
- enum:
34+
- fsl,imx50-src
35+
- fsl,imx53-src
36+
- fsl,imx6q-src
37+
- fsl,imx6sx-src
38+
- fsl,imx6sl-src
39+
- fsl,imx6ul-src
40+
- fsl,imx6sll-src
41+
- const: fsl,imx51-src
5342

5443
reg:
5544
maxItems: 1

0 commit comments

Comments
 (0)