Skip to contentSkip to conversation

dt-bindings: nvmem: use base meta-schema for consumer schema

PATCH In review Rob Herring 2 participants 2 messages Mar 16, 2021 – Mar 17, 2021

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: nvmem: use base meta-schema for consumer schema

Common consumer schemas need to use the base.yaml meta-schema because they need to define different constraints (e.g. the type) from what users of the common schema need to define (e.g. how many entries).

Cc Srinivas Kandagatla <[email protected]>
---
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +1 -1
index 828e4a1ece41..b1da238c8bcb 100644
@@ -2,7 +2,7 @@
 %YAML 1.2
 ---
 $id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
+$schema: http://devicetree.org/meta-schemas/base.yaml#
 
 title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings
 
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Rob Herring

Common consumer schemas need to use the base.yaml meta-schema because they need to define different constraints (e.g. the type) from what users of the common schema need to define (e.g. how many entries).

Cc Srinivas Kandagatla <[email protected]>

---

--srini

Quoted 17 lines
  Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +1 -1
index 828e4a1ece41..b1da238c8bcb 100644
@@ -2,7 +2,7 @@
  %YAML 1.2
  ---
  $id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
+$schema: http://devicetree.org/meta-schemas/base.yaml#
 
  title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings