Skip to contentSkip to conversation

dt-bindings: rtc: mxc: Document fsl,imx31-rtc

PATCH Applied Fabio Estevam 2 participants 2 messages Jan 12, 2025 – Jan 13, 2025

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 dt-bindings: rtc: mxc: Document fsl,imx31-rtc

From: Fabio Estevam <[email protected]>

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']

---
 Documentation/devicetree/bindings/rtc/rtc-mxc.yaml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/rtc/rtc-mxc.yaml +7 -3
index a14b52178c4b..2599b847f406 100644
@@ -14,9 +14,13 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx1-rtc
-      - fsl,imx21-rtc
+    oneOf:
+      - const: fsl,imx1-rtc
+      - const: fsl,imx21-rtc
+      - items:
+          - enum:
+              - fsl,imx31-rtc
+          - const: fsl,imx21-rtc
 
   reg:
     maxItems: 1
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Fabio Estevam

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']

[...]

Applied, thanks!

[1/1] dt-bindings: rtc: mxc: Document fsl,imx31-rtc

      https://git.kernel.org/abelloni/c/6758bd0692e2

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com