[PATCH] ARM: dts: microchip: sam9x7: Add missing usart-mode property
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Oct 1 04:44:26 PDT 2024
On 30/09/2024 22:26, Jihed Chaibi wrote:
> Add the atmel,usart-mode property to UART nodes in Microchip SAM9X75
> boards' device trees (boards which inherit sam9x7.dtsi). This ensures
> compliance with the atmel at91-usart.yaml schema and resolves errors
> that occur during DT validation, such as:
That's redundant statement.
>
> arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: serial at 200:
> serial at 200' does not match '^spi(@.*|-([0-9]|[1-9][0-9]+))?$'
> from schema: http://devicetree.org/schemas/serial/atmel,at91-usart.yaml#
>
> arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb:
> serial at 200: atmel,use-dma-rx: False schema does not allow True
> from schema: http://devicetree.org/schemas/serial/atmel,at91-usart.yaml#
>
> arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb:
> serial at 200: atmel,fifo-size: False schema does not allow 16
> from schema: http://devicetree.org/schemas/serial/atmel,at91-usart.yaml#
And why is this a property of SoC? Does not look right, at least nothing
here explains this.
Trim the commit msg to relevant logs and statements. You do not have to
explain everyone what dtbs_check is.
>
>
> By adding "atmel,usart-mode = <AT91_USART_MODE_SERIAL>" to UART nodes
> 0 up until 12, these errors are resolved, ensuring proper DTB validation.
But in the same time you entirely skipped relevant information: why is
this a correct fix for the issue.
>
> This issue has been tested on the sam9x75 (sam9x75eb & sam9x75_curiosity)
> boards, both of which inherit the sam9x7.dtsi file.
>
> Signed-off-by: Jihed Chaibi <jihed.chaibi.dev at gmail.com>
I think you work on some really old Linux kernel, judging by CC list.
Please rebase on latest next or mainline kernel.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list