Skip to contentSkip to conversation

arm64: dts: qcom: sc7180: Disable DCC node by default

PATCH Applied Stephen Boyd 3 participants 3 messages Feb 29, 2024 – Apr 4, 2024

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

PATCH 1/1 arm64: dts: qcom: sc7180: Disable DCC node by default

We don't use this device on Trogdor boards. If we did, it would be enabled in the sc7180-trogdor.dtsi file. Let's disable this here so that boards with t he sc7180 SoC can decide to enable or disable this device.

Cc Souradeep Chowdhury <[email protected]>
Fixes add74cad7c9d ("arm64: dts: qcom: sc7180: Add Data Capture and Compare(DCC) support node")
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +1 -0
index 4dcaa15caef2..f390bf3eccbe 100644
@@ -2239,6 +2239,7 @@ dma@10a2000 {
 			compatible = "qcom,sc7180-dcc", "qcom,dcc";
 			reg = <0x0 0x010a2000 0x0 0x1000>,
 			      <0x0 0x010ae000 0x0 0x2000>;
+			status = "disabled";
 		};
 
 		stm@6002000 {

base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d

Signature · 1 line
https://chromeos.dev
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 4 lines · Stephen Boyd

We don't use this device on Trogdor boards. If we did, it would be enabled in the sc7180-trogdor.dtsi file. Let's disable this here so that boards with t he sc7180 SoC can decide to enable or disable this device.

s/t he/the/

Quoted 6 lines
Cc Souradeep Chowdhury <[email protected]>
Fixes add74cad7c9d ("arm64: dts: qcom: sc7180: Add Data Capture and Compare(DCC) support node")
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 +
 1 file changed, 1 insertion(+)

Seems fine to me. I guess the driver never landed, but if/when it lands then it makes sense to just enable the device it for boards that need it.

maintainer Applied
#2 lore raw
In reply to Stephen Boyd
Quoted 5 lines · Stephen Boyd

We don't use this device on Trogdor boards. If we did, it would be enabled in the sc7180-trogdor.dtsi file. Let's disable this here so that boards with t he sc7180 SoC can decide to enable or disable this device.

Applied, thanks!

[1/1] arm64: dts: qcom: sc7180: Disable DCC node by default

      commit: 9f618cdce29d7bef10c2f4c8cbf58bc5cb778d6a

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>