Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4655184rwd; Tue, 23 May 2023 10:28:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qzXxJWUhjeuVohiWz+/pB8GwckxLHO8SBx8EAUddfl7fsPYuQ8jtE/ROyv9Sv7SwfTJa4 X-Received: by 2002:a05:6a20:938e:b0:10b:235c:d8c3 with SMTP id x14-20020a056a20938e00b0010b235cd8c3mr11263681pzh.36.1684862898346; Tue, 23 May 2023 10:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684862898; cv=none; d=google.com; s=arc-20160816; b=kCnZ4EVq53t9XcKbSVt1dYp4g3akH+pgMLX7P1Uabx6mYUiwiIb+2Mt9rtIBNb5wyB T6kJjlLy2NKLkPznC5VRddoOseQk0m4uXIL7WcXaEBSyI8VygtoF1StVS2qPMIuGuoIs g7dOzEUkv5t+h1wMhVYszvbuY3SXt2GroEat88iaprYAt7OyQASygFFzkLwEF34uXQU0 YRhYbxrYIeBMytSR+9Z3xFIuWvoF/UU5TILKdqTCahmnJK3XsIKHwEGBA4f7iuxeJ1KN 0QXo4xm34ckPZT+OotUUp4wEtaO0Ggc02LoztJk94pdPo4Oq17PROezq/ZtA7I+VGiT8 r9jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l56WFbeJumWboyNbpmMETQNyIgt7DUI/WOY0sudvKbQ=; b=x7yEOa6untIEI+ErmRWWTjtBVu6c0jLjMLtOUHM7S3ZGVgTfRhE6gJ8bgJPwfn3RK+ YztmecYx6NH9WI8uyVMLR62H3PosqiqG9FLfTwiJVdN+t51m16ZEeWo5KCl16rKT5Q/X gPAWUPfSfVn2JAHHuLz5mQa2NcYdLt8MKoOr5giT2edhkXzxoP2sl9FnsUnUdfXAzbz0 +N62IA1I+JNT6YZ2PRwdaddfq3eJuvgL0ufw3MrkAa3YCoRfXxveiO0hdFIiY6P2rUgd TYcb6EzDXxIEKojCq6jIyx55HZh5CyvaBPDDbP6WLVZaxhR0Tf4unYqIbH9E4HToSn0X S1vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pRnLh7k/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gj3-20020a17090b108300b002536c5eb7cfsi2380115pjb.58.2023.05.23.10.28.03; Tue, 23 May 2023 10:28:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pRnLh7k/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238017AbjEWRVz (ORCPT + 99 others); Tue, 23 May 2023 13:21:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238009AbjEWRVw (ORCPT ); Tue, 23 May 2023 13:21:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87DD11A4; Tue, 23 May 2023 10:21:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1D4E463504; Tue, 23 May 2023 17:21:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 261E7C4339B; Tue, 23 May 2023 17:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684862491; bh=aT2ocotPlA/nSBH/8PduunTauw9vMBYGyMKMNVT/r+s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pRnLh7k/CzU1h0jLRsDO67VJxc8vSBtPTmUdaqBNSCE6g7J91jL35JLulOx9C9JYR TMQ6Pdk6XSiAAgEgZWIvCVKX8r6uo7WnelJKRjJXopuh4RdfXIdMlUkGQhOolw8xTN XcrZV3vZD1uLRNUAwXkfv5ZKpWri+ivpYG5HZDCZPeKk4CaFVGi7HO1G5eUJnSIe1W kOvX1qTiJ0TuCBd6rezaZxrEtAwSMr5dDrTprv//m8FUxOmMIZzFCZBnJmmR8gBirF iK3pr5wbqwUaDsYcENJl+WOoI3UgfN6nmtHz+aQlRGmuKRpoxdZXhfk6u2sOkVG4ba 5iq4vCdEoIUqA== Date: Tue, 23 May 2023 18:21:25 +0100 From: Conor Dooley To: Johannes Zink Cc: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart , Thierry Reding , Neil Armstrong , Sam Ravnborg , kernel test robot , Dan Carpenter , patchwork-jzi@pengutronix.de, kernel@pengutronix.de, Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] dt-bindings: display: simple: support non-default data-mapping Message-ID: <20230523-jaywalker-modify-500ec1d79223@spud> References: <20230523-simplepanel_support_nondefault_datamapping-v2-0-87196f0d0b64@pengutronix.de> <20230523-simplepanel_support_nondefault_datamapping-v2-2-87196f0d0b64@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mkHOJIwDJ1jryFTv" Content-Disposition: inline In-Reply-To: <20230523-simplepanel_support_nondefault_datamapping-v2-2-87196f0d0b64@pengutronix.de> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mkHOJIwDJ1jryFTv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2023 at 10:19:42AM +0200, Johannes Zink wrote: > Some Displays support more than just a single default lvds data mapping, > which can be used to run displays on only 3 LVDS lanes in the jeida-18 > data-mapping mode. >=20 > Add an optional data-mapping property to allow overriding the default > data mapping. As it does not generally apply to any display and bus: use > it selectively on the innolux,g101ice-l01, which supports changing the > data mapping via a strapping pin. >=20 > Signed-off-by: Johannes Zink >=20 > --- >=20 > Changes: >=20 > v1 -> v2: - worked in Rob's review findings (thanks for reviewing my > work): use extracted common property instead of duplicating > the property That looks to be true (and Rob's AFK at the moment, hence unable to reply to your ping) so, Reviewed-by: Conor Dooley Thanks, Conor. > - refined commit message > - add an example dts for automated checking > --- > .../bindings/display/panel/panel-simple.yaml | 26 ++++++++++++++++= +++++- > 1 file changed, 25 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple= =2Eyaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > index ec50dd268314..698301c8c920 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > @@ -21,9 +21,9 @@ description: | > =20 > allOf: > - $ref: panel-common.yaml# > + - $ref: ../lvds-data-mapping.yaml# > =20 > properties: > - > compatible: > enum: > # compatible must be listed in alphabetical order, ordered by compat= ible. > @@ -353,6 +353,17 @@ properties: > power-supply: true > no-hpd: true > hpd-gpios: true > + data-mapping: true > + > +if: > + not: > + properties: > + compatible: > + contains: > + const: innolux,g101ice-l01 > +then: > + properties: > + data-mapping: false > =20 > additionalProperties: false > =20 > @@ -372,3 +383,16 @@ examples: > }; > }; > }; > + - | > + panel_lvds: panel-lvds { > + compatible =3D "innolux,g101ice-l01"; > + power-supply =3D <&vcc_lcd_reg>; > + > + data-mapping =3D "jeida-24"; > + > + port { > + panel_in_lvds: endpoint { > + remote-endpoint =3D <<dc_out_lvds>; > + }; > + }; > + }; >=20 > --=20 > 2.39.2 >=20 --mkHOJIwDJ1jryFTv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZGz2FQAKCRB4tDGHoIJi 0kGeAPwK0hvRgZEe5yCs6X2BQm57H3xiCRVe4/ILNn2rSwIImwD+JohV+vtU8PcX KBG/Gdo4LQ0y4cn44UJBX4oDxTQc9QY= =EQAo -----END PGP SIGNATURE----- --mkHOJIwDJ1jryFTv--