[PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children

Rob Herring robh at kernel.org
Thu Jun 8 09:11:44 PDT 2023


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 at linaro.org>
> 
> ---
> 
> Cc: Peng Fan <peng.fan at 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
> 



More information about the linux-arm-kernel mailing list