Commit 68434024 authored by Jianhua Lu's avatar Jianhua Lu Committed by Bjorn Andersson

arm64: dts: qcom: Split elish dts into common dtsi and elish-boe dts

There are two panel variants of xiaomi-elish, BOE and CSOT panels.
In order to support both panels, so split elish dts into common dtsi
and elish-boe dts.
Signed-off-by: default avatarJianhua Lu <lujianhua000@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230323005925.23179-1-lujianhua000@gmail.com
parent 9b2e284a
...@@ -186,7 +186,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb ...@@ -186,7 +186,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-boe.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb
......
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Jianhua Lu <lujianhua000@gmail.com>
*/
/dts-v1/;
#include "sm8250-xiaomi-elish-common.dtsi"
/ {
model = "Xiaomi Mi Pad 5 Pro (BOE)";
compatible = "xiaomi,elish", "qcom,sm8250";
};
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
* Copyright (c) 2022, 2023 Jianhua Lu <lujianhua000@gmail.com> * Copyright (c) 2022, 2023 Jianhua Lu <lujianhua000@gmail.com>
*/ */
/dts-v1/;
#include <dt-bindings/arm/qcom,ids.h> #include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm8250.dtsi" #include "sm8250.dtsi"
...@@ -24,8 +22,6 @@ ...@@ -24,8 +22,6 @@
/delete-node/ &xbl_aop_mem; /delete-node/ &xbl_aop_mem;
/ { / {
model = "Xiaomi Mi Pad 5 Pro";
compatible = "xiaomi,elish", "qcom,sm8250";
classis-type = "tablet"; classis-type = "tablet";
/* required for bootloader to select correct board */ /* required for bootloader to select correct board */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment