Devicetree
 help / color / mirror / Atom feed
From: Konrad Dybcio <konradybcio@kernel.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	 Matthias Schiffer <matthias.schiffer@ew.tq-group.com>,
	 Vincent Huang <vincent.huang@tw.synaptics.com>,
	 Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	 Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: [PATCH 3/3] arm64: dts: qcom: sdm845-tama: Declare touchscreen as a panel follower
Date: Fri, 11 Sep 2026 15:18:29 +0200	[thread overview]
Message-ID: <20260911-topic-rmi4_panel_follower-v1-3-c1b2cf1cdb62@oss.qualcomm.com> (raw)
In-Reply-To: <20260911-topic-rmi4_panel_follower-v1-0-c1b2cf1cdb62@oss.qualcomm.com>

From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Currently, the touchscreen relies on the idiosyncracies of Linux and
fw_devlink, wired up via a totally fake supply reference to keep the
driver probe order in check.

Resolve that properly by declaring the touchscreen as a panel follower
of the in-cell display panel.

Assisted-by: LLM
Fixes: 3ab8216de2fa ("arm64: dts: qcom: sdm845-tama: Add Synaptics Touchscreen")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
index 05e5a3674e5f..dd79b93befb4 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
@@ -442,12 +442,8 @@ touchscreen: touchscreen@2c {
 
 		interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
 		vdd-supply = <&vreg_l14a_1p8>;
-		/*
-		 * This is a blatant abuse of OF, but the panel driver *needs*
-		 * to probe first, as the power/gpio switching needs to be precisely
-		 * timed in order for both the display and touch panel to function properly.
-		 */
-		incell-supply = <&panel>;
+
+		panel = <&panel>;
 
 		syna,reset-delay-ms = <220>;
 		syna,startup-delay-ms = <1000>;

-- 
2.55.0


      parent reply	other threads:[~2026-09-11 13:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-11 13:18 [PATCH 0/3] drm_panel_follower support for RMI4 Konrad Dybcio
2026-09-11 13:18 ` [PATCH 1/3] dt-bindings: input: syna,rmi4: Allow 'panel' property Konrad Dybcio
2026-09-11 13:18 ` [PATCH 2/3] Input: synaptics-rmi4: Support drm_panel_follower Konrad Dybcio
2026-09-11 13:32   ` sashiko-bot
2026-09-11 13:18 ` Konrad Dybcio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260911-topic-rmi4_panel_follower-v1-3-c1b2cf1cdb62@oss.qualcomm.com \
    --to=konradybcio@kernel.org \
    --cc=Jason@zx2c4.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=robh@kernel.org \
    --cc=vincent.huang@tw.synaptics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox