Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Alexandre Belloni
6758bd06 3f76ba88

+7 -3
+7 -3
Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
··· 14 14 15 15 properties: 16 16 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 20 24 21 25 reg: 22 26 maxItems: 1