Skip to contentSkip to conversation

arm64: dts: qcom: Remove duplicate sc7180-trogdor include on lazor

PATCH Superseded Stephen Boyd 2 participants 2 messages May 20, 2022

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: Remove duplicate sc7180-trogdor include on lazor

The sc7180-trogdor-lazor-*.dtsi files all include sc7180-trogdor.dtsi and sc7180-trogdor-lazor.dtsi, so including it here in the sc7180-trogdor-lazor.dtsi file means we have a duplicate include after commit 19794489fa24 ("arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi"). We include the sc7180-trogdor.dtsi file in a board like sc7180-trogdor-lazor-r1.dts so that we can include the display bridge snippet (e.g. sc7180-trogdor-ti-sn65dsi86.dtsi) instead of making ever increasing variants like sc7180-trogdor-lazor-ti-sn65dsi86.dtsi.

Fix this by dropping the include and making a note that the sc7180-trogdor-lazor.dtsi file must be included after sc7180-trogdor.dtsi

Cc "Joseph S. Barrera III" <[email protected]>
Cc Matthias Kaehlcke <[email protected]>
Fixes 19794489fa24 ("arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi")
---
 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi +1 -1
index fe2369c29aad..88f6a7d4d020 100644
@@ -5,7 +5,7 @@
  * Copyright 2020 Google LLC.
  */
 
-#include "sc7180-trogdor.dtsi"
+/* This file must be included after sc7180-trogdor.dtsi */
 
 &ap_sar_sensor {
 	semtech,cs0-ground;

base-commit: 19794489fa2474a55c00848e00ca3d15ea01d36c

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

Hi,

Quoted 15 lines · Stephen Boyd

The sc7180-trogdor-lazor-*.dtsi files all include sc7180-trogdor.dtsi and sc7180-trogdor-lazor.dtsi, so including it here in the sc7180-trogdor-lazor.dtsi file means we have a duplicate include after commit 19794489fa24 ("arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi"). We include the sc7180-trogdor.dtsi file in a board like sc7180-trogdor-lazor-r1.dts so that we can include the display bridge snippet (e.g. sc7180-trogdor-ti-sn65dsi86.dtsi) instead of making ever increasing variants like sc7180-trogdor-lazor-ti-sn65dsi86.dtsi.

Fix this by dropping the include and making a note that the sc7180-trogdor-lazor.dtsi file must be included after sc7180-trogdor.dtsi

Quoted 8 lines
Cc "Joseph S. Barrera III" <[email protected]>
Cc Matthias Kaehlcke <[email protected]>
Fixes 19794489fa24 ("arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi")
---
 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)