2022-04-12 22:22:19

by Kuldeep Singh

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

v2:
- Add more variants of ip4019-ap/dk-{01/04/07} for dma node rename
- Add #dma-cells in binding file
- use additionalproperties as false
---

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 | 94 +++++++++++++++++++
.../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 +-
.../boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 2 +-
arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 2 +-
arch/arm/boot/dts/qcom-ipq4019-ap.dk07.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 +-
11 files changed, 111 insertions(+), 69 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 23:14:15

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH v2 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