Re: [PATCH v1 03/12] dt-bindings: nvmem: microchip-otpc: Add compatible for SAM9X60

From: Conor Dooley
Date: Wed Aug 21 2024 - 10:56:11 EST


On Wed, Aug 21, 2024 at 12:59:34PM +0200, Alexander Dahl wrote:
> The SAM9X60 SoC family has a similar OTPC to the SAMA7G5 family.
>
> Signed-off-by: Alexander Dahl <ada@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml b/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
> index cc25f2927682..d98b6711bdfd 100644
> --- a/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
> @@ -21,6 +21,7 @@ allOf:
> properties:
> compatible:
> items:
> + - const: microchip,sam9x60-otpc
> - const: microchip,sama7g5-otpc
> - const: syscon

As Rob's bot pointed out, this breaks the existing devicetrees. If you
want a fallback to the sama7g5, then you will need to add a new items
list here, alongside the existing one.

Cheers,
Conor.

>
> --
> 2.39.2
>

Attachment: signature.asc
Description: PGP signature