2022-04-12 01:08:55

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH 0/6] Covert Qcom BAM dma binding to json format

Patch 1,2,3,4,5 require generic node name for dma and 6/6 is actual
conversion change.

Looking forward towards review comments. Thanks!

Kuldeep Singh (6):
ARM: dts: qcom: apq8064: User generic node name for DMA
ARM: dts: qcom: mdm9615: User generic node name for DMA
arm64: dts: qcom: msm8996: User generic node name for DMA
ARM: dts: qcom: ipq4019: User generic node name for DMA
ARM: dts: qcom: ipq8064: User generic node name for DMA
dt-bindings: dma: Convert Qualcomm BAM DMA binding to json format

.../devicetree/bindings/dma/qcom,bam-dma.yaml | 90 +++++++++++++++++++
.../devicetree/bindings/dma/qcom_bam_dma.txt | 52 -----------
arch/arm/boot/dts/qcom-apq8064.dtsi | 6 +-
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 4 +-
arch/arm/boot/dts/qcom-ipq4019.dtsi | 6 +-
arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 +-
arch/arm/boot/dts/qcom-mdm9615.dtsi | 4 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
8 files changed, 103 insertions(+), 65 deletions(-)
create mode 100644 Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
delete mode 100644 Documentation/devicetree/bindings/dma/qcom_bam_dma.txt

--
2.25.1


2022-04-12 08:16:58

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH 5/6] ARM: dts: qcom: ipq8064: User generic node name for DMA

Qcom BAM DT spec expects generic DMA controller node name as
"dma-controller" to enable validations.

Signed-off-by: Kuldeep Singh <[email protected]>
---
arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index 996f4458d9fc..8366310ca5e3 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -1155,7 +1155,7 @@ vsdcc_fixed: vsdcc-regulator {
regulator-always-on;
};

- sdcc1bam: dma@12402000 {
+ sdcc1bam: dma-controller@12402000 {
compatible = "qcom,bam-v1.3.0";
reg = <0x12402000 0x8000>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
@@ -1165,7 +1165,7 @@ sdcc1bam: dma@12402000 {
qcom,ee = <0>;
};

- sdcc3bam: dma@12182000 {
+ sdcc3bam: dma-controller@12182000 {
compatible = "qcom,bam-v1.3.0";
reg = <0x12182000 0x8000>;
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
--
2.25.1

2022-04-12 22:01:18

by Kuldeep Singh

[permalink] [raw]
Subject: Re: [PATCH 0/6] Covert Qcom BAM dma binding to json format

On Sun, Apr 10, 2022 at 12:11:09AM +0530, Kuldeep Singh wrote:
> Patch 1,2,3,4,5 require generic node name for dma and 6/6 is actual
> conversion change.

Need to add more dma-controller name for ip4019 and update in binding.
I will send v2 with updates.