arm64: dts: qcom: sc7180-trogdor: Simplify spi0/spi6 labeling
authorStephen Boyd <swboyd@chromium.org>
Wed, 27 Apr 2022 02:03:38 +0000 (19:03 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 6 May 2022 03:42:27 +0000 (22:42 -0500)
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.

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" <joebar@chromium.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220427020339.360855-3-swboyd@chromium.org
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

index 8da61a52f150a64ec4cd1cab11337c39a7773e11..ac2279142a95ac6e7bf7e4bae3a2fc6975384618 100644 (file)
@@ -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;
index 532c7dcc3f7325f01fd436aa94acc537f0fcd765..9b3e3d13c1658d80a517df6773cd7b223496a2a7 100644 (file)
@@ -5,9 +5,6 @@
  * Copyright 2021 Google LLC.
  */
 
-ap_ec_spi: &spi6 {};
-ap_h1_spi: &spi0 {};
-
 #include "sc7180-trogdor.dtsi"
 
 / {
index 75df5d1633b24939b96c727f3c9ea3e80c901f85..fe2369c29aad2eed665843875575e58c416ae608 100644 (file)
@@ -5,9 +5,6 @@
  * Copyright 2020 Google LLC.
  */
 
-ap_ec_spi: &spi6 {};
-ap_h1_spi: &spi0 {};
-
 #include "sc7180-trogdor.dtsi"
 
 &ap_sar_sensor {
index 410ca2a76d8148183e5214ec2f157a489d829205..3bca7545ffe5ccdd1b8262331aac4e3d5983f480 100644 (file)
@@ -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"
 
index 311c42a535ff487e5460806715a2de711e8dc0cf..6c822c84112a81108b12c4a635106eeb8ecd682d 100644 (file)
@@ -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"
 
index 7648be83f7e464d23c48446f100809e250cf3369..ea5bedc3d1cb8bf8ef4064dc8ae097049de9194b 100644 (file)
        };
 };
 
-&ap_ec_spi {
+ap_ec_spi: &spi6 {
        status = "okay";
        cros_ec: ec@0 {
                compatible = "google,cros-ec-spi";
        };
 };
 
-&ap_h1_spi {
+ap_h1_spi: &spi0 {
        status = "okay";
        cr50: tpm@0 {
                compatible = "google,cr50";