[PATCH 0/5 RESEND] Add support for Xiaomi Poco F1 EBBG variant

From: Joel Selvaraj
Date: Wed Jul 13 2022 - 00:23:59 EST


There are two variants of Xiaomi Poco F1.
- Tianma variant with NOVATEK NT36672A panel + touchscreen manufactured
by Tianma
- EBBG variant with Focaltech FT8719 panel + touchscreen manufactured
by EBBG

The current sdm845-xiaomi-beryllium.dts represents tianma panel variant.

To add support for the EBBG variant, let's split this into 3 files,
- sdm845-xiaomi-beryllium-common.dtsi which contains all the common nodes
- sdm845-xiaomi-beryllium-tianma.dts for the tianma variant
- sdm845-xiaomi-beryllium-ebbg.dts for the ebbg variant

Note:
-----
Both the panels are already upstreamed and the split is based on them.
There were patches earlier for both the touchscreens, but they are not
accepted upstream yet. Once they are accepted, we will add them to
respective variants.

Joel Selvaraj (5):
arm64: dts: sdm845-xiaomi-beryllium: rename beryllium.dts into
beryllium-common.dtsi
arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the
display panel node
arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce tianma variant
arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce ebbg variant
arm64: dts: qcom: Makefile: split beryllium into tianma and ebbg
variant

arch/arm64/boot/dts/qcom/Makefile | 3 ++-
...ryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} | 8 ++++----
.../boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 10 ++++++++++
.../boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 10 ++++++++++
4 files changed, 26 insertions(+), 5 deletions(-)
rename arch/arm64/boot/dts/qcom/{sdm845-xiaomi-beryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} (98%)
create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts

--
2.36.1