* [PATCH v3] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
@ 2023-12-07 10:16 Fabio Estevam
2023-12-08 10:59 ` Srinivas Kandagatla
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-12-07 10:16 UTC (permalink / raw)
To: srinivas.kandagatla
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
linux-arm-kernel, Fabio Estevam, Conor Dooley
From: Fabio Estevam <festevam@denx.de>
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: 2c504460f502 ("dt-bindings: nvmem: Convert MXS OCOTP to json-schema")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
Changes since v2:
- Added Conor's Acked-by tag.
Changes since v1:
- Added Fixes tag. (Conor)
Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
index f43186f98607..d9287be89877 100644
--- a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
@@ -15,9 +15,11 @@ allOf:
properties:
compatible:
- enum:
- - fsl,imx23-ocotp
- - fsl,imx28-ocotp
+ items:
+ - enum:
+ - fsl,imx23-ocotp
+ - fsl,imx28-ocotp
+ - const: fsl,ocotp
reg:
maxItems: 1
@@ -35,7 +37,7 @@ unevaluatedProperties: false
examples:
- |
ocotp: efuse@8002c000 {
- compatible = "fsl,imx28-ocotp";
+ compatible = "fsl,imx28-ocotp", "fsl,ocotp";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x8002c000 0x2000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
2023-12-07 10:16 [PATCH v3] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp Fabio Estevam
@ 2023-12-08 10:59 ` Srinivas Kandagatla
0 siblings, 0 replies; 2+ messages in thread
From: Srinivas Kandagatla @ 2023-12-08 10:59 UTC (permalink / raw)
To: Fabio Estevam
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
linux-arm-kernel, Fabio Estevam, Conor Dooley
On Thu, 07 Dec 2023 07:16:59 -0300, Fabio Estevam wrote:
> 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:
>
> [...]
Applied, thanks!
[1/1] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
commit: 46a8c57f38fd50b26c74c2663fc9262668d364f6
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-08 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 10:16 [PATCH v3] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp Fabio Estevam
2023-12-08 10:59 ` Srinivas Kandagatla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).