From nobody Mon Dec 1 23:10:29 2025 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 4A9F7342158; Wed, 26 Nov 2025 17:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764178627; cv=none; b=O/CsMwen95QLfMcYjZ3Cpa7KShnPgoJBl8GeyTKXRCo3tquOWArple+SRmHutppaqoveTfsM2glPxX40roXMMuCzMReH8k6tjaftpum68VzX+hDgMe2AJceWDWsoADrJa+QRnZaF507oeTlGekMyBXQTNGToQGrNPqe2jKyvtt4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764178627; c=relaxed/simple; bh=tTPxi5k58wJEimRCt2b6ST0sVU5ySJOAcdUcqnJr1Fs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NBmexmr3zrac1BIft53Pfws/nb5N+2ZhtBYDsCyO9knplA9qFZ7N4ydDj5obP5qowXLCgZUy1rj2ec1VPZUKgfCOG+p801y65TXcJ6CksAGYDd05fS0rg2PNR08B9AXatbihgqmnGSQVCFUPoKcPkYJ4oX+Q4zUTIZJuuGRugyc= 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=urmWOWiO; arc=none smtp.client-ip=185.171.202.116 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="urmWOWiO" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 5867AC16A0B; Wed, 26 Nov 2025 17:36:41 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 1E8B060721; Wed, 26 Nov 2025 17:37:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E28F4102F22D9; Wed, 26 Nov 2025 18:36:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1764178622; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=EWslL5MJAu1ktwPaDyDYlweDV4/0Xu50P9NpGLLvPzI=; b=urmWOWiOCRBQAaoKMUKHRNe7j5UlKQhDEabtHMlCvM1TGAhlLuB+6X45QYYWZNSKGwwm69 l3PZTZjW3W6qIfDfh/qnPs3VW+hLmQ+MfuadSI3knL03/q0LZ1eM5N8kx7JkuyjppmOTc8 b9GVdtvZ6b20OoB/85QkDEDzmcDujK+oYN24M5A/fLSuGuVdh4NdEhYkUc5WnuO2mqggJa 3vEk7KOmZQGFpmcX15aegIJY2/WRrOq6pQDQMhlUyw8G5TttJqc7qvbarJ9o2r7csdbJ/H Jy8lJW2nADY63oCd7wPItAFFyEpdjeh5fWz6eH8nur/0b2LUpJAJZv24W/wh8Q== From: "Kory Maincent (TI.com)" Date: Wed, 26 Nov 2025 18:35:48 +0100 Subject: [PATCH 06/21] dt-bindings: display: tilcdc: Remove panel binding Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251126-feature_tilcdc-v1-6-49b9ef2e3aa0@bootlin.com> References: <20251126-feature_tilcdc-v1-0-49b9ef2e3aa0@bootlin.com> In-Reply-To: <20251126-feature_tilcdc-v1-0-49b9ef2e3aa0@bootlin.com> To: Jyri Sarha , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Bartosz Golaszewski , Tony Lindgren , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Cc: Markus Schneider-Pargmann , Luca Ceresoli , Louis Chauvet , Thomas Petazzoni , Miguel Gazquez , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, "Kory Maincent (TI.com)" X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Remove the deprecated ti,tilcdc,panel binding which violates devicetree design principles by placing display controller configuration (DMA burst size, FIFO thresholds, AC bias, etc.) inside the panel node instead of the controller node where it belongs. This non-standard binding has several critical issues: - Mixes controller-specific hardware parameters with panel properties - Lacks the standard port/endpoint graph for panel connections - Cannot work with the standard DRM panel infrastructure - Forces vendor-specific binding instead of reusable panel-dpi binding The tilcdc driver has been updated to work with standard DRM panels and bridges, and all in-tree users have been migrated to use the generic panel-dpi binding with proper port/endpoint connections. Controller parameters like fifo-threshold are now correctly specified in the tilcdc node itself. While removing bindings is exceptional, keeping this binding would: - Perpetuate incorrect devicetree design patterns - Require maintaining a non-standard panel driver solely for tilcdc - Block proper integration with the DRM panel subsystem - Prevent devicetree reusability across different display controllers This removal completes the migration to standard DRM panel bindings. Signed-off-by: Kory Maincent (TI.com) --- .../devicetree/bindings/display/tilcdc/panel.txt | 66 ------------------= ---- 1 file changed, 66 deletions(-) diff --git a/Documentation/devicetree/bindings/display/tilcdc/panel.txt b/D= ocumentation/devicetree/bindings/display/tilcdc/panel.txt deleted file mode 100644 index 808216310ea27..0000000000000 --- a/Documentation/devicetree/bindings/display/tilcdc/panel.txt +++ /dev/null @@ -1,66 +0,0 @@ -Device-Tree bindings for tilcdc DRM generic panel output driver - -Required properties: - - compatible: value should be "ti,tilcdc,panel". - - panel-info: configuration info to configure LCDC correctly for the panel - - ac-bias: AC Bias Pin Frequency - - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt - - dma-burst-sz: DMA burst size - - bpp: Bits per pixel - - fdd: FIFO DMA Request Delay - - sync-edge: Horizontal and Vertical Sync Edge: 0=3Drising 1=3Dfalling - - sync-ctrl: Horizontal and Vertical Sync: Control: 0=3Dignore - - raster-order: Raster Data Order Select: 1=3DMost-to-least 0=3DLeast-t= o-most - - fifo-th: DMA FIFO threshold - - display-timings: typical videomode of lcd panel. Multiple video modes - can be listed if the panel supports multiple timings, but the 'native-m= ode' - should be the preferred/default resolution. Refer to - Documentation/devicetree/bindings/display/panel/display-timing.txt for = display - timing binding details. - -Optional properties: -- backlight: phandle of the backlight device attached to the panel -- enable-gpios: GPIO pin to enable or disable the panel - -Recommended properties: - - pinctrl-names, pinctrl-0: the pincontrol settings to configure - muxing properly for pins that connect to TFP410 device - -Example: - - /* Settings for CDTech_S035Q01 / LCD3 cape: */ - lcd3 { - compatible =3D "ti,tilcdc,panel"; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&bone_lcd3_cape_lcd_pins>; - backlight =3D <&backlight>; - enable-gpios =3D <&gpio3 19 0>; - - panel-info { - ac-bias =3D <255>; - ac-bias-intrpt =3D <0>; - dma-burst-sz =3D <16>; - bpp =3D <16>; - fdd =3D <0x80>; - sync-edge =3D <0>; - sync-ctrl =3D <1>; - raster-order =3D <0>; - fifo-th =3D <0>; - }; - display-timings { - native-mode =3D <&timing0>; - timing0: 320x240 { - hactive =3D <320>; - vactive =3D <240>; - hback-porch =3D <21>; - hfront-porch =3D <58>; - hsync-len =3D <47>; - vback-porch =3D <11>; - vfront-porch =3D <23>; - vsync-len =3D <2>; - clock-frequency =3D <8000000>; - hsync-active =3D <0>; - vsync-active =3D <0>; - }; - }; - }; --=20 2.43.0