Skip to contentSkip to conversation

arm64: dts: qcom: sc7280: Use GIC_SPI for intc cells

PATCH In review Stephen Boyd 2 participants 2 messages Aug 11, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sc7280: Use GIC_SPI for intc cells

Let's use the GIC_SPI macro instead of a plain 0 here to match other uses of the primary interrupt controller on sc7280.

---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280.dtsi +2 -2
index f70ab3c5d08b..569802536321 100644
@@ -598,8 +598,8 @@ ipa: ipa@1e40000 {
 				    "ipa-shared",
 				    "gsi";
 
-			interrupts-extended = <&intc 0 654 IRQ_TYPE_EDGE_RISING>,
-					      <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
+			interrupts-extended = <&intc GIC_SPI 654 IRQ_TYPE_EDGE_RISING>,
+					      <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
 					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
 					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
 			interrupt-names = "ipa",

base-commit: 97ec669dfcfa22f8a595356ceb6ce46e7b4a82e9

Signature · 1 line
https://chromeos.dev
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Stephen Boyd

Let's use the GIC_SPI macro instead of a plain 0 here to match other uses of the primary interrupt controller on sc7280.

Looks good, thanks. It's done that way for IPA on other platforms too, or at least that's the intention...

Quoted 22 lines
---
  arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280.dtsi +2 -2
index f70ab3c5d08b..569802536321 100644
@@ -598,8 +598,8 @@ ipa: ipa@1e40000 {
  				    "ipa-shared",
  				    "gsi";
 
-			interrupts-extended = <&intc 0 654 IRQ_TYPE_EDGE_RISING>,
-					      <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
+			interrupts-extended = <&intc GIC_SPI 654 IRQ_TYPE_EDGE_RISING>,
+					      <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
  					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
  			interrupt-names = "ipa",

base-commit: 97ec669dfcfa22f8a595356ceb6ce46e7b4a82e9