arm64: dts: qcom: sc7180-trogdor: Simplify!
Subsystems (4)
v2 cover arm64: dts: qcom: sc7180-trogdor: Simplify!
Here's a couple patches to simplify sc7180-trogdor dtsi files further. There will be logical conflicts with the wormdingler patch because it will need to have similar changes done for the swizzle and include, but that can be cleaned up later or I can resend if the wormdingler patch gets merged first. Either way nothing will be broken from what I can tell.
I compiled these and diffed the dtbs before and after and found no changes.
Changes from v1 (https://lore.kernel.org/r/[email protected]):
* Another patch to move around sc7180.dtsi includes
* Fixed trackpad for trogdor-r1 and pompom
* Made spi0/spi6 patch not as aggressive
Stephen Boyd (3):
arm64: dts: qcom: sc7180-trogdor: Simplify trackpad enabling
arm64: dts: qcom: sc7180-trogdor: Simplify spi0/spi6 labeling
arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 11 +---------- .../boot/dts/qcom/sc7180-trogdor-homestar-r2.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-homestar-r3.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-homestar-r4.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 7 ------- .../qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts | 2 +- .../qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts | 2 +- .../dts/qcom/sc7180-trogdor-lazor-limozeen-r4.dts | 2 +- .../dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 7 ++++--- arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 9 ++++----- arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 9 ++++----- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 8 ++++---- 21 files changed, 32 insertions(+), 49 deletions(-)
base-commit: f238ff81e8946540e1a7c1496aa92fa2386893dc
Signature · 1 line
https://chromeos.dev
PATCH v2 1/3 arm64: dts: qcom: sc7180-trogdor: Simplify trackpad enabling
Trogdor boards with a detachable keyboard don't have a trackpad over i2c. Instead the trackpad is on the detachable keyboard base. Let's move the enabling of the trackpad i2c bus out of the base sc7180-trogdor.dtsi file so that each trogdor board that is detachable, of which there are many, doesn't have to disable the trackpad bus.
--- arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 4 ++++ arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 - 6 files changed, 12 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi +0 -4
@@ -111,10 +111,6 @@ ap_ts: touchscreen@5d { }; }; -&i2c7 { - status = "disabled"; -}; - &i2c9 { status = "disabled"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi +0 -4
@@ -88,10 +88,6 @@ map1 { }; }; -&ap_tp_i2c { - status = "disabled"; -}; - ap_ts_pen_1v8: &i2c4 { status = "okay"; clock-frequency = <400000>;
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi +4 -0
@@ -19,6 +19,10 @@ &ap_sar_sensor { semtech,avg-pos-strength = <64>; }; +&ap_tp_i2c { + status = "okay"; +}; + /* * Lazor is stuffed with a 47k NTC as charger thermistor which currently is * not supported by the PM6150 ADC driver. Disable the charger thermal zone
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi +4 -0
@@ -36,6 +36,10 @@ &alc5682 { realtek,dmic-clk-driving-high = "true"; }; +&ap_tp_i2c { + status = "okay"; +}; + &cpu6_alert0 { temperature = <60000>; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts +4 -0
@@ -20,6 +20,10 @@ / { compatible = "google,trogdor", "qcom,sc7180"; }; +&ap_tp_i2c { + status = "okay"; +}; + ap_ts_pen_1v8: &i2c4 { status = "okay"; clock-frequency = <400000>;
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +0 -1
@@ -727,7 +727,6 @@ ap_sar_sensor: proximity@28 { }; ap_tp_i2c: &i2c7 { - status = "okay"; clock-frequency = <400000>; trackpad: trackpad@15 {
Signature · 1 line
https://chromeos.dev
Re: [PATCH v2 1/3] arm64: dts: qcom: sc7180-trogdor: Simplify trackpad enabling
Quoted 5 lines · Stephen Boyd
Trogdor boards with a detachable keyboard don't have a trackpad over i2c. Instead the trackpad is on the detachable keyboard base. Let's move the enabling of the trackpad i2c bus out of the base
sc7180-trogdor.dtsifile so that each trogdor board that is detachable, of which there are many, doesn't have to disable the trackpad bus.
Makes sense.
PATCH v2 2/3 arm64: dts: qcom: sc7180-trogdor: Simplify spi0/spi6 labeling
In reply to Stephen BoydWe had to do this spi0/spi6 flip-flop on trogdor-r0 because the spi buses got swizzled between r0 and r1. The swizzle stopped after r1, but we kept this around to support either hardware possibility and to keep trogdor-r0 working.
trogdor-r0 isn't supported upstream, so this swizzle is not doing anything besides making a pattern that others tryt to copy for the EC and H1 nodes. Let's remove it and simplify the dts files.
--- arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 6 +----- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 3 --- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 3 --- arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 4 ---- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 4 ++-- 6 files changed, 3 insertions(+), 21 deletions(-)
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi +1 -5
@@ -6,14 +6,10 @@ */ #include "sc7180.dtsi" - -ap_ec_spi: &spi6 {}; -ap_h1_spi: &spi0 {}; - #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" -/* Deleted nodes from trogdor.dtsi */ +/* Deleted nodes from sc7180-trogdor.dtsi */ /delete-node/ &alc5682; /delete-node/ &pp3300_codec;
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi +0 -3
@@ -5,9 +5,6 @@ * Copyright 2021 Google LLC. */ -ap_ec_spi: &spi6 {}; -ap_h1_spi: &spi0 {}; - #include "sc7180-trogdor.dtsi" / {
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi +0 -3
@@ -5,9 +5,6 @@ * Copyright 2020 Google LLC. */ -ap_ec_spi: &spi6 {}; -ap_h1_spi: &spi0 {}; - #include "sc7180-trogdor.dtsi" &ap_sar_sensor {
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi +0 -4
@@ -6,10 +6,6 @@ */ #include "sc7180.dtsi" - -ap_ec_spi: &spi6 {}; -ap_h1_spi: &spi0 {}; - #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts +0 -4
@@ -8,10 +8,6 @@ /dts-v1/; #include "sc7180.dtsi" - -ap_ec_spi: &spi6 {}; -ap_h1_spi: &spi0 {}; - #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +2 -2
@@ -626,7 +626,7 @@ src_vreg_bob: bob { }; }; -&ap_ec_spi { +ap_ec_spi: &spi6 { status = "okay"; cros_ec: ec@0 { compatible = "google,cros-ec-spi";
@@ -675,7 +675,7 @@ usb_c1: connector@1 { }; }; -&ap_h1_spi { +ap_h1_spi: &spi0 { status = "okay"; cr50: tpm@0 { compatible = "google,cr50";
Signature · 1 line
https://chromeos.dev
Re: [PATCH v2 2/3] arm64: dts: qcom: sc7180-trogdor: Simplify spi0/spi6 labeling
Quoted 5 lines · Stephen Boyd
We had to do this spi0/spi6 flip-flop on trogdor-r0 because the spi buses got swizzled between r0 and r1. The swizzle stopped after r1, but we kept this around to support either hardware possibility and to keep trogdor-r0 working.
Quoted 7 lines
trogdor-r0 isn't supported upstream, so this swizzle is not doing anything besides making a pattern that others tryt to copy for the EC and H1 nodes. Let's remove it and simplify the dts files.
Cc "Joseph S. Barrera III" <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
PATCH v2 3/3 arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
In reply to Stephen BoydThe SoC is always present on sc7180-trogdor.dtsi and thus we should include it in the "generic" dtsi file for trogdor. Previously we had removed it from there because we had to do the spi6/spi0 swizzle, so each trogdor variant board had to include sc7180.dtsi and then sc7180-trogdor.dtsi so that the latter dtsi file could modify the right spi bus for EC and H1 properties that are common to all trogdor boards.
Now that we're done with that we can replace sc7180.dtsi includes with sc7180-trogdor.dtsi and include sc7180.dtsi in sc7180-trogdor.dtsi as was originally intended. We still need to include sc7180-trogdor.dtsi before the bridge dtsi files though because those rely on the panel label.
--- arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r4.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 3 ++- 19 files changed, 17 insertions(+), 19 deletions(-)
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi +0 -1
@@ -5,7 +5,6 @@ * Copyright 2020 Google LLC. */ -#include "sc7180.dtsi" #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-homestar.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-homestar.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-homestar.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r4.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-lite.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-lite.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-lite.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-trogdor-lte-sku.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -#include "sc7180.dtsi" +#include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-parade-ps8640.dtsi" #include "sc7180-trogdor-lazor.dtsi" #include "sc7180-lite.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi +0 -1
@@ -5,7 +5,6 @@ * Copyright 2020 Google LLC. */ -#include "sc7180.dtsi" #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts +0 -1
@@ -7,7 +7,6 @@ /dts-v1/; -#include "sc7180.dtsi" #include "sc7180-trogdor.dtsi" #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +2 -1
@@ -11,7 +11,8 @@ #include <dt-bindings/regulator/qcom,rpmh-regulator.h> #include <dt-bindings/sound/sc7180-lpass.h> -/* PMICs depend on spmi_bus label and so must come after SoC */ +#include "sc7180.dtsi" +/* PMICs depend on spmi_bus label and so must come after sc7180.dtsi */ #include "pm6150.dtsi" #include "pm6150l.dtsi"
Signature · 1 line
https://chromeos.dev
Re: [PATCH v2 3/3] arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
Quoted 13 lines · Stephen Boyd
The SoC is always present on
sc7180-trogdor.dtsiand thus we should include it in the "generic" dtsi file for trogdor. Previously we had removed it from there because we had to do the spi6/spi0 swizzle, so each trogdor variant board had to includesc7180.dtsiand thensc7180-trogdor.dtsiso that the latter dtsi file could modify the right spi bus for EC and H1 properties that are common to all trogdor boards.Now that we're done with that we can replace
sc7180.dtsiincludes withsc7180-trogdor.dtsiand includesc7180.dtsiinsc7180-trogdor.dtsias was originally intended. We still need to includesc7180-trogdor.dtsibefore the bridge dtsi files though because those rely on the panel label.
Quoted 3 lines
Cc "Joseph S. Barrera III" <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Re: [PATCH v2 3/3] arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
In reply to Stephen BoydHi,
Quoted 30 lines · Stephen Boyd
The SoC is always present on
sc7180-trogdor.dtsiand thus we should include it in the "generic" dtsi file for trogdor. Previously we had removed it from there because we had to do the spi6/spi0 swizzle, so each trogdor variant board had to includesc7180.dtsiand thensc7180-trogdor.dtsiso that the latter dtsi file could modify the right spi bus for EC and H1 properties that are common to all trogdor boards.Now that we're done with that we can replace
sc7180.dtsiincludes withsc7180-trogdor.dtsiand includesc7180.dtsiinsc7180-trogdor.dtsias was originally intended. We still need to includesc7180-trogdor.dtsibefore the bridge dtsi files though because those rely on the panel label.Cc "Joseph S. Barrera III" <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r4.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 2 +-
Quoted 8 lines
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 3 ++- 19 files changed, 17 insertions(+), 19 deletions(-)
While reviewing a different change, I found something fishy and tracked it down to ${SUBJECT} patch.
Specifically, after ${SUBJECT} patch then I run git grep include.*trogdor.dtsi. When I do that, I see that sc7180-trogdor.dtsi is double-included in all lazor devices. :( It's included in the actual dts files and also in the lazor.dtsi file.
That's probably not right. I think we need to remove the one in the lazor.dtsi file?
-Doug
Re: [PATCH v2 3/3] arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
Quoting Doug Anderson (2022-05-20 15:16:03)
Quoted 9 lines · Stephen Boyd
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 1 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 3 ++- 19 files changed, 17 insertions(+), 19 deletions(-)While reviewing a different change, I found something fishy and tracked it down to ${SUBJECT} patch.
Quoted 8 lines
Specifically, after ${SUBJECT} patch then I run
git grep include.*trogdor.dtsi. When I do that, I see thatsc7180-trogdor.dtsiis double-included in all lazor devices. :( It's included in the actual dts files and also in thelazor.dtsifile.That's probably not right. I think we need to remove the one in the
lazor.dtsifile?
Good catch! I sent a patch to fix it[1]. I recall I compiled before/after and didn't see any difference, so I suspect it's just a waste of time during the compilation phase but otherwise not causing a problem.
Bjorn Andersson
AppliedQuoted 8 lines · Stephen Boyd
Here's a couple patches to simplify sc7180-trogdor dtsi files further. There will be logical conflicts with the wormdingler patch because it will need to have similar changes done for the swizzle and include, but that can be cleaned up later or I can resend if the wormdingler patch gets merged first. Either way nothing will be broken from what I can tell.
[...]
Applied, thanks!
[1/3] arm64: dts: qcom: sc7180-trogdor: Simplify trackpad enabling
commit: 51d30402be7506db007af6d29c6bc7c1cefcc82f
[2/3] arm64: dts: qcom: sc7180-trogdor: Simplify spi0/spi6 labeling
commit: d277cab7afc7b54ea91808c0895d78c2021af534
[3/3] arm64: dts: qcom: Only include sc7180.dtsi in sc7180-trogdor.dtsi
commit: 19794489fa2474a55c00848e00ca3d15ea01d36cBest regards,
Signature · 1 line
Bjorn Andersson <[email protected]>