arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt
Subsystems (4)
PATCH v3 1/1 arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt
From: Rob Clark <[email protected]>
This is essentialy a squash of a bunch of history of trogdor and lazor dt updates from the chromium kernel tree.
I don't claim any credit other than wanting to more easily boot upstream kernel on these devices.
I've tried to add cc tags for all the original authors.
---
v2: update for Stephen and Doug's comments
v3: correct wifi node properly (Doug)
arch/arm64/boot/dts/qcom/Makefile | 5 + .../boot/dts/qcom/sc7180-trogdor-lazor-r0.dts | 24 + .../dts/qcom/sc7180-trogdor-lazor-r1-lte.dts | 18 + .../boot/dts/qcom/sc7180-trogdor-lazor-r1.dts | 15 + .../boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 192 +++ .../boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi | 15 + .../boot/dts/qcom/sc7180-trogdor-r1-lte.dts | 14 + .../arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 191 +++ arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1348 +++++++++++++++++ 9 files changed, 1822 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/Makefile +5 -0
@@ -20,6 +20,11 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-lenovo-miix-630.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r0.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r1.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r1-lte.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1-lte.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-pioneer.dtb
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts new file +24 -0
@@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-lazor.dtsi" + +/ { + model = "Google Lazor (rev0)"; + compatible = "google,lazor-rev0", "qcom,sc7180"; +}; + +&sn65dsi86_out { + /* + * Lane 0 was incorrectly mapped on the cable, but we've now decided + * that the cable is canon and in -rev1+ we'll make a board change + * that means we no longer need the swizzle. + */ + lane-polarities = <1 0>; +};
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts new file +18 -0
@@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-lazor-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Lazor (rev1+) with LTE"; + compatible = "google,lazor-sku0", "qcom,sc7180"; +}; + +&keyboard_backlight { + status = "okay"; +};
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-lazor.dtsi" + +/ { + model = "Google Lazor (rev1+)"; + compatible = "google,lazor", "qcom,sc7180"; +};
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi new file +192 -0
192 lines not on this page · raw message
arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for LTE SKUs + * + * Copyright 2020 Google LLC. + */ + +&ap_sar_sensor { + label = "proximity-wifi-lte"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn", + "qcom/sc7180-trogdor/modem/qdsp6sw.mbn"; +};
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1-lte.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Trogdor (rev1+) with LTE"; + compatible = "google,trogdor-sku0", "qcom,sc7180"; +};
arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts new file +191 -0
191 lines not on this page · raw message
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi new file +1348 -0
1,348 lines not on this page · raw message
Signature · 1 line
2.26.2
Quoting Rob Clark (2020-08-28 13:40:50)
Quoted 22 lines
From: Rob Clark <[email protected]>
This is essentialy a squash of a bunch of history of trogdor and lazor dt updates from the chromium kernel tree.
I don't claim any credit other than wanting to more easily boot upstream kernel on these devices.
I've tried to add cc tags for all the original authors.
Cc Stephen Boyd <[email protected]>Cc Douglas Anderson <[email protected]>Cc Matthias Kaehlcke <[email protected]>Cc Atul Dhudase <[email protected]>Cc Venkata Lakshmi Narayana Gubba <[email protected]>Cc Evan Green <[email protected]>Cc Cheng-Yi Chiang <[email protected]>Cc Ajit Pandey <[email protected]>Cc Alexandru Stan <[email protected]>Cc Sujit Kautkar <[email protected]>Signed-off-by Rob Clark <[email protected]>Reviewed-by Douglas Anderson <[email protected]>
Quoted 1 line
---