From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 16ABB3557F3; Fri, 29 May 2026 16:43:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780073009; cv=none; b=mdZjA34vaTkpGxWYKV8EgoE+fld1FxZFbU4YRin728hfY0VpD9Gt8KxCz2oELgYeu0MrZc271pPUeB0qfKZd4EHXegZm4CkpjVQrtKwauogxHWYurvdrAi5m8KWB4rrVaVFOUBKs32Vj534kZeBDsNBzdw2llgAVwgFpnrw+0ag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780073009; c=relaxed/simple; bh=lpd299+28Eh9h1nz/j1Zll0di8S4UpCxtvrWL7RXRJk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QjxGZlrxSdFpDRGZzdDll+es0ZE1fHaIdPzT7gqEBVY/f1p55x1Bb8KXtvjuK8YT7Mte/tdYZZsZfg2wOGKrF4bhb6F95uKEuvUwCicRla8RjfOhwIEUsE9LIzCnKkDM0FEBoR9A7KlvRFC/ItleQNeTqx3Y97LhgtV9W7bST6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eSi9kAZX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eSi9kAZX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CB111F00898; Fri, 29 May 2026 16:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780073007; bh=r957v2CWrz1MjIvRcsu269D9FVC83NzhoDB9LUW/yek=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eSi9kAZXupGxFPLy4ASfu+n36iRVBcamZ6fRqO8A5ZbTueEu4FXeAUjsrq/S9oQjd dIWHg53c6IqAnk732NmRuFNnq3KWRtAmBQ4DVhTKf4YX9oSau0/+c1EOcnvBB6sPYN mHvkZdq6+CaNH5PPsSYEln9oGOA4hBJfthYGNjk4gW4p/Q651oM4yuUUcyBQ8KjV0O fMQeTKArAwX7f6Nwfv0SHKdowN8ZVaQ+IcrsN9dXgOphz8ckUjzrTrVkD1F1hn6IVB zvlTX/+ByKxMQ2mXKL75mxb0QT/IdTHqfTqH1/ue/rSGqVYqeQWwNZpSKjghIFbsYk V0eMJ7oYmML/A== Date: Fri, 29 May 2026 17:43:20 +0100 From: Conor Dooley To: Damon Ding Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, nicolas.frattaroli@collabora.com, cristian.ciocaltea@collabora.com, sebastian.reichel@collabora.com, dmitry.baryshkov@oss.qualcomm.com, luca.ceresoli@bootlin.com, dianders@chromium.org, m.szyprowski@samsung.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/3] dt-bindings: display: bridge: analogix-dp: Add data-lanes support for endpoint Message-ID: <20260529-concur-grandly-745bb08c1d3f@spud> References: <20260529040530.741336-1-damon.ding@rock-chips.com> <20260529040530.741336-2-damon.ding@rock-chips.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5luu5ycDxMPs2Thy" Content-Disposition: inline In-Reply-To: <20260529040530.741336-2-damon.ding@rock-chips.com> --5luu5ycDxMPs2Thy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 29, 2026 at 12:05:28PM +0800, Damon Ding wrote: > Add data-lanes property support to the port@1 endpoint for physical > lane mapping configuration. >=20 > Lane mapping is mainly used for below scenarios: > 1. Correct PCB lane swap and differential line routing crossover > without hardware changes; > 2. Adapt mismatched lane pin definitions between SoC and eDP panel; > 3. Support multiple panel hardware variants on the same board > by configuring data-lanes in device tree only. >=20 > Additionally, add data-lanes setting in Rockchip eDP DT node example > to show actual lane mapping usage. >=20 > Signed-off-by: Damon Ding Not entirely sure if this is correct, but I'll leave that decision up to the display folks who know the hardware. pw-bot: not-applicable Acked-by: Conor Dooley Cheers, Conor. >=20 > --- >=20 > Changes in v2: > - Add lane mapping application scenarios in commit message. > - Remove redundant deprecated property 'data-lanes' for eDP node. > - Update port@1 $ref to /schemas/graph.yaml#/$defs/port-base. >=20 > Changes in v3: > - Squash data-lanes adjustment of Rockchip eDP DT example into this > commit. > - Add unevaluatedProperties: false to both the port@1 and endpoint > nodes. > --- > .../bindings/display/bridge/analogix,dp.yaml | 19 ++++++++++++++----- > .../rockchip/rockchip,analogix-dp.yaml | 1 + > 2 files changed, 15 insertions(+), 5 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,dp= =2Eyaml b/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml > index 62f0521b0924..ecf206871cdd 100644 > --- a/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml > @@ -42,13 +42,22 @@ properties: > properties: > port@0: > $ref: /schemas/graph.yaml#/properties/port > - description: > - Input node to receive pixel data. > + description: Input node to receive pixel data. > =20 > port@1: > - $ref: /schemas/graph.yaml#/properties/port > - description: > - Port node with one endpoint connected to a dp-connector node. > + $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > + description: Port node with one endpoint connected to sink devic= e node. > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# > + unevaluatedProperties: false > + properties: > + data-lanes: > + minItems: 1 > + maxItems: 4 > + items: > + enum: [ 0, 1, 2, 3 ] > =20 > required: > - port@0 > diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,= analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockc= hip,analogix-dp.yaml > index d99b23b88cc5..f690ee393fdb 100644 > --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogi= x-dp.yaml > +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogi= x-dp.yaml > @@ -117,6 +117,7 @@ examples: > reg =3D <1>; > =20 > edp_out_panel: endpoint { > + data-lanes =3D <0 1>; > remote-endpoint =3D <&panel_in_edp>; > }; > }; > --=20 > 2.34.1 >=20 >=20 --5luu5ycDxMPs2Thy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCahnCKAAKCRB4tDGHoIJi 0krpAP9zkNijMkKB+OlQAVfE8qu8J6APtlizk/cPwZuBFwjGmQEA1qzuR9AdmjN2 NDIExP/FQCGHdc3jKLG6nIP56dmsvAQ= =Mv2x -----END PGP SIGNATURE----- --5luu5ycDxMPs2Thy--