[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <250dd9d8-7592-6ebd-e63f-98ae5aad542c@linaro.org>
Date: Thu, 30 Mar 2023 10:00:40 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Richard Alpe <richard@...42.se>, srinivas.kandagatla@...aro.org,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
niklas.soderlund+renesas@...natech.se
Subject: Re: [PATCH v3 1/2] dt-bindings: nvmem: Add nxp,qoriq-efuse
On 28/03/2023 10:27, Richard Alpe wrote:
> Add a schema for the NVMEM eFuse (SFP) layout on the NXP QorIQ SOC.
>
> Signed-off-by: Richard Alpe <richard@...42.se>
> ---
> .../bindings/nvmem/nxp,qoriq-efuse.yaml | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml
Filename matching compatible.
>
> diff --git a/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml b/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml
> new file mode 100644
> index 000000000000..e1d4d3849519
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/nvmem/nxp,qoriq-efuse.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP QorIQ eFuse support
> +
> +maintainers:
> + - Richard Alpe <richard@...42.se>
> +
> +description: |
Do not need '|'.
> + Read support for the eFuses (SFP) on NXP QorIQ series SoC's.
> +
> +allOf:
> + - $ref: "nvmem.yaml#"
Drop quotes.
> +
> +properties:
> + compatible:
> + oneOf:
Drop oneOf, no need for it. You can put description as comment.
> + - description: Trust architecture 2.0
> + items:
One items, so no need for "items:"
> + - const: fsl,t1023-sfp
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + efuse@...00 {
> + compatible = "fsl,t1023-sfp";
> + reg = <0xe8000 0x1000>;
> + };
> +...
Best regards,
Krzysztof
Powered by blists - more mailing lists