Skip to contentSkip to conversation

Add JH8100 support for snps,dw-axi-dmac

PATCH Applied Tan Chun Hau 4 participants 8 messages Mar 27, 2024 – Apr 7, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover Add JH8100 support for snps,dw-axi-dmac

Add StarFive JH8100 DMA support.

Changes in v2:
- Amended commit message according to feedback.

Tan Chun Hau (2):
dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support
dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA

 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 1 +
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c              | 3 +++
 2 files changed, 4 insertions(+)
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/2 dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Add support for StarFive JH8100 SoC in Sysnopsys Designware AXI DMA controller.

Both JH8100 and JH7110 require reset operation in device probe. However, JH8100 doesn't need to apply different configuration on CH_CFG registers.

---
 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +1 -0
index 363cf8bd150d..525f5f3932f5 100644
@@ -21,6 +21,7 @@ properties:
       - snps,axi-dma-1.01a
       - intel,kmb-axi-dma
       - starfive,jh7110-axi-dma
+      - starfive,jh8100-axi-dma
 
   reg:
     minItems: 1
Signature · 1 line
2.25.1
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Quoted 6 lines · Tan Chun Hau

Add support for StarFive JH8100 SoC in Sysnopsys Designware AXI DMA controller.

Both JH8100 and JH7110 require reset operation in device probe. However, JH8100 doesn't need to apply different configuration on CH_CFG registers.

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.

Best regards,
Krzysztof

#3 lore raw

RE: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Quoted 34 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Wednesday, 27 March, 2024 3:50 PM
To: ChunHau Tan <[email protected]>; Eugeniy Paltsev <[email protected]>; Vinod Koul <[email protected]>; Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>
Cc: Leyfoon Tan <[email protected]>; JeeHeng Sia <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Quoted 6 lines · Tan Chun Hau

Add support for StarFive JH8100 SoC in Sysnopsys Designware AXI DMA controller.

Both JH8100 and JH7110 require reset operation in device probe. However, JH8100 doesn't need to apply different configuration on CH_CFG registers.

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

Quoted 4 lines

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitt
ing-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.

Hi Krzysztof, thank you very much for the feedback,
Sorry I overlooked it.
Do you prefer I resend V2 patch or send a V3 patch to include the Acked-by ? Thank you.

Quoted 3 lines

Best regards,
Krzysztof

#4 lore raw

Re: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Quoted 34 lines · ChunHau Tan
Quoted 34 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Wednesday, 27 March, 2024 3:50 PM
To: ChunHau Tan <[email protected]>; Eugeniy Paltsev <[email protected]>; Vinod Koul <[email protected]>; Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>
Cc: Leyfoon Tan <[email protected]>; JeeHeng Sia <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

Quoted 6 lines · Tan Chun Hau

Add support for StarFive JH8100 SoC in Sysnopsys Designware AXI DMA controller.

Both JH8100 and JH7110 require reset operation in device probe. However, JH8100 doesn't need to apply different configuration on CH_CFG registers.

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

Quoted 8 lines
Quoted 4 lines

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitt
ing-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.

Hi Krzysztof, thank you very much for the feedback,
Sorry I overlooked it.
Do you prefer I resend V2 patch or send a V3 patch to include the Acked-by ?

I resent the tag, you do not need to do anything.

Thanks,
Conor.

Acked-by on v2 1/2
#5 lore raw

Re: [PATCH v2 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

In reply to Tan Chun Hau
Quoted 8 lines · Tan Chun Hau

Add support for StarFive JH8100 SoC in Sysnopsys Designware AXI DMA controller.

Both JH8100 and JH7110 require reset operation in device probe. However, JH8100 doesn't need to apply different configuration on CH_CFG registers.

Thanks,
Conor.

#6 lore raw

PATCH v2 2/2 dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA

In reply to Tan Chun Hau

JH8100 requires reset operation only in device probe.

---
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +3 -0
index a86a81ff0caa..abb3523ba8ab 100644
@@ -1653,6 +1653,9 @@ static const struct of_device_id dw_dma_of_id_table[] = {
 	}, {
 		.compatible = "starfive,jh7110-axi-dma",
 		.data = (void *)(AXI_DMA_FLAG_HAS_RESETS | AXI_DMA_FLAG_USE_CFG2),
+	}, {
+		.compatible = "starfive,jh8100-axi-dma",
+		.data = (void *)AXI_DMA_FLAG_HAS_RESETS,
 	},
 	{}
 };
Signature · 1 line
2.25.1
maintainer Applied
#7 lore raw
In reply to Tan Chun Hau
Quoted 10 lines · Tan Chun Hau

Add StarFive JH8100 DMA support.

Changes in v2:
- Amended commit message according to feedback.

Tan Chun Hau (2):
dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support
dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA

[...]

Applied, thanks!

[1/2] dt-bindings: dma: snps,dw-axi-dmac: Add JH8100 support

      commit: 9bcf929ba1879887e0464d06cbf9b33839572af7
[2/2] dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA
      commit: 559a6690187ee0ab7875f7c560d3d19e35423fb3

Best regards,

Signature · 1 line
~Vinod