Message ID | 20220318162044.169350-2-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] dt-bindings: dmaengine: sifive, fu540-c000: include generic schema | expand |
On 18/03/2022 17:20, Krzysztof Kozlowski wrote: > Fixes dtbs_check warnings like: > > dma@3000000: $nodename:0: 'dma@3000000' does not match '^dma-controller(@.*)?$' > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Any comments here? Best regards, Krzysztof
On 19/04/2022 10:09, Krzysztof Kozlowski wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On 18/03/2022 17:20, Krzysztof Kozlowski wrote: >> Fixes dtbs_check warnings like: >> >> dma@3000000: $nodename:0: 'dma@3000000' does not match '^dma-controller(@.*)?$' >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >> --- >> arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Any comments here? Not sure that this one is actually needed Krzysztof, Zong Li has a fix for this in his series of fixes for the sifive pdma: https://lore.kernel.org/linux-riscv/edd72c0cca1ebceddc032ff6ec2284e3f48c5ad3.1648461096.git.zong.li@sifive.com/ Maybe you could add your review to his version?
On 19/04/2022 12:45, Conor.Dooley@microchip.com wrote: > On 19/04/2022 10:09, Krzysztof Kozlowski wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >> >> On 18/03/2022 17:20, Krzysztof Kozlowski wrote: >>> Fixes dtbs_check warnings like: >>> >>> dma@3000000: $nodename:0: 'dma@3000000' does not match '^dma-controller(@.*)?$' >>> >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >>> --- >>> arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> Any comments here? > > Not sure that this one is actually needed Krzysztof, Zong Li has a fix > for this in his series of fixes for the sifive pdma: > https://lore.kernel.org/linux-riscv/edd72c0cca1ebceddc032ff6ec2284e3f48c5ad3.1648461096.git.zong.li@sifive.com/ > > Maybe you could add your review to his version? Zong's Li patch was sent 10 days after my patch... [1] Why riscv DTS patches take so much time to pick up? [1] https://lore.kernel.org/linux-devicetree/20220318162044.169350-2-krzysztof.kozlowski@canonical.com/ Best regards, Krzysztof
On 19/04/2022 10:50, Krzysztof Kozlowski wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On 19/04/2022 12:45, Conor.Dooley@microchip.com wrote: >> On 19/04/2022 10:09, Krzysztof Kozlowski wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >>> >>> On 18/03/2022 17:20, Krzysztof Kozlowski wrote: >>>> Fixes dtbs_check warnings like: >>>> >>>> dma@3000000: $nodename:0: 'dma@3000000' does not match '^dma-controller(@.*)?$' >>>> >>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >>>> --- >>>> arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> Any comments here? >> >> Not sure that this one is actually needed Krzysztof, Zong Li has a fix >> for this in his series of fixes for the sifive pdma: >> https://lore.kernel.org/linux-riscv/edd72c0cca1ebceddc032ff6ec2284e3f48c5ad3.1648461096.git.zong.li@sifive.com/ >> >> Maybe you could add your review to his version? > > Zong's Li patch was sent 10 days after my patch... [1] Why riscv DTS > patches take so much time to pick up? > Oh, my bad. I incorrectly assumed that that patch was present before v8, I should've checked further back - sorry!
On 19/04/2022 12:57, Conor.Dooley@microchip.com wrote: >>> Not sure that this one is actually needed Krzysztof, Zong Li has a fix >>> for this in his series of fixes for the sifive pdma: >>> https://lore.kernel.org/linux-riscv/edd72c0cca1ebceddc032ff6ec2284e3f48c5ad3.1648461096.git.zong.li@sifive.com/ >>> >>> Maybe you could add your review to his version? >> >> Zong's Li patch was sent 10 days after my patch... [1] Why riscv DTS >> patches take so much time to pick up? >> > > Oh, my bad. I incorrectly assumed that that patch was present before v8, > I should've checked further back - sorry! No problem :) I don't mind Zong's patch to be taken although in general I believe more in FIFO (or FIF Served) style. Best regards, Krzysztof
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 於 2022年4月19日 週二 下午6:59寫道: > > On 19/04/2022 12:57, Conor.Dooley@microchip.com wrote: > >>> Not sure that this one is actually needed Krzysztof, Zong Li has a fix > >>> for this in his series of fixes for the sifive pdma: > >>> https://lore.kernel.org/linux-riscv/edd72c0cca1ebceddc032ff6ec2284e3f48c5ad3.1648461096.git.zong.li@sifive.com/ > >>> > >>> Maybe you could add your review to his version? > >> > >> Zong's Li patch was sent 10 days after my patch... [1] Why riscv DTS > >> patches take so much time to pick up? > >> > > > > Oh, my bad. I incorrectly assumed that that patch was present before v8, > > I should've checked further back - sorry! > > No problem :) > > I don't mind Zong's patch to be taken although in general I believe more > in FIFO (or FIF Served) style. > Hi all, Thanks Conor brings me here. The patch 1 and 4 in my series has been applied into dmaengine/next, but patch 2 and 3 should go by riscv tree, so I guess that I could re-send the patch 2 based on top of Krzysztof's patch, then let's drop the patch 2 & 3 of another patchset. I will keep follow up here. Thanks all. > Best regards, > Krzysztof > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv
diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi index 3eef52b1a59b..fd93fdadd28c 100644 --- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi +++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi @@ -167,7 +167,7 @@ uart0: serial@10010000 { clocks = <&prci PRCI_CLK_TLCLK>; status = "disabled"; }; - dma: dma@3000000 { + dma: dma-controller@3000000 { compatible = "sifive,fu540-c000-pdma"; reg = <0x0 0x3000000 0x0 0x8000>; interrupt-parent = <&plic0>;
Fixes dtbs_check warnings like: dma@3000000: $nodename:0: 'dma@3000000' does not match '^dma-controller(@.*)?$' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)