linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: nvmem: use base meta-schema for consumer schema
@ 2021-03-16 19:51 Rob Herring
  2021-03-17  8:54 ` Srinivas Kandagatla
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2021-03-16 19:51 UTC (permalink / raw)
  To: devicetree; +Cc: linux-kernel, Srinivas Kandagatla

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 <srinivas.kandagatla@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
index 828e4a1ece41..b1da238c8bcb 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
@@ -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
 
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: nvmem: use base meta-schema for consumer schema
  2021-03-16 19:51 [PATCH] dt-bindings: nvmem: use base meta-schema for consumer schema Rob Herring
@ 2021-03-17  8:54 ` Srinivas Kandagatla
  0 siblings, 0 replies; 2+ messages in thread
From: Srinivas Kandagatla @ 2021-03-17  8:54 UTC (permalink / raw)
  To: Rob Herring, devicetree; +Cc: linux-kernel



On 16/03/2021 19:51, Rob Herring wrote:
> 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 <srinivas.kandagatla@linaro.org>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

--srini


>   Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> index 828e4a1ece41..b1da238c8bcb 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> @@ -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
>   
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-17  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 19:51 [PATCH] dt-bindings: nvmem: use base meta-schema for consumer schema Rob Herring
2021-03-17  8:54 ` 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).