[PATCHv3 1/2] dt-bindings: serial: atmel,at91-usart: update compatible for sam9x60

Conor Dooley conor at kernel.org
Tue Jul 18 04:12:50 PDT 2023


On Tue, Jul 18, 2023 at 12:27:34PM +0530, Durai Manickam KR wrote:
> There is only one debug unit in the sam9x60 SOC and it has the chipid
> register. So, the dbgu compatible strings are valid only for debug usart.
> Defining these dbgu compatible strings are not valid for flexcom usart.
> So adding the items which is valid only for flexcom usart and removing
> the microchip,sam9x60-usart compatible string from the enum list as no
> usart node defines only this specific compatible string.

It may have been worth pointing out that had any DTS used the compatible
that is being disallowed in isolation after this change, no driver in
Linux would have bound to it anyway.

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Thanks,
Conor.

> 
> Signed-off-by: Durai Manickam KR <durai.manickamkr at microchip.com>
> ---
>  .../devicetree/bindings/serial/atmel,at91-usart.yaml          | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> index 30b2131b5860..65cb2e5c5eee 100644
> --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> @@ -16,13 +16,15 @@ properties:
>        - enum:
>            - atmel,at91rm9200-usart
>            - atmel,at91sam9260-usart
> -          - microchip,sam9x60-usart
>        - items:
>            - const: atmel,at91rm9200-dbgu
>            - const: atmel,at91rm9200-usart
>        - items:
>            - const: atmel,at91sam9260-dbgu
>            - const: atmel,at91sam9260-usart
> +      - items:
> +          - const: microchip,sam9x60-usart
> +          - const: atmel,at91sam9260-usart
>        - items:
>            - const: microchip,sam9x60-dbgu
>            - const: microchip,sam9x60-usart
> -- 
> 2.25.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230718/69100ec1/attachment.sig>


More information about the linux-arm-kernel mailing list