Commit e0ff30b2 authored by Joseph S. Barrera III's avatar Joseph S. Barrera III Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7180: Add wormdingler dts files



Wormdingler is a trogdor-based board, shipping to customers as the
Lenovo IdeaPad Chromebook Duet 3. These dts files are copies from
the downstream Chrome OS 5.4 kernel, but with the camera
(sc7180-trogdor-mipi-camera.dtsi) #include removed.

Signed-off-by: default avatarJoseph S. Barrera III <joebar@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Tested-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220625183538.v14.1.Id769ddc5dbf570ccb511db96da59f97d08f75a9c@changeid
parent 9c54f171
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -79,6 +79,12 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pompom-r2.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-pompom-r2-lte.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-pompom-r3.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-pompom-r3-lte.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev0-boe.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev0-inx.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev1-boe.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev1-inx.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-r1.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7180-trogdor-r1-lte.dtb
dtb-$(CONFIG_ARCH_QCOM)	+= sc7280-herobrine-crd.dtb
+22 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Google Wormdingler board device tree source
 *
 * Copyright 2021 Google LLC.
 *
 * SKU: 0x10 => 16
 *  - bits 7..4: Panel ID: 0x1 (BOE)
 */

/dts-v1/;

#include "sc7180-trogdor-wormdingler-rev0.dtsi"

/ {
	model = "Google Wormdingler rev0 BOE panel board";
	compatible = "google,wormdingler-rev0-sku16", "qcom,sc7180";
};

&panel {
	compatible = "boe,tv110c9m-ll3";
};
+22 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Google Wormdingler board device tree source
 *
 * Copyright 2021 Google LLC.
 *
 * SKU: 0x0 => 0
 *  - bits 7..4: Panel ID: 0x0 (INX)
 */

/dts-v1/;

#include "sc7180-trogdor-wormdingler-rev0.dtsi"

/ {
	model = "Google Wormdingler rev0 INX panel board";
	compatible = "google,wormdingler-rev0-sku0", "qcom,sc7180";
};

&panel {
	compatible = "innolux,hj110iz-01a";
};
+53 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Google Wormdingler board device tree source
 *
 * Copyright 2021 Google LLC.
 *
 */

/dts-v1/;

#include "sc7180-trogdor-wormdingler.dtsi"

&avdd_lcd {
	gpio = <&tlmm 80 GPIO_ACTIVE_HIGH>;
};

&panel {
	enable-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>;
};

&v1p8_mipi {
	gpio = <&tlmm 81 GPIO_ACTIVE_HIGH>;
};

/* PINCTRL - modifications to sc7180-trogdor-wormdingler.dtsi */
&avdd_lcd_en {
	pinmux {
		pins = "gpio80";
	};

	pinconf {
		pins = "gpio80";
	};
};

&mipi_1800_en {
	pinmux {
		pins = "gpio81";
	};

	pinconf {
		pins = "gpio81";
	};
};
&vdd_reset_1800 {
	pinmux {
		pins = "gpio76";
	};

	pinconf {
		pins = "gpio76";
	};
};
+29 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Google Wormdingler board device tree source
 *
 * Copyright 2021 Google LLC.
 *
 * SKU: 0x401 => 1025
 *  - bits 11..8: Panel ID: 0x4 (BOE)
 */

/dts-v1/;

#include "sc7180-trogdor-wormdingler-rev1-boe.dts"

/ {
	model = "Google Wormdingler rev1+ (BOE, rt5682s)";
	compatible = "google,wormdingler-sku1025", "qcom,sc7180";
};

&alc5682 {
	compatible = "realtek,rt5682s";
	realtek,dmic1-clk-pin = <2>;
	realtek,dmic-clk-rate-hz = <2048000>;
};

&sound {
	compatible = "google,sc7180-trogdor";
	model = "sc7180-rt5682s-max98357a-1mic";
};
Loading