[PATCH v2 0/3] Add support for Xiaomi Poco F1 EBBG variant

From: Joel Selvaraj
Date: Mon Aug 01 2022 - 07:25:37 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
- Rename sdm845-xiaomi-beryllium.dts to sdm845-xiaomi-beryllium-tianma.dts
to be more specific.
- Move the common nodes from tianma variant into a new common dtsi.
- Create 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 in upstream yet. Once they are accepted, we will add them to
respective variants.

Joel Selvaraj (3):
arm64: dts: qcom: sdm845-xiaomi-beryllium: rename to
sdm845-xiaomi-beryllium-tianma.dts
arm64: dts: qcom: sdm845-xiaomi-beryllium-common: move common nodes to
a common dtsi
arm64: dts: qcom: sdm845-xiaomi-beryllium-ebbg: introduce Xiaomi Poco
F1 EBBG variant

arch/arm64/boot/dts/qcom/Makefile | 3 ++-
...ryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} | 9 +++++----
.../boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 10 ++++++++++
.../boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 10 ++++++++++
4 files changed, 27 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.37.1