Skip to contentSkip to conversation

arm64: dts: msm: add PDC device bindings for sdm845

PATCH Superseded Lina Iyer 2 participants 3 messages Aug 14, 2018 – Aug 15, 2018

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Lina Iyer

author
#0 lore raw

PATCH 1/1 arm64: dts: msm: add PDC device bindings for sdm845

Add PDC interrupt controller device bindings for SDM845.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +9 -0
index 24e254efb9d1..399bfbd52c5b 100644
@@ -1106,6 +1106,15 @@
 			};
 		};
 
+		pdc: interrupt-controller@b220000 {
+			compatible = "qcom,sdm845-pdc";
+			reg = <0xb220000 0x30000>;
+			qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
+			#interrupt-cells = <2>;
+			interrupt-parent = <&intc>;
+			interrupt-controller;
+		};
+
 		timer@17c90000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

Quoting Lina Iyer (2018-08-14 10:30:58)

Quoted 12 lines

Add PDC interrupt controller device bindings for SDM845.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +0 -0
index 24e254efb9d1..399bfbd52c5b 100644

arch/arm64/boot/dts/qcom/sdm845.dtsi line 1109

Quoted 4 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +1 -0
@@ -1106,6 +1106,15 @@
                        };
                };
 
+               pdc: interrupt-controller@b220000 {

Please sort this by unit address within the SoC node.

Quoted 11 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +8 -0
+                       compatible = "qcom,sdm845-pdc";
+                       reg = <0xb220000 0x30000>;
+                       qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&intc>;
+                       interrupt-controller;
+               };
+
                timer@17c90000 {
                        #address-cells = <1>;
                        #size-cells = <1>;
author
#2 lore raw
Quoted 16 lines · Stephen Boyd

Quoting Lina Iyer (2018-08-14 10:30:58)

Quoted 15 lines

Add PDC interrupt controller device bindings for SDM845.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +0 -0
index 24e254efb9d1..399bfbd52c5b 100644
@@ -1106,6 +1106,15 @@
                        };
                };
 
Quoted 4 lines

arch/arm64/boot/dts/qcom/sdm845.dtsi line 1109

Quoted 1 line
arch/arm64/boot/dts/qcom/sdm845.dtsi +1 -0
+               pdc: interrupt-controller@b220000 {

Please sort this by unit address within the SoC node.

Ah, didn't realize that. Will fix.

-- Lina

Quoted 11 lines
Quoted 11 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +8 -0
+                       compatible = "qcom,sdm845-pdc";
+                       reg = <0xb220000 0x30000>;
+                       qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&intc>;
+                       interrupt-controller;
+               };
+
                timer@17c90000 {
                        #address-cells = <1>;
                        #size-cells = <1>;