From nobody Mon Dec 1 21:30:05 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 CBEE435975 for ; Mon, 1 Dec 2025 17:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609359; cv=none; b=saoblPMTSbqLUiHZnxi5FXV55lZcuUfh+KeliMiCe5Z23//Gd8r0PUXSJpAWABn+mblZ9FQX/FNCO+mg6Lxm6tG9ydW0g+04hscoIAdlpNTEwwik992u2LxeEVRiEN7S9K96FtYh9pmX62Wg1XFtrvkyPfY6Y2vMYFTSPPCM5ns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609359; c=relaxed/simple; bh=+sG6akW1Oc6aATrAVrRM/hVL6nI7UY4b6QLKtvBNlkE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IoPpexPsm9mFp8/7QcQOwtK2e57iMuOyB4AKzh0oGLA4iSa+2n7NAH6c4NeCL7SkNTmtCqWvtxifGkkvmmw6a8mGkgWxQT06YmUWeUEqbRl8mG3NHBUcnryJ3YK+gXL+VFq6FByiacVOPti6XzWXGMG1NaM7TYqmcBWlbmZwG84= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vQ7Uw-0003DM-QG; Mon, 01 Dec 2025 18:15:38 +0100 From: Marco Felsch Date: Mon, 01 Dec 2025 18:15:20 +0100 Subject: [PATCH v6 1/3] dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC subnode to schema and example 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: <20251201-v6-18-topic-imx93-parallel-display-v6-1-7b056e1e5b1e@pengutronix.de> References: <20251201-v6-18-topic-imx93-parallel-display-v6-0-7b056e1e5b1e@pengutronix.de> In-Reply-To: <20251201-v6-18-topic-imx93-parallel-display-v6-0-7b056e1e5b1e@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Liu Ying , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Marco Felsch X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org From: Liu Ying i.MX93 SoC mediamix blk-ctrl contains one DISPLAY_MUX register which configures parallel display format by using the "PARALLEL_DISP_FORMAT" field. Document the Parallel Display Format Configuration(PDFC) subnode and add the subnode to example. Signed-off-by: Liu Ying [m.felsch@pengutronix.de: port to v6.18-rc1] [m.felsch@pengutronix.de: add bus-width] Signed-off-by: Marco Felsch --- .../bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml | 92 ++++++++++++++++++= ++++ 1 file changed, 92 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-= ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-c= trl.yaml index 34aea58094e55365a2f9c86092f637e533f954ff..6e2d86d9341c75108b492bcbabc= 8a560d8e707cd 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.ya= ml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.ya= ml @@ -26,6 +26,12 @@ properties: reg: maxItems: 1 =20 + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + '#power-domain-cells': const: 1 =20 @@ -40,6 +46,60 @@ properties: minItems: 8 maxItems: 10 =20 + bridge@60: + type: object + additionalProperties: false + + properties: + compatible: + const: nxp,imx93-pdfc + + reg: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input port node to receive pixel data. + + port@1: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Output port node to downstream pixel data receive= rs. + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + properties: + bus-width: + enum: [ 16, 18, 24 ] + description: + Specify the physical parallel bus width. + + This property is optional if the display bus-width + matches the SoC bus-width, e.g. a 18-bit RGB666 (dis= play) + is connected and all 18-bit data lanes are muxed to = the + parallel-output pads. + + This property must be set to 18 to cut only the LSBs + instead of the MSBs in case a 24-bit RGB888 display = is + connected and only the lower 18-bit data lanes are m= uxed + to the parallel-output pads. + + required: + - port@0 + - port@1 + + required: + - compatible + - reg + - ports + allOf: - if: properties: @@ -81,9 +141,12 @@ allOf: - const: isi - const: csi - const: dsi + required: - compatible - reg + - '#address-cells' + - '#size-cells' - power-domains - clocks - clock-names @@ -112,4 +175,33 @@ examples: clock-names =3D "apb", "axi", "nic", "disp", "cam", "pxp", "lcdif", "isi", "csi", "dsi"; #power-domain-cells =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <1>; + + bridge@60 { + compatible =3D "nxp,imx93-pdfc"; + reg =3D <0x60 0x4>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pdfc_from_lcdif: endpoint { + remote-endpoint =3D <&lcdif_to_pdfc>; + }; + }; + + port@1 { + reg =3D <1>; + + pdfc_to_panel: endpoint { + remote-endpoint =3D <&panel_from_pdfc>; + bus-width =3D <18>; + }; + }; + }; + }; }; --=20 2.47.3