* [PATCH v5 3/5] dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA
[not found] <20241102093140.2625230-1-csokas.bence@prolan.hu>
@ 2024-11-02 9:31 ` Csókás, Bence
2024-11-02 9:31 ` [PATCH v5 5/5] ARM: dts: suniv: f1c100s: Add support for DMA Csókás, Bence
2024-11-15 13:10 ` [PATCH v5 0/5] Add support for DMA of F1C100s Csókás Bence
2 siblings, 0 replies; 3+ messages in thread
From: Csókás, Bence @ 2024-11-02 9:31 UTC (permalink / raw)
To: Chen-Yu Tsai, Maxime Ripard, dmaengine, devicetree,
linux-arm-kernel, linux-sunxi, linux-kernel
Cc: Csókás, Bence, Conor Dooley, Vinod Koul, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Jernej Skrabec, Samuel Holland
Add compatible string for Allwinner suniv F1C100s DMA.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[ csokas.bence: Reimplemented Mesih Kilinc's binding in YAML ]
Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>
---
.../devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml b/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml
index 02d5bd035409..9b5180c0a7c4 100644
--- a/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml
+++ b/Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml
@@ -22,7 +22,9 @@ properties:
number.
compatible:
- const: allwinner,sun4i-a10-dma
+ enum:
+ - allwinner,sun4i-a10-dma
+ - allwinner,suniv-f1c100s-dma
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v5 5/5] ARM: dts: suniv: f1c100s: Add support for DMA
[not found] <20241102093140.2625230-1-csokas.bence@prolan.hu>
2024-11-02 9:31 ` [PATCH v5 3/5] dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA Csókás, Bence
@ 2024-11-02 9:31 ` Csókás, Bence
2024-11-15 13:10 ` [PATCH v5 0/5] Add support for DMA of F1C100s Csókás Bence
2 siblings, 0 replies; 3+ messages in thread
From: Csókás, Bence @ 2024-11-02 9:31 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
Cc: Mesih Kilinc, Csókás, Bence, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai, Jernej Skrabec,
Samuel Holland
From: Mesih Kilinc <mesihkilinc@gmail.com>
Allwinner suniv F1C100s now has DMA support. Enable it under device
tree.
Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
[ csokas.bence: Rebased on current master ]
Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>
---
arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
index 3c61d59ab5f8..290efe026ceb 100644
--- a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
+++ b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
@@ -6,6 +6,7 @@
#include <dt-bindings/clock/suniv-ccu-f1c100s.h>
#include <dt-bindings/reset/suniv-ccu-f1c100s.h>
+#include <dt-bindings/dma/sun4i-a10.h>
/ {
#address-cells = <1>;
@@ -159,6 +160,15 @@ usbphy: phy@1c13400 {
status = "disabled";
};
+ dma: dma-controller@1c02000 {
+ compatible = "allwinner,suniv-f1c100s-dma";
+ reg = <0x01c02000 0x1000>;
+ interrupts = <18>;
+ clocks = <&ccu CLK_BUS_DMA>;
+ resets = <&ccu RST_BUS_DMA>;
+ #dma-cells = <2>;
+ };
+
ccu: clock@1c20000 {
compatible = "allwinner,suniv-f1c100s-ccu";
reg = <0x01c20000 0x400>;
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v5 0/5] Add support for DMA of F1C100s
[not found] <20241102093140.2625230-1-csokas.bence@prolan.hu>
2024-11-02 9:31 ` [PATCH v5 3/5] dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA Csókás, Bence
2024-11-02 9:31 ` [PATCH v5 5/5] ARM: dts: suniv: f1c100s: Add support for DMA Csókás, Bence
@ 2024-11-15 13:10 ` Csókás Bence
2 siblings, 0 replies; 3+ messages in thread
From: Csókás Bence @ 2024-11-15 13:10 UTC (permalink / raw)
To: dmaengine, linux-arm-kernel, linux-sunxi,
linux-kernel@vger.kernel.org, devicetree
Cc: Mark Brown, Mesih Kilinc, Vinod Koul, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, Chen-Yu Tsai, Krzysztof Kozlowski,
Philipp Zabel, Conor Dooley, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Amit Singh Tomar
Can this be merged? The merge window is coming up, and there's still the
other half of the series waiting on this.
Bence
On 2024. 11. 02. 10:31, Csókás, Bence wrote:
> Support for Allwinner F1C100s/200s series audio was
> submitted in 2018 as an RFC series, but was not merged,
> despite having only minor errors. However, this is
> essential for having audio on these SoCs.
> This series was forward-ported/rebased to the best of
> my abilities, on top of Linus' tree as of now:
> commit c2ee9f594da8 ("KVM: selftests: Fix build on on non-x86 architectures")
>
> Link: https://lore.kernel.org/all/cover.1543782328.git.mesihkilinc@gmail.com/
>
> As requested by many, this series will now be split in 2, the DMA and the
> ALSA/ASoC codec driver. This is the DMA part of the series.
>
> Csókás, Bence (1):
> dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA
>
> Mesih Kilinc (4):
> dma-engine: sun4i: Add a quirk to support different chips
> dma-engine: sun4i: Add has_reset option to quirk
> dma-engine: sun4i: Add support for Allwinner suniv F1C100s
> ARM: dts: suniv: f1c100s: Add support for DMA
>
> .../bindings/dma/allwinner,sun4i-a10-dma.yaml | 4 +-
> .../arm/boot/dts/allwinner/suniv-f1c100s.dtsi | 10 +
> drivers/dma/Kconfig | 4 +-
> drivers/dma/sun4i-dma.c | 217 +++++++++++++++---
> 4 files changed, 200 insertions(+), 35 deletions(-)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-15 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20241102093140.2625230-1-csokas.bence@prolan.hu>
2024-11-02 9:31 ` [PATCH v5 3/5] dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA Csókás, Bence
2024-11-02 9:31 ` [PATCH v5 5/5] ARM: dts: suniv: f1c100s: Add support for DMA Csókás, Bence
2024-11-15 13:10 ` [PATCH v5 0/5] Add support for DMA of F1C100s Csókás Bence
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).