From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx-relay100-hz2.antispameurope.com (mx-relay100-hz2.antispameurope.com [94.100.136.201]) (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 1DDB92749FE for ; Tue, 16 Dec 2025 07:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=94.100.136.201 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765870273; cv=pass; b=PCaMKGl0FD0Y97me82BnYiwG3Jqpx9iQZnvieka0D9OGpXyDtak2TizN9BhIWY2NuTstSL4pFOG0AjWA9cERimhXR+S00Sp9yb1KHkkfGnrI9ROwX4nIET/2cGtnaavKAt2OCnE4j/RSYZrNQ84zy8i5c6WAn5yWM+kt7fN8jUA= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765870273; c=relaxed/simple; bh=p0SwWhsPnYB5QVMPW4Gk+n+l4avtLhr+WAXnjOMOQDE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L5a4OYRgJqwZQ77CVQju2TRz1glYnBgyql6AkThCtbJqoFHg3T0rOyg6errFqfzaV2DSS3qxUKOI3gNR+T7f2pT2o2gGrfhDc/shI3mK4FJAaPl95RTBvvgtyS+0iv4Xf9L1kaZ14PNzyeNmP7EGGjEhx9oywroEmw+5bYpBHm0= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=hUAq2byO; arc=pass smtp.client-ip=94.100.136.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="hUAq2byO" ARC-Authentication-Results: i=1; mx-gate100-hz2.hornetsecurity.com 1; spf=pass reason=mailfrom (ip=94.100.132.6, headerfrom=ew.tq-group.com) smtp.mailfrom=ew.tq-group.com smtp.helo=hmail-p-smtp01-out03-hz1.hornetsecurity.com; dmarc=pass header.from=ew.tq-group.com orig.disposition=pass ARC-Message-Signature: a=rsa-sha256; bh=2pyJv45tDjDKywJWeYp3I9ulqUEPqCbg6pglbJWo3s8=; c=relaxed/relaxed; d=hornetsecurity.com; h=from:to:date:subject:mime-version:; i=1; s=hse1; t=1765870199; b=dtKjrEB/8cztASbJ/STKXPnTDF/rR29C7eomM5qoFgPabMQT8WGovQChZc6PXcLg6kzQDHEh eLwblPNMO1xal+ZAAX/kZt37kdNOqd9x31OhwrNNkWL3L/r1ExAfYH/vWpFFv0z4WcfY3aOM4Ou dTHyFdwG6dKvaah8tTRd8rB9kyb1HNYuqUHdGoykCSud94Zzxz+jM/LRGmzOUVlYd7B1SA3Jt0y wUa4Rn/lgPdoCb8SmaS2uijh1RA35+ynAd0yYFFmLl1E76eOV7izsbwcnilPU90zkh8Pk45s3Mx DLto3kSNqwk52R+UGrkAF1yv30pVeK5HpVqqa2RbWU2rA== ARC-Seal: a=rsa-sha256; cv=none; d=hornetsecurity.com; i=1; s=hse1; t=1765870199; b=C/T7VjvDl7H27TnPISYDoNfS8JShDeCxl4SZDBOJgi62v5ujmAfGXx6HS+4woEzHk0kTWXNp TeQpSOiNeiMN7AkvaAG6Ba7iwAJYyKXitvBmDAHGXAkw6OO03jBCgbgYPAONQmyusjGKwLTTGz3 HFtuMNjlXauDq9oEm6kJ7j/XwczsIq2piE2rqsxhDF3Tpv7Rab4CiPzcuRmcJri/0YGhWZw55D9 jJzzTwZI1NwiOi3RRTlqNmZ0Mr5n/QfAUI93PNHD1Dbm0CqdfOjBDbkU4ttFA1g1jrI/TZmAbb0 U5q6ne3aJDNS4ZXxVgfq5FfNZb7D28K3QKWKkFwSghSHQ== Received: from he-nlb01-hz1.hornetsecurity.com ([94.100.132.6]) by mx-relay100-hz2.antispameurope.com; Tue, 16 Dec 2025 08:29:58 +0100 Received: from steina-w.localnet (host-82-135-125-110.customer.m-online.net [82.135.125.110]) (Authenticated sender: alexander.stein@ew.tq-group.com) by hmail-p-smtp01-out03-hz1.hornetsecurity.com (Postfix) with ESMTPSA id 61240CC0DC8; Tue, 16 Dec 2025 08:29:32 +0100 (CET) From: Alexander Stein To: Liu Ying , dri-devel@lists.freedesktop.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , 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 Subject: Re: [PATCH v7 1/3] dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC subnode to schema and example Date: Tue, 16 Dec 2025 08:29:31 +0100 Message-ID: <3210190.mvXUDI8C0e@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20251215175436.wwlgzxionq55zu27@pengutronix.de> References: <20251202-v6-18-topic-imx93-parallel-display-v7-0-2cce31d64608@pengutronix.de> <705773fc-5aba-4bff-b05e-272e1cd0262c@nxp.com> <20251215175436.wwlgzxionq55zu27@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13198926.O9o76ZdvQC"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-cloud-security-sender:alexander.stein@ew.tq-group.com X-cloud-security-recipient:linux-kernel@vger.kernel.org X-cloud-security-crypt: load encryption module X-cloud-security-Mailarchiv: E-Mail archived for: alexander.stein@ew.tq-group.com X-cloud-security-Mailarchivtype:outbound X-cloud-security-Virusscan:CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay100-hz2.antispameurope.com with 4dVpTn4rt4z3PJZL X-cloud-security-connect: he-nlb01-hz1.hornetsecurity.com[94.100.132.6], TLS=1, IP=94.100.132.6 X-cloud-security-Digest:7843bfe7f806661645c9883349bcb132 X-cloud-security:scantime:2.036 DKIM-Signature: a=rsa-sha256; bh=2pyJv45tDjDKywJWeYp3I9ulqUEPqCbg6pglbJWo3s8=; c=relaxed/relaxed; d=ew.tq-group.com; h=content-type:mime-version:subject:from:to:message-id:date; s=hse1; t=1765870198; v=1; b=hUAq2byOT8+Ax0ISlwJvHQbaP4VpthW8XnM5smlD7JNf9loiXES7ezJzIS5dTVW41Knr07Xb P7vbrHf810hCXhp2EbvRqrDdu6xXhsluiPBxHG1W9xteAWev74ZHlX5fT90w7MqkPCNOEmNZZcN CarzHR1IwoIItIK8s3jaHy9nXQdGxiBYe0QPHxl+PPxKyeuH9MWgwh40Wbu31SzrUKXphqPMZfG yIKOeHKe9lWYQmzS9cr22MXy+5UcUaoXpt2s9YEqHO4rjmcuRfzKRuf6l7EQj7nq2xqhxIJk3EH LheeWa8nC30VEihhqcAedA/6tO2o0vU8ai8vD3IBVm59w== --nextPart13198926.O9o76ZdvQC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: Alexander Stein To: Liu Ying , dri-devel@lists.freedesktop.org Date: Tue, 16 Dec 2025 08:29:31 +0100 Message-ID: <3210190.mvXUDI8C0e@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20251215175436.wwlgzxionq55zu27@pengutronix.de> MIME-Version: 1.0 Hi, Am Montag, 15. Dezember 2025, 18:54:36 CET schrieb Marco Felsch: > Hi Liu, >=20 > sorry I didn't fully answer you please see below. >=20 > On 25-12-08, Liu Ying wrote: > > Hi Marco, > >=20 > > On 12/02/2025, Marco Felsch wrote: > > > From: Liu Ying > > >=20 > > > 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) subno= de > > > and add the subnode to example. > > >=20 > > > 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(+) > > >=20 > > > diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-medi= a-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media= =2Dblk-ctrl.yaml > > > index 34aea58094e55365a2f9c86092f637e533f954ff..6e2d86d9341c75108b492= bcbabc8a560d8e707cd 100644 > > > --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-c= trl.yaml > > > +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-c= trl.yaml > > > @@ -26,6 +26,12 @@ properties: > > > reg: > > > maxItems: 1 >=20 > ... >=20 > > > + properties: > > > + endpoint: > > > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > > > + unevaluatedProperties: false > > > + > > > + properties: > > > + bus-width: > >=20 > > In v1-v5, I thought the output bus format can be determined by the sink > > device(a panel or a bridge) hence properties like bus-width were not ne= eded. > > But, if this property is really needed, then reference video-interfaces= =2Eyaml > > since bus-width is documented there. Should we reference bus-type defi= ned > > in video-interfaces.yaml too? >=20 > You're right, the bus-width should be determined by the connected panel. > But there are cases where a 24-bit panel is connected but only the lower > 18-bits are muxed. I added the bus-width property to handle this case. > In the end most users don't have to specify this since the correct > bus-width is coming from the panel bus-fmt. >=20 > > > + enum: [ 16, 18, 24 ] > >=20 > > The PARALLEL_DISP_FORMAT field of DISPLAY_MUX register says this IP sup= ports > > below formats. It seems that the enum here may tell RGB888, RGB666 and= RGB565. > > How can we tell RGB555, YCbCr 24 bits and YUV444 then? > >=20 > > 000b RGB888 -> RGB888 > > 001b RGB888 -> RGB666 > > 010b RGB565 -> RGB565 > > 011b RGB555 -> RGB555 > > 100b YUV -> YCbCr 24 bits > > 101b YUV -> YUV444 >=20 > This enum is about the physical bus width. RGB565 =3D=3D 16-bit, YUV =3D= =3D > 24-bit. >=20 > That said, I don't think that you need to specify the bus-fmt since this > is coming from the panel. As said above, my itension with the bus-width > property is to provide integrators (dts-writers) a possibility to limit > the physical available bus width. Mh, isn't [1] exactly about this? Not sure about the outcome at that time. Best regards, Alexander [1] https://lore.kernel.org/all/20250304101530.969920-1-victor.liu@nxp.com/ > [snip] =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/ --nextPart13198926.O9o76ZdvQC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEByESxqszIvkmWRwbaS+g2M0Z/iUFAmlBClsACgkQaS+g2M0Z /iVQ0Qf8CUXPNQgjvninNpUlo9wHMSxcj70F/nwY4xnJ9mAHPkIcrl+Ye0RpxJvm HUghMQJsn8g5oW1mw3ihaOEFFyjI2Nmpn839jZzyuWZFCzy+6ZArWMnhjAmU3EK8 axvxjC6n5kJ2/Dx3wih+X2Ub6IbwNIB01Xq368832yntOGHje3ucsFLNNV8RXaNH PRwXcgrJ0fSDoEZPC1Eh59z+2sRZbA8rdLxHP+tqq71jwpBaTJUCZDSUfO1ZgFy7 LeiQPAchQ1p/gqgo9xvkM5pISy7hj0p/f1jRTroTT1VfHKsp4LDxb71VE/S+IKQU dYOr28lQ8IOXSDJuSIAYKAynFx8akw== =c8lD -----END PGP SIGNATURE----- --nextPart13198926.O9o76ZdvQC--