linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
@ 2023-05-06  6:41 Krzysztof Kozlowski
  2023-05-06  6:42 ` Peng Fan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-06  6:41 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, devicetree, linux-arm-kernel,
	linux-kernel
  Cc: Krzysztof Kozlowski, Peng Fan

Referenced nvmem.yaml schema already defines address/size-cells and its
children, so remove redundant entries.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Cc: Peng Fan <peng.fan@nxp.com>
---
 .../devicetree/bindings/nvmem/imx-ocotp.yaml  | 21 -------------------
 1 file changed, 21 deletions(-)

diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
index 9876243ff1e8..0784d71ae8f9 100644
--- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
@@ -46,12 +46,6 @@ properties:
   reg:
     maxItems: 1
 
-  "#address-cells":
-    const: 1
-
-  "#size-cells":
-    const: 1
-
   clocks:
     maxItems: 1
 
@@ -61,21 +55,6 @@ required:
   - compatible
   - reg
 
-patternProperties:
-  "^.*@[0-9a-f]+$":
-    type: object
-
-    properties:
-      reg:
-        maxItems: 1
-        description:
-          Offset and size in bytes within the storage device.
-
-    required:
-      - reg
-
-    additionalProperties: false
-
 unevaluatedProperties: false
 
 examples:
-- 
2.34.1


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

* RE: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
  2023-05-06  6:41 [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children Krzysztof Kozlowski
@ 2023-05-06  6:42 ` Peng Fan
  2023-06-08 16:11 ` Rob Herring
  2023-06-08 17:09 ` Srinivas Kandagatla
  2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2023-05-06  6:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Srinivas Kandagatla, Rob Herring,
	Krzysztof Kozlowski, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, dl-linux-imx,
	Anson Huang, devicetree, linux-arm-kernel, linux-kernel

> Subject: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded
> address/size-cells and children
> 
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

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

* Re: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
  2023-05-06  6:41 [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children Krzysztof Kozlowski
  2023-05-06  6:42 ` Peng Fan
@ 2023-06-08 16:11 ` Rob Herring
  2023-06-08 17:09 ` Srinivas Kandagatla
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-06-08 16:11 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Srinivas Kandagatla, Krzysztof Kozlowski, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, devicetree, linux-arm-kernel,
	linux-kernel, Peng Fan

On Sat, May 06, 2023 at 08:41:28AM +0200, Krzysztof Kozlowski wrote:
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Cc: Peng Fan <peng.fan@nxp.com>
> ---
>  .../devicetree/bindings/nvmem/imx-ocotp.yaml  | 21 -------------------
>  1 file changed, 21 deletions(-)

Srinivas, going to pick this up?

> 
> diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> index 9876243ff1e8..0784d71ae8f9 100644
> --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> @@ -46,12 +46,6 @@ properties:
>    reg:
>      maxItems: 1
>  
> -  "#address-cells":
> -    const: 1
> -
> -  "#size-cells":
> -    const: 1
> -
>    clocks:
>      maxItems: 1
>  
> @@ -61,21 +55,6 @@ required:
>    - compatible
>    - reg
>  
> -patternProperties:
> -  "^.*@[0-9a-f]+$":
> -    type: object
> -
> -    properties:
> -      reg:
> -        maxItems: 1
> -        description:
> -          Offset and size in bytes within the storage device.
> -
> -    required:
> -      - reg
> -
> -    additionalProperties: false
> -
>  unevaluatedProperties: false
>  
>  examples:
> -- 
> 2.34.1
> 

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

* Re: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
  2023-05-06  6:41 [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children Krzysztof Kozlowski
  2023-05-06  6:42 ` Peng Fan
  2023-06-08 16:11 ` Rob Herring
@ 2023-06-08 17:09 ` Srinivas Kandagatla
  2 siblings, 0 replies; 4+ messages in thread
From: Srinivas Kandagatla @ 2023-06-08 17:09 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Anson Huang, devicetree, linux-arm-kernel, linux-kernel,
	Krzysztof Kozlowski
  Cc: Peng Fan


On Sat, 06 May 2023 08:41:28 +0200, Krzysztof Kozlowski wrote:
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> 

Applied, thanks!

[1/1] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
      commit: 4a43546dbd0b15fc21994a95ab565721f24c59d0

Best regards,
-- 
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>


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

end of thread, other threads:[~2023-06-08 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-06  6:41 [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children Krzysztof Kozlowski
2023-05-06  6:42 ` Peng Fan
2023-06-08 16:11 ` Rob Herring
2023-06-08 17:09 ` 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).