Skip to content

Commit a2a8aef

Browse files
Fabio Estevamgregkh
authored andcommitted
dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
Both imx23.dtsi and imx28.dtsi describe the OCOTP nodes in the format: compatible = "fsl,imx28-ocotp", "fsl,ocotp"; Document the "fsl,ocotp" entry to fix the following schema warning: efuse@8002c000: compatible: ['fsl,imx23-ocotp', 'fsl,ocotp'] is too long from schema $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# Fixes: 2c50446 ("dt-bindings: nvmem: Convert MXS OCOTP to json-schema") Cc: <Stable@vger.kernel.org> Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20231215111358.316727-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 134c6ea commit a2a8aef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ allOf:
1515

1616
properties:
1717
compatible:
18-
enum:
19-
- fsl,imx23-ocotp
20-
- fsl,imx28-ocotp
18+
items:
19+
- enum:
20+
- fsl,imx23-ocotp
21+
- fsl,imx28-ocotp
22+
- const: fsl,ocotp
2123

2224
reg:
2325
maxItems: 1
@@ -35,7 +37,7 @@ unevaluatedProperties: false
3537
examples:
3638
- |
3739
ocotp: efuse@8002c000 {
38-
compatible = "fsl,imx28-ocotp";
40+
compatible = "fsl,imx28-ocotp", "fsl,ocotp";
3941
#address-cells = <1>;
4042
#size-cells = <1>;
4143
reg = <0x8002c000 0x2000>;

0 commit comments

Comments
 (0)