summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
diff options
context:
space:
mode:
authorJoel Selvaraj <joelselvaraj.oss@gmail.com>2022-09-09 06:54:45 +0300
committerBjorn Andersson <andersson@kernel.org>2022-10-18 06:01:06 +0300
commitdd6459a0890a17e136c539abda07f8b671615c29 (patch)
treefa2bf42ee3787c8bb90310136a35c63184adb122 /arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
parent65b35e04d2656305320c453df2824c8413fe7150 (diff)
downloadlinux-dd6459a0890a17e136c539abda07f8b671615c29.tar.xz
arm64: dts: qcom: split beryllium dts into common dtsi and tianma dts
There are two panel variants of Xiaomi Poco F1. Tianma and EBBG panel. The previous beryllium dts supported the Tianma variant. In order to add support for EBBG variant, the common nodes from beryllium dts are moved to a new common dtsi and to make the variants distinguishable, sdm845-xiaomi-beryllium.dts is now named as sdm845-xiaomi-beryllium-tianma.dts. The model property is updated to distinguish between the variants. The compatibility property is moved to the tianma variant, but it is not updated to avoid any further conflict with other projects/users that might depend on it. Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Caleb Connolly <caleb@connolly.tech> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220909035447.36674-2-joelselvaraj.oss@gmail.com
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
new file mode 100644
index 000000000000..8e176111e599
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/dts-v1/;
+
+#include "sdm845-xiaomi-beryllium-common.dtsi"
+
+/ {
+ model = "Xiaomi Pocophone F1 (Tianma)";
+ compatible = "xiaomi,beryllium", "qcom,sdm845";
+};
+
+&display_panel {
+ compatible = "tianma,fhd-video";
+ status = "okay";
+};