]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: add support for pixel 3a xl with the tianma panel
authorRichard Acayan <mailingradian@gmail.com>
Wed, 13 May 2026 17:25:49 +0000 (13:25 -0400)
committerBjorn Andersson <andersson@kernel.org>
Fri, 22 May 2026 03:46:53 +0000 (22:46 -0500)
The Pixel 3a XL has variants with either a Samsung Display Controller (SDC)
panel or a Tianma panel. Add the device tree for the variant with the
Tianma panel.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Assisted-by: "Claude Code Review Bot":claude-opus-4-6
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260513172549.1345-3-mailingradian@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sdm670-google-bonito-tianma.dts [new file with mode: 0644]

index 795cee4757abed17138be5831830fd5cedcc704e..6f33c4e2f09c3990e90e1b25a6f7d618891948c5 100644 (file)
@@ -308,6 +308,7 @@ dtb-$(CONFIG_ARCH_QCOM)     += sdm632-fairphone-fp3.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sdm632-motorola-ocean.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sdm636-sony-xperia-ganges-mermaid.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sdm660-xiaomi-lavender.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += sdm670-google-bonito-tianma.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sdm670-google-sargo.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sdm845-db845c.dtb
 
diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-bonito-tianma.dts b/arch/arm64/boot/dts/qcom/sdm670-google-bonito-tianma.dts
new file mode 100644 (file)
index 0000000..42ddaf5
--- /dev/null
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Device tree for Google Pixel 3a XL with the Tianma panel.
+ *
+ * Copyright (c) Richard Acayan. All rights reserved.
+ */
+
+/dts-v1/;
+
+#include "sdm670-google-common.dtsi"
+
+/ {
+       model = "Google Pixel 3a XL (with Tianma panel)";
+       compatible = "google,bonito-tianma", "google,bonito", "qcom,sdm670";
+};
+
+&battery {
+       charge-full-design-microamp-hours = <3700000>;
+};
+
+&framebuffer {
+       height = <2160>;
+};
+
+&panel {
+       compatible = "novatek,nt37700f";
+};
+
+&rmi4_f12 {
+       touchscreen-x-mm = <69>;
+       touchscreen-y-mm = <137>;
+};