blob: 44772649145b5f44c4061ae28a556f2d123d41a0 [file] [log] [blame]
From d5a7b4103f5673c990e1b1b88abae9f465359054 Mon Sep 17 00:00:00 2001
From: Douglas Anderson <dianders@chromium.org>
Date: Thu, 9 Jul 2020 15:54:24 -0700
Subject: [PATCH] CHROMIUM: arm64: dts: qcom: Add dts files for
sc7180-trogdor-pompom
For now this just references trogdor-r1 dts, but:
* We have a slightly different panel.
* I believe we have a different touchscreen which I'm guessing is
accessible via "hid-over-i2c".
This is a bit of a placeholder until I get my hands on one of these.
BUG=b:160105627
TEST=See dtb bundled.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Change-Id: I0a6c61ec20ee3bb707b24a849d5ec507a6b27148
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2291190
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
[swboyd@chromium.org: Minor fixups to Makefile]
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
.../dts/qcom/sc7180-trogdor-pompom-lte.dts | 14 +++++++
.../boot/dts/qcom/sc7180-trogdor-pompom.dts | 39 +++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-lte.dts
create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dts
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-lte.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-lte.dts
new file mode 100644
index 000000000000..8185e58c9581
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-lte.dts
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Google Pompom board device tree source
+ *
+ * Copyright 2020 Google LLC.
+ */
+
+#include "sc7180-trogdor-pompom.dts"
+#include "sc7180-trogdor-lte-sku.dtsi"
+
+/ {
+ model = "Google Pompom (rev0+) with LTE";
+ compatible = "google,pompom-sku0", "qcom,sc7180";
+};
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dts
new file mode 100644
index 000000000000..2481ab876c36
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dts
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Google Pompom board device tree source
+ *
+ * Copyright 2020 Google LLC.
+ */
+
+#include "sc7180-trogdor-r1.dts"
+
+/ {
+ model = "Google Pompom (rev0+)";
+ compatible = "google,pompom", "qcom,sc7180";
+};
+
+/delete-node/ &ap_ts;
+&ap_ts_pen_1v8 {
+ ap_ts: touchscreen@10 {
+ compatible = "hid-over-i2c";
+ reg = <0x10>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
+
+ interrupt-parent = <&tlmm>;
+ interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
+
+ post-power-on-delay-ms = <20>;
+ hid-descr-addr = <0x0001>;
+
+ vdd-supply = <&pp3300_ts>;
+ };
+};
+
+&panel {
+ /*
+ * Actual panel is KD116N21-30NV but the timings for auo,b116xa01
+ * work fine.
+ */
+ compatible = "kingdisplay,kd116n21-30nv", "auo,b116xa01";
+};
--
2.32.0.93.g670b81a890-goog