* [PATCH 1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place
2026-08-19 13:56 [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description David Heidelberg via B4 Relay
@ 2026-08-19 13:56 ` David Heidelberg via B4 Relay
2026-08-19 14:41 ` Konrad Dybcio
2026-08-19 13:56 ` [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail David Heidelberg via B4 Relay
2026-09-29 3:14 ` [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description Bjorn Andersson
2 siblings, 1 reply; 6+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-08-19 13:56 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcus Ramberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, David Heidelberg
From: David Heidelberg <david@ixit.cz>
This value belongs only to enchilada, fajita sets it's own (as the width
/ y-axis differs).
No functional change.
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 -
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index 439779f308e38..fead66d60e58d 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -538,17 +538,16 @@ synaptics-rmi4-i2c@20 {
rmi4-f01@1 {
reg = <0x01>;
syna,nosleep-mode = <1>;
};
rmi4_f12: rmi4-f12@12 {
reg = <0x12>;
touchscreen-x-mm = <68>;
- touchscreen-y-mm = <144>;
syna,sensor-type = <1>;
syna,rezero-wait-ms = <200>;
};
};
};
&ipa {
firmware-name = "qcom/sdm845/OnePlus/enchilada/ipa_fws.mbn";
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
index 3b30d79706fe7..be346286e19b3 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
@@ -90,16 +90,20 @@ led@4 {
led@5 {
reg = <5>;
color = <LED_COLOR_ID_RED>;
};
};
};
+&rmi4_f12 {
+ touchscreen-y-mm = <144>;
+};
+
&sound {
model = "OnePlus 6";
audio-routing = "RX_BIAS", "MCLK",
"AMIC2", "MIC BIAS2",
"AMIC3", "MIC BIAS4",
"AMIC4", "MIC BIAS1",
"AMIC5", "MIC BIAS4";
};
--
2.55.0
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place
2026-08-19 13:56 ` [PATCH 1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place David Heidelberg via B4 Relay
@ 2026-08-19 14:41 ` Konrad Dybcio
0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-08-19 14:41 UTC (permalink / raw)
To: david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marcus Ramberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 8/19/26 3:56 PM, David Heidelberg via B4 Relay wrote:
> From: David Heidelberg <david@ixit.cz>
>
> This value belongs only to enchilada, fajita sets it's own (as the width
> / y-axis differs).
>
> No functional change.
>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail
2026-08-19 13:56 [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description David Heidelberg via B4 Relay
2026-08-19 13:56 ` [PATCH 1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place David Heidelberg via B4 Relay
@ 2026-08-19 13:56 ` David Heidelberg via B4 Relay
2026-08-19 14:42 ` Konrad Dybcio
2026-09-29 3:14 ` [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description Bjorn Andersson
2 siblings, 1 reply; 6+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-08-19 13:56 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcus Ramberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, David Heidelberg
From: David Heidelberg <david@ixit.cz>
Once probing, aftermarket touchscreens report touch over 0..65535
which is unusable. Be explicit in device-tree to avoid this issue.
This change should be irrelevant for original touchscreens, which
reports proper values.
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 +
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 1 +
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 1 +
3 files changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index fead66d60e58d..4e65c2368c728 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -538,16 +538,17 @@ synaptics-rmi4-i2c@20 {
rmi4-f01@1 {
reg = <0x01>;
syna,nosleep-mode = <1>;
};
rmi4_f12: rmi4-f12@12 {
reg = <0x12>;
touchscreen-x-mm = <68>;
+ syna,clip-x-high = <1079>;
syna,sensor-type = <1>;
syna,rezero-wait-ms = <200>;
};
};
};
&ipa {
firmware-name = "qcom/sdm845/OnePlus/enchilada/ipa_fws.mbn";
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
index be346286e19b3..276217f7216b5 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
@@ -92,16 +92,17 @@ led@5 {
reg = <5>;
color = <LED_COLOR_ID_RED>;
};
};
};
&rmi4_f12 {
touchscreen-y-mm = <144>;
+ syna,clip-y-high = <2279>;
};
&sound {
model = "OnePlus 6";
audio-routing = "RX_BIAS", "MCLK",
"AMIC2", "MIC BIAS2",
"AMIC3", "MIC BIAS4",
"AMIC4", "MIC BIAS1",
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
index 0542333a83579..e9d1a1c6ac596 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
@@ -65,16 +65,17 @@ &pmi8998_charger {
* The TFA9894 codec is currently unsupported.
* We need to delete the node to allow the soundcard
* to probe for headphones/earpiece.
*/
/delete-node/ &speaker_playback_dai;
&rmi4_f12 {
touchscreen-y-mm = <148>;
+ syna,clip-y-high = <2339>;
};
&wcd9340 {
qcom,micbias1-microvolt = <2700000>;
qcom,micbias2-microvolt = <2700000>;
qcom,micbias3-microvolt = <2700000>;
qcom,micbias4-microvolt = <2700000>;
};
--
2.55.0
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail
2026-08-19 13:56 ` [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail David Heidelberg via B4 Relay
@ 2026-08-19 14:42 ` Konrad Dybcio
0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-08-19 14:42 UTC (permalink / raw)
To: david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marcus Ramberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 8/19/26 3:56 PM, David Heidelberg via B4 Relay wrote:
> From: David Heidelberg <david@ixit.cz>
>
> Once probing, aftermarket touchscreens report touch over 0..65535
> which is unusable. Be explicit in device-tree to avoid this issue.
>
> This change should be irrelevant for original touchscreens, which
> reports proper values.
>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description
2026-08-19 13:56 [PATCH 0/2] arm64: dts: qcom: sdm845-oneplus: Be more explicit touchsreen description David Heidelberg via B4 Relay
2026-08-19 13:56 ` [PATCH 1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place David Heidelberg via B4 Relay
2026-08-19 13:56 ` [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail David Heidelberg via B4 Relay
@ 2026-09-29 3:14 ` Bjorn Andersson
2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-09-29 3:14 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Marcus Ramberg, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On Wed, 19 Aug 2026 15:56:38 +0200, David Heidelberg wrote:
> Useful for aftermarket touchscreens, which don't fully comply with the
> standards.
Applied, thanks!
[1/2] arm64: dts: qcom: sdm845-oneplus: Move touchscreen y-axis to the right place
commit: d4c3b99c2fd062253af9cdc6bae26bba98afca1e
[2/2] arm64: dts: qcom: sdm845-oneplus: Define touchscreen in the detail
commit: 33bacf8b8e69aa27c0e12892911709a549b00093
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread