dt-bindings: rtc: mxc: Document fsl,imx31-rtc
Subsystems (3)
Fabio Estevam
reviewerPATCH 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']
Signed-off-by Fabio Estevam <[email protected]>
--- Documentation/devicetree/bindings/rtc/rtc-mxc.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/rtc/rtc-mxc.yaml +7 -3
@@ -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
Quoted 9 lines · Fabio Estevam
imx31.dtsiuses 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