On 2026-01-12 23:15, Dmitry Baryshkov wrote:
On Mon, Jan 12, 2026 at 09:13:29PM +0100, Barnabás Czémán wrote:
Redmi Note 8T (willow) is very similar to Redmi Note 8 (ginkgo)
the only difference is willow have NFC.
Make a common base from ginkgo devicetree for both device.
Signed-off-by: Barnabás Czémán <[email protected]>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi | 302
+++++++++++++++++++++
arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts | 296
+-------------------
arch/arm64/boot/dts/qcom/sm6125-xiaomi-willow.dts | 13 +
4 files changed, 318 insertions(+), 294 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
index 163ecdc7fd6c..70be19357d11 100644
--- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
+++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
@@ -1,304 +1,12 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
- * Copyright (c) 2025, Gabriel Gonzales <[email protected]>
+ * Copyright (c) 2026, Barnabas Czeman
Hmm?
Original file was renamed to sm6125-xiaomi-ginkgo-common.dtsi this is a
new file just the file name is same.
diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-willow.dts
b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-willow.dts
new file mode 100644
index 000000000000..9e3aeb5a9e74
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-willow.dts
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2026, Barnabas Czeman
+ */
+/dts-v1/;
+
+#include "sm6125-xiaomi-ginkgo-common.dtsi"
+
+/ {
+ model = "Xiaomi Redmi Note 8T";
+ compatible = "xiaomi,willow", "qcom,sm6125";
+
+};
Please consider adding the comment regarding NFC.
--
2.52.0