ARM: exynos: pl330: Add #dma-cells for generic dma binding support
Subsystems (2)
PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos platforms. #dma-channels and #dma-requests are not required now but added in advance.
---
Based on Torvalds tree
arch/arm/boot/dts/exynos4.dtsi | 9 +++++++++ arch/arm/boot/dts/exynos5440.dtsi | 6 ++++++ 2 files changed, 15 insertions(+), 0 deletions(-)
arch/arm/boot/dts/exynos4.dtsi +9 -0
@@ -275,18 +275,27 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0x12680000 0x1000>; interrupts = <0 35 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; pdma1: pdma@12690000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x12690000 0x1000>; interrupts = <0 36 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; mdma1: mdma@12850000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x12850000 0x1000>; interrupts = <0 34 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <1>; }; }; };
arch/arm/boot/dts/exynos5440.dtsi +6 -0
@@ -142,12 +142,18 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0x120000 0x1000>; interrupts = <0 34 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; pdma1: pdma@121B0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x121000 0x1000>; interrupts = <0 35 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; };
Signature · 1 line
1.7.4.4
PATCH 2/2 Arm: socfpga: pl330: Add #dma-cells for generic dma binding support
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on SOCFPGA platform. #dma-channels and #dma-requests are not required now but added in advance.
---
Based on Torvalds tree
arch/arm/boot/dts/socfpga.dtsi | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/socfpga.dtsi +3 -0
@@ -75,6 +75,9 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0xffe01000 0x1000>; interrupts = <0 180 4>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; };
Signature · 1 line
1.7.4.4
PATCH 2/2 Arm: socfpga: pl330: Add #dma-cells for generic dma binding support
Quoted 17 lines · Padmavathi Venna
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on SOCFPGA platform. #dma-channels and #dma-requests are not required now but added in advance.
Signed-off-by Padmavathi Venna <[email protected]>---
Based on Torvalds tree
arch/arm/boot/dts/socfpga.dtsi | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/boot/dts/socfpga.dtsi +0
-0
arch/arm/boot/dts/socfpga.dtsi line 80
Quoted 6 lines
arch/arm/boot/dts/socfpga.dtsi +3
-0@@ -75,6 +75,9 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0xffe01000 0x1000>; interrupts = <0 180 4>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>;
Thanks..
Dinh
Quoted 3 lines
arch/arm/boot/dts/socfpga.dtsi +0
-0}; };
PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support
In reply to Padmavathi VennaQuoted 7 lines · Padmavathi Venna
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos platforms. #dma-channels and #dma-requests are not required now but added in advance.
Signed-off-by Padmavathi Venna <[email protected]>
Should we apply these directly to the arm-soc fixes branch, or wait until they come back from the Samsung subarchitecture tree?
PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support
Quoted 7 lines · Arnd Bergmann
Quoted 6 lines · Padmavathi Venna
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos platforms. #dma-channels and #dma-requests are not required now but added in advance.
Quoted 6 lines
Quoted 1 line
Signed-off-by Padmavathi Venna <[email protected]>Acked-by Arnd Bergmann <[email protected]>Should we apply these directly to the arm-soc fixes branch, or wait until they come back from the Samsung subarchitecture tree?
Hmm, If Kukjin can take in 3.9 rc2 it's better to go via Samsung tree.
Kukjin,
Can you please take this patch in 3.9 rc2 ?
Thanks
Padma
PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support
Quoted 13 lines · Padma Venkat
Quoted 11 lines · Arnd Bergmann
Quoted 7 lines · Padmavathi Venna
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos platforms. #dma-channels and #dma-requests are not required now but added in advance.
Signed-off-by Padmavathi Venna <[email protected]>Acked-by Arnd Bergmann <[email protected]>
Quoted 9 lines
Quoted 2 lines
Should we apply these directly to the arm-soc fixes branch, or wait until they come back from the Samsung subarchitecture tree?
Hmm, If Kukjin can take in 3.9 rc2 it's better to go via Samsung tree.
Kukjin,
Can you please take this patch in 3.9 rc2 ?
Sure, I will.
BTW, Arnd, I'm not sure second one(socfpga.dtsi) can be handled in samsung tree.
Thanks.
- Kukjin
PATCH 1/2 ARM: exynos: pl330: Add #dma-cells for generic dma binding support
Quoted 6 lines · Kukjin Kim
Quoted 2 lines
Can you please take this patch in 3.9 rc2 ?
Sure, I will.
BTW, Arnd, I'm not sure second one(socfpga.dtsi) can be handled in samsung tree.
I guess you're right, I've applied the second one to the fixes branch now.
Thanks,
Arnd