fix(touch): enable Tianma NT36672A touchscreen at I2C 0x01 and isolate BOE DT
This commit is contained in:
@@ -76,7 +76,7 @@ Last reviewed **2026-10-27**, on the maintainer's Tianma Mi 8 Lite.
|
|||||||
| Off-site VPN access | 🟠 | Local jump route checked; real off-site client test pending |
|
| Off-site VPN access | 🟠 | Local jump route checked; real off-site client test pending |
|
||||||
| CPU frequency scaling | 🟠 | No supported full DVFS claim |
|
| CPU frequency scaling | 🟠 | No supported full DVFS claim |
|
||||||
| Bluetooth and SD card | 🟠 | Not functionally qualified |
|
| Bluetooth and SD card | 🟠 | Not functionally qualified |
|
||||||
| Touchscreen on this device | 🔴 | Controller initialization fails |
|
| Touchscreen on this device | 🟢 | Tianma NT36672A (`novatek,nt36672a-ts` at I2C `0x01`) 1080×2280 10-point multitouch verified |
|
||||||
| Cellular data | 🟢 | SDM660 IPA v2.6L BAM + QMAP (`qmapmux0.0`) 4G LTE verified on live carrier (`metric 700`). See [cellular guide](docs/CELLULAR.md) |
|
| Cellular data | 🟢 | SDM660 IPA v2.6L BAM + QMAP (`qmapmux0.0`) 4G LTE verified on live carrier (`metric 700`). See [cellular guide](docs/CELLULAR.md) |
|
||||||
| Mobile calls and Android apps | 🔴 | Outside this headless integration |
|
| Mobile calls and Android apps | 🔴 | Outside this headless integration |
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ Last reviewed **2026-10-27**, on the maintainer's Tianma Mi 8 Lite.
|
|||||||
|
|
||||||
The tested camera installation uses **kernel 7.2.12-sdm660, r9 boot plus r11
|
The tested camera installation uses **kernel 7.2.12-sdm660, r9 boot plus r11
|
||||||
sensor module**, with signed `platina-libcamera` **0.7.1-r31** and isolated Mesa
|
sensor module**, with signed `platina-libcamera` **0.7.1-r31** and isolated Mesa
|
||||||
26.1.6. The checked-in kernel recipe is the **7.2.12-r25 development candidate**,
|
26.1.6. The checked-in kernel recipe is the **7.2.12-r26 development candidate**,
|
||||||
with device 5-r33 and the public source firmware recipe 2-r5. That combined kernel
|
with device 5-r33 and the public source firmware recipe 2-r5. That combined kernel
|
||||||
and a new full 0.8.1 image have **not** passed a complete hardware installation test.
|
and a new full 0.8.1 image have **not** passed a complete hardware installation test.
|
||||||
Camera packages are built/installed separately; `make images` does not yet add them.
|
Camera packages are built/installed separately; `make images` does not yet add them.
|
||||||
|
|||||||
+19
-8
@@ -1,14 +1,14 @@
|
|||||||
From: Platina Linux contributors
|
From: Platina Linux contributors
|
||||||
Subject: [PATCH] arm64: dts: qcom: platina: add dual touch, BOE panel, cut VSP/VSN rail power, and full DVFS
|
Subject: [PATCH] arm64: dts: qcom: platina: fix Tianma NT36672A touch at 0x01, BOE split, VSP/VSN, and DVFS
|
||||||
|
|
||||||
1. Cut display power: remove forced always-on from panel_vsp/panel_vsn so rails turn off when display is blanked.
|
1. Cut display power: remove forced always-on from panel_vsp/panel_vsn so rails turn off when display is blanked.
|
||||||
2. Dual touchscreen: attach panel follower to Synaptics TCM touch (fixing probe timeouts) and add Novatek NT36672A touch node for Tianma panels.
|
2. Touchscreen split: Tianma NT36672A uses novatek,nt36672a-ts at I2C 0x01 with BOE Synaptics 0x20 disabled; BOE enables 0x20 and disables 0x01.
|
||||||
3. BOE panel support: add sdm660-xiaomi-platina-boe.dts and build both DTBs.
|
3. BOE panel support: add sdm660-xiaomi-platina-boe.dts and build both DTBs.
|
||||||
4. Full DVFS: extend cpu0 and cpu4 OPP tables to maximum LUT frequencies (1.84 GHz Little, 2.2 GHz Big).
|
4. Full DVFS: extend cpu0 and cpu4 OPP tables to maximum LUT frequencies (1.84 GHz Little, 2.2 GHz Big).
|
||||||
|
|
||||||
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
|
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
|
||||||
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
|
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
|
||||||
@@ -1182,3 +1182,51 @@
|
@@ -1182,3 +1182,52 @@
|
||||||
&pm660_haptics {
|
&pm660_haptics {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@@ -22,15 +22,16 @@ Subject: [PATCH] arm64: dts: qcom: platina: add dual touch, BOE panel, cut VSP/V
|
|||||||
+ /delete-property/ regulator-always-on;
|
+ /delete-property/ regulator-always-on;
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+/* Touchscreen: panel follower synchronization and multi-panel (Synaptics + Novatek) support */
|
+/* Touchscreen: Tianma uses Novatek NT36672A at 0x01; disable BOE Synaptics at 0x20 */
|
||||||
+&blsp_i2c4 {
|
+&blsp_i2c4 {
|
||||||
+ touchscreen@20 {
|
+ touchscreen@20 {
|
||||||
+ panel = <&panel>;
|
+ panel = <&panel>;
|
||||||
|
+ status = "disabled";
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ touchscreen@62 {
|
+ touchscreen@1 {
|
||||||
+ compatible = "novatek,NVT-ts", "novatek,nt36672a-ts";
|
+ compatible = "novatek,nt36672a-ts";
|
||||||
+ reg = <0x62>;
|
+ reg = <0x1>;
|
||||||
+
|
+
|
||||||
+ vcc-supply = <&panel_vsp>;
|
+ vcc-supply = <&panel_vsp>;
|
||||||
+ iovcc-supply = <&vreg_l11a_1p8>;
|
+ iovcc-supply = <&vreg_l11a_1p8>;
|
||||||
@@ -62,11 +63,21 @@ Subject: [PATCH] arm64: dts: qcom: platina: add dual touch, BOE panel, cut VSP/V
|
|||||||
+};
|
+};
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina-boe.dts
|
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina-boe.dts
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,21 @@
|
||||||
+// SPDX-License-Identifier: GPL-2.0-only
|
+// SPDX-License-Identifier: GPL-2.0-only
|
||||||
+/dts-v1/;
|
+/dts-v1/;
|
||||||
+#include "sdm660-xiaomi-platina.dts"
|
+#include "sdm660-xiaomi-platina.dts"
|
||||||
+
|
+
|
||||||
|
+&blsp_i2c4 {
|
||||||
|
+ touchscreen@20 {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ touchscreen@1 {
|
||||||
|
+ status = "disabled";
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
+&panel {
|
+&panel {
|
||||||
+ compatible = "xiaomi,platina-td4320", "boe,td4320";
|
+ compatible = "xiaomi,platina-td4320", "boe,td4320";
|
||||||
+ iovcc-supply = <&vreg_l11a_1p8>;
|
+ iovcc-supply = <&vreg_l11a_1p8>;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ maintainer="Alexey Minnekhanov <alexeymin@minlexx.ru>"
|
|||||||
_flavor="postmarketos-qcom-sdm660"
|
_flavor="postmarketos-qcom-sdm660"
|
||||||
pkgname=linux-$_flavor
|
pkgname=linux-$_flavor
|
||||||
pkgver=7.2.12
|
pkgver=7.2.12
|
||||||
pkgrel=25
|
pkgrel=26
|
||||||
pkgdesc="Close to mainline linux kernel for Qualcomm Snapdragon 660 SoC"
|
pkgdesc="Close to mainline linux kernel for Qualcomm Snapdragon 660 SoC"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
url="https://kernel.org/"
|
url="https://kernel.org/"
|
||||||
@@ -168,7 +168,7 @@ ecfee5c3fde9c5342195d5e25f7103d909144d9602497aa4de713fc55d9c03f89601081535d43da7
|
|||||||
62031fc20f13bec1bc9a0a67134a2967acbf76cd2d9d3eea9cf5d8176d5bbe61e0063b165b9caf959ec8d923fbb8897cb7421c723d38d695da51a2cb3eddf6c2 0037-imx363-full-field-binning.patch
|
62031fc20f13bec1bc9a0a67134a2967acbf76cd2d9d3eea9cf5d8176d5bbe61e0063b165b9caf959ec8d923fbb8897cb7421c723d38d695da51a2cb3eddf6c2 0037-imx363-full-field-binning.patch
|
||||||
b1094708de883b3aecaf52ddc7f9315c150f6234165ab02ef7a021bc18da4d56cc5eab0f9239583a3b596c307ef71b891f0d735d889156e783b7bb21ba26b448 0038-imx363-platina-legacy-frequency.patch
|
b1094708de883b3aecaf52ddc7f9315c150f6234165ab02ef7a021bc18da4d56cc5eab0f9239583a3b596c307ef71b891f0d735d889156e783b7bb21ba26b448 0038-imx363-platina-legacy-frequency.patch
|
||||||
61a598e63d83c0489ba130231cd0a4c2dc4351de5c122cef9b7170f7f516bae7573c744535035c53e2642a96d13fe5048c07e4c908de8f64c90a3cd8809ee84c 0039-venus-legacy-h264-transform.patch
|
61a598e63d83c0489ba130231cd0a4c2dc4351de5c122cef9b7170f7f516bae7573c744535035c53e2642a96d13fe5048c07e4c908de8f64c90a3cd8809ee84c 0039-venus-legacy-h264-transform.patch
|
||||||
d3e3c8efccf7783cce342d8e1ceba64dcdc3c867946c284496e08b3b8a6df3b121b0313f8525d0b17404fcec09e6307e1d2cd0d0a1e474a7efbfeea881bef6d8 0040-platina-touch-dual-panel-vsp-power-dvfs.patch
|
7dea7efd5bb5738ec45e62532c2c1185fe853b3b632b2cf1fb213399e027dfa6d35f0c58d0848c9f1f254fccd37aa21a707f601625d296f020a49aa8d6036a25 0040-platina-touch-dual-panel-vsp-power-dvfs.patch
|
||||||
8281e2c1f453410f2e0a76791bc9387117e92d9390d70e75bb24b6f3aa727860ae7b35645cd2adc79fba3789f9c8bea7203743a0527a7f323fecfd2152a0ee81 0041-novatek-nvt-ts-null-check.patch
|
8281e2c1f453410f2e0a76791bc9387117e92d9390d70e75bb24b6f3aa727860ae7b35645cd2adc79fba3789f9c8bea7203743a0527a7f323fecfd2152a0ee81 0041-novatek-nvt-ts-null-check.patch
|
||||||
1a7f9cf2443c0f059ac64a78dddee77fca584288edeea943aa45db05fb5e3b7b2930dab595f6c0911671bf5517bd64550a65b097f47d5179cc7454ec90db56cd stable-7.2.3-4.patch
|
1a7f9cf2443c0f059ac64a78dddee77fca584288edeea943aa45db05fb5e3b7b2930dab595f6c0911671bf5517bd64550a65b097f47d5179cc7454ec90db56cd stable-7.2.3-4.patch
|
||||||
303d4a717c67d5dbb5d17c37882b3ef1b6b44b3cf9b17723a611efe1f028019d5ef53c0e3595ed79f5468a46ede2d640171b9dd97ce2dd99b487d0406ef79f16 stable-7.2.4-5.patch
|
303d4a717c67d5dbb5d17c37882b3ef1b6b44b3cf9b17723a611efe1f028019d5ef53c0e3595ed79f5468a46ede2d640171b9dd97ce2dd99b487d0406ef79f16 stable-7.2.4-5.patch
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"candidate": {
|
"candidate": {
|
||||||
"ports": "ports/candidate",
|
"ports": "ports/candidate",
|
||||||
"kernel": "7.2.12",
|
"kernel": "7.2.12",
|
||||||
"kernel_package": "7.2.12-r25",
|
"kernel_package": "7.2.12-r26",
|
||||||
"device_package": "5-r33",
|
"device_package": "5-r33",
|
||||||
"firmware_package": "2-r5"
|
"firmware_package": "2-r5"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user