* [PATCH] dt-bindings: rtc: mxc: Document fsl,imx31-rtc
@ 2025-01-12 13:40 Fabio Estevam
2025-01-13 8:35 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2025-01-12 13:40 UTC (permalink / raw)
To: alexandre.belloni
Cc: robh, krzk+dt, conor+dt, linux-rtc, devicetree, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
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>
---
Documentation/devicetree/bindings/rtc/rtc-mxc.yaml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/rtc-mxc.yaml b/Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
index a14b52178c4b..2599b847f406 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
@@ -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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: rtc: mxc: Document fsl,imx31-rtc
2025-01-12 13:40 [PATCH] dt-bindings: rtc: mxc: Document fsl,imx31-rtc Fabio Estevam
@ 2025-01-13 8:35 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2025-01-13 8:35 UTC (permalink / raw)
To: Fabio Estevam
Cc: robh, krzk+dt, conor+dt, linux-rtc, devicetree, Fabio Estevam
On Sun, 12 Jan 2025 10:40:27 -0300, Fabio Estevam wrote:
> 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,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-13 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-12 13:40 [PATCH] dt-bindings: rtc: mxc: Document fsl,imx31-rtc Fabio Estevam
2025-01-13 8:35 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox