Skip to content

Commit 6758bd0

Browse files
Fabio Estevamalexandrebelloni
authored andcommitted
dt-bindings: rtc: mxc: Document fsl,imx31-rtc
imx31.dtsi uses the following RTC compatible: compatible = "fsl,imx31-rtc", "fsl,imx21-rtc"; Document 'fsl,imx31-rtc' to fix the following dt-schema warning: 'fsl,imx31-rtc' is not one of ['fsl,imx1-rtc', 'fsl,imx21-rtc'] Signed-off-by: Fabio Estevam <festevam@denx.de> Link: https://lore.kernel.org/r/20250112134027.1013213-1-festevam@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 3f76ba8 commit 6758bd0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Documentation/devicetree/bindings/rtc/rtc-mxc.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ maintainers:
1414

1515
properties:
1616
compatible:
17-
enum:
18-
- fsl,imx1-rtc
19-
- fsl,imx21-rtc
17+
oneOf:
18+
- const: fsl,imx1-rtc
19+
- const: fsl,imx21-rtc
20+
- items:
21+
- enum:
22+
- fsl,imx31-rtc
23+
- const: fsl,imx21-rtc
2024

2125
reg:
2226
maxItems: 1

0 commit comments

Comments
 (0)