Re: [PATCH] ARM: dts: microchip: sam9x7: Add missing usart-mode property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krzysztof, thanks for the feedback,

I reached out to the developers who initiated the DT support for the
new sam9x7 devices, he explained to me the general workflow, turns out
the dts files aren't yet in linux-next.

> I think you work on some really old Linux kernel, judging by CC list.

Indeed, I used get_maintainer on an old kernel, my bad. Will update
the CC list & the patch once the new DT files make it into linux-next.

Best regards,
Jihèd



On Tue, Oct 1, 2024 at 1:44 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> wrote:
>
> 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@200:
> > serial@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@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@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@xxxxxxxxx>
>
> 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
>





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux