From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mslow3.mail.gandi.net (mslow3.mail.gandi.net [217.70.178.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A16A52E0B68; Wed, 30 Jul 2025 17:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.178.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753897521; cv=none; b=qqbCX7RmqS+K6qSK3aHysXcJ28WlmywG1OI/Fl88Z9k1UVvIwE7PVVE5q7pV88k2+8DZHiwfXalh6DXoydqwUFw05CDKCJCGkIS0o2BKFKWuHHD1diIlShG3ITzetPEZFA0/L3ujalW5v+DlQd0oq7Mgvh8BF7PXcJAZQWxdt3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753897521; c=relaxed/simple; bh=3qzM8m2sqw4qt11ky5Zv7yvJN7y2yZ0leaL6jqvwqYc=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=jC0zCG8MuYdeAlxB2SyG4yjQBrUHSZQid2+4ZC4+m3txdxbUmPeJ9lKs/1igPBPV2nr8l98zUemh9hVczk8AzXjCRv8P2bDm9Z8jZTGpTfbWm6qUXTeka/ork2ctEEJ+7xX3NvRM1l9kYhgN+j4qxwo17gL5OMMNnSdFlPXEid4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=K04Kc9Y6; arc=none smtp.client-ip=217.70.178.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="K04Kc9Y6" Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mslow3.mail.gandi.net (Postfix) with ESMTP id A5B77583E0C; Wed, 30 Jul 2025 17:02:59 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 101D8442A0; Wed, 30 Jul 2025 17:02:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1753894972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1DNQ/CkakWxya9ioCSMZc1LGlAXI1Hd7khVRlNaZQcw=; b=K04Kc9Y6dnQWT5oN+ubkShWHbI8woF2yt1y0mFhoMAKM5X8GrLn+uvU2xg/JE8ySiEEDJD C81sTMRJ1ppatn5yEiMvYsec+9O3+73dSVseS0N6dfFoawFkz4p2MOfTbvFrVoiqe/PGJH Zd/lq2JX6lT4SqJ2ZFRGphgEDCpqcsZQJ5m0sZRt3leuEph6FgVGXmtW6MGdARy8EHW5oF shguFngo9FyXQrCmIGUp5K9TehoKKIRfg1O4Ft5Z+B0H1l8iFkRjjsn0nufA71DwiwaRES WQdkBR83bk6x+B1cYOiKz11afRFBQSKM9dTSOlNvilsfcuCY7db6sU3bjgDYfQ== From: Louis Chauvet Subject: [PATCH 0/4] drm/tidss: Fixes data edge sampling Date: Wed, 30 Jul 2025 19:02:43 +0200 Message-Id: <20250730-fix-edge-handling-v1-0-1bdfb3fe7922@bootlin.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADRQimgC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI1MDc2MD3bTMCt3UFKA4UDYlJzMvXdfS0Mg4zdzE2MLS0EAJqK+gKBWoCGx mdGxtLQCzfyWvYwAAAA== X-Change-ID: 20250730-fix-edge-handling-9123f7438910 To: Jyri Sarha , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sam Ravnborg , Benoit Parrot , Lee Jones , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: thomas.petazzoni@bootlin.com, Jyri Sarha , Tomi Valkeinen , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org, Louis Chauvet X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1315; i=louis.chauvet@bootlin.com; h=from:subject:message-id; bh=3qzM8m2sqw4qt11ky5Zv7yvJN7y2yZ0leaL6jqvwqYc=; b=owEBbQKS/ZANAwAIASCtLsZbECziAcsmYgBoilA2a00gR53zdQMgm0IpbJxo/GWqnEGpHBJrx ziHrurFqiCJAjMEAAEIAB0WIQRPj7g/vng8MQxQWQQgrS7GWxAs4gUCaIpQNgAKCRAgrS7GWxAs 4gPsEACtfeuWZHXzNyPgiXjgYEchXlIJ4dMxcQEZCXZeJRYSzOYSJ2i65LxOdIlXKLKFNZqxZ10 YJR7B9JT9zvlKVrM5FbEm/QyqQY7MInZQ/RiQqiMKIUPzeALIOY8HKQCRYH7q7QFOlbThCzA23x gseaa3SnXSZkA9M3HK0F/vbM/PoJkH9mA4T+dlHPRdVdg8fRHmbqItd4W8xjtQa5hnGJq7e44oS BBYskh+Q0nGrGmM8tao+iEDhWUHrTI7UU+TR4PTJxkcblgkv7fSQwSqqmZJ4dzg+SK8RpO1k0v4 jvAxESeEo3TkgC1eAyltdmK7ChM8HmKN+XXW1v3JfIBvg1HKwmQfUNJRv6Yb1hSlT2BvwufRLJN KSMWP91O/B/NkO99alxNzuoXoCAYjxKzBmIo4cZAhhjBiZcV7YkDOzYaw3YOU+7zld8JEomHL+J cijDW3cN7cm4TXdZMSu6w97w/hVOiGVARXYhB7pPWqIDpE8kk54D9awSIodRn8sxHFQjJYyMj9d yJe+L63ZVYDG7lb11zICs5m3mDlQmp5xsSJct4rKpI8oQCRV4/OeCOOaE+o0ZGS35jnZ3cztHM0 c92qmvMilBf1IpKfeKxkji8vgRxHjPgLh1LGlBGkz0w/KD3HPpnmigpL/u/58yhwL9Q8pGvxlTG ME/FmGb4EcH2zJQ== X-Developer-Key: i=louis.chauvet@bootlin.com; a=openpgp; fpr=8B7104AE9A272D6693F527F2EC1883F55E0B40A5 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdelkeegkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffufffkgggtgffvvefosehtjeertdertdejnecuhfhrohhmpefnohhuihhsucevhhgruhhvvghtuceolhhouhhishdrtghhrghuvhgvthessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnhephfehueeguefhjeeuhffhjeekueduiefggfduheefkeelteelieevveeihfevueeinecukfhppeeltddrkeelrdduieefrdduvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledtrdekledrudeifedruddvjedphhgvlhhopegludelvddrudeikedrtddrvddtngdpmhgrihhlfhhrohhmpehlohhuihhsrdgthhgruhhvvghtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedvhedprhgtphhtthhopehjhihrihdrshgrrhhhrgesihhkihdrfhhipdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhriihkodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhrihhsthhosehkvghrnhgvlhdrohhrghdprhgtphhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhim hhonhgrsehffhiflhhlrdgthhdprhgtphhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehnmhesthhirdgtohhm Currently the driver only configure the data edge sampling partially. The AM62 require it to be configured in two distincts registers: one in tidss and one in the general device registers. Introduce a new dt property to link the proper syscon node from the main device registers into the tidss driver. Fixes: 32a1795f57ee ("drm/tidss: New driver for TI Keystone platform Display SubSystem") --- Cc: stable@vger.kernel.org Signed-off-by: Louis Chauvet --- Louis Chauvet (4): dt-bindings: display: ti,am65x-dss: Add clk property for data edge synchronization dt-bindings: mfd: syscon: Add ti,am625-dss-clk-ctrl arm64: dts: ti: k3-am62-main: Add tidss clk-ctrl property drm/tidss: Fix sampling edge configuration .../devicetree/bindings/display/ti/ti,am65x-dss.yaml | 6 ++++++ Documentation/devicetree/bindings/mfd/syscon.yaml | 3 ++- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 ++++++ drivers/gpu/drm/tidss/tidss_dispc.c | 14 ++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) --- base-commit: 85c23f28905cf20a86ceec3cfd7a0a5572c9eb13 change-id: 20250730-fix-edge-handling-9123f7438910 Best regards, -- Louis Chauvet