dt-bindings: nvmem: use base meta-schema for consumer schema
Subsystems (2)
Rob Herring
maintainerPATCH 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]>
Signed-off-by Rob Herring <[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
@@ -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
Quoted 7 lines · Rob Herring
Common consumer schemas need to use the
base.yamlmeta-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]>Signed-off-by Rob Herring <[email protected]>---
Reviewed-by 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@@ -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