[PATCH] dt-bindings: nvmem: snvs-lpgpr: Fix i.MX8M compatible strings

Alexander Stein alexander.stein at ew.tq-group.com
Thu Nov 3 01:19:34 PDT 2022


Am Mittwoch, 2. November 2022, 23:25:43 CET schrieb Marek Vasut:
> The compatible strings for "fsl,imx8m*-snvs-lpgpr" always contain
> the fallback "fsl,imx7d-snvs-lpgpr" compatible in DTs too, since
> the fallback compatible is what the driver matches on, this way:
>   compatible = "fsl,imx8mm-snvs-lpgpr", "fsl,imx7d-snvs-lpgpr"
> The older "fsl,imx7d-snvs-lpgpr" and "fsl,imx6*-snvs-lpgpr" used
> only that single compatible string.
> 
> Document both options in the binding document.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Anson Huang <Anson.Huang at nxp.com>
> Cc: Fabio Estevam <festevam at denx.de>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> Cc: Oleksij Rempel <linux at rempel-privat.de>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: devicetree at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
>  .../devicetree/bindings/nvmem/snvs-lpgpr.yaml | 20 +++++++++++--------
>  1 file changed, 12 insertions(+), 8 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml
> b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml index
> e374aa7891ae7..ec20e33d9b8f8 100644
> --- a/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.yaml
> @@ -11,14 +11,18 @@ maintainers:
> 
>  properties:
>    compatible:
> -    enum:
> -      - fsl,imx6q-snvs-lpgpr
> -      - fsl,imx6ul-snvs-lpgpr
> -      - fsl,imx7d-snvs-lpgpr
> -      - fsl,imx8mm-snvs-lpgpr
> -      - fsl,imx8mn-snvs-lpgpr
> -      - fsl,imx8mp-snvs-lpgpr
> -      - fsl,imx8mq-snvs-lpgpr
> +    oneOf:
> +      - items:
> +          - enum:
> +              - fsl,imx8mm-snvs-lpgpr
> +              - fsl,imx8mn-snvs-lpgpr
> +              - fsl,imx8mp-snvs-lpgpr
> +              - fsl,imx8mq-snvs-lpgpr
> +          - const: fsl,imx7d-snvs-lpgpr
> +      - enum:
> +          - fsl,imx6q-snvs-lpgpr
> +          - fsl,imx6ul-snvs-lpgpr
> +          - fsl,imx7d-snvs-lpgpr
> 
>  required:
>    - compatible

Acked-by: Alexander Stein <alexander.stein at ew.tq-group.com>






More information about the linux-arm-kernel mailing list