From nobody Thu Dec 18 14:47:19 2025 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 4B1A619F47E; Thu, 24 Apr 2025 15:08:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507315; cv=none; b=o7gP8OLYjqkgk0jEI0x2xCXibt+xtd5KockFWaRHWlvEReaJxEU2eM9gv9rsZCen/8pg+eLLhhRFmY7zNYOF1pQyrC+Pm7OOq8bHq0dXbvC1GZUb1R0EOj7z4rg9jV8qrqtT7q8gRGGgjKYKQ9tljiIv8d81IOfE0whMP8n1LR8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507315; c=relaxed/simple; bh=DHLcH3mu/RLl2jx09mAzvxQ6hmd50A5n3GJxUeLNgQk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BR5l7vZTa7N15pr+icugUL8PYCRfUWeJ+x4/hZ02c8ylpooRl/+PMzdQD2ecPNr4cxVMDLnqV4MnX+HOkX9iPj5yp6bCbas+AujCSyMqRtes07tzgANK/QtswvP35UK1H2i+l01bSFdZLMXnGiLE++17+IF0i2667ZW3+xrNp/0= 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=N9NZXGE3; arc=none smtp.client-ip=217.70.183.201 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="N9NZXGE3" Received: by mail.gandi.net (Postfix) with ESMTPSA id 437B543B2F; Thu, 24 Apr 2025 15:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1745507305; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vJeEd7VfxCYfJYj2Q+Ydr+oDGWhfrHglzb7X7ddA560=; b=N9NZXGE3iOJNUGgPLqyE/3bQ679q3V4Ubdk+hqAZG/e/DsN0DO3WAKOMGxWrcar9KNKcUh lbkoSmYP1Fl1My9zlRb3uIgggp8ee39ZLx6fGO15+9H7oqLv+x0UJX8u81op84inWd3GWV zIG7YYfld2VcPu15gfLKNCdJP+MjpOSgmwrC/IfDldVbvKElyH51y4Q029J5Yla39ADIxI NQ3lQk4vUJfTS/jGOOthrWU2aYUUXVDKvbXrDtYxcBewW4Rjk/FEcpJUlOkkvFX8XoSVys 38NHzRg0IIBSFlDfTuHSfSBJ4gSSqWAmy46T+PRoNJ2rLfctrrO8TPXSl7p2EQ== From: Kory Maincent Date: Thu, 24 Apr 2025 17:07:39 +0200 Subject: [PATCH RFC v2 1/5] dt-bindings: display: panel: Fix port 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: <20250424-feature_sfto340xc-v2-1-ff7da6192df2@bootlin.com> References: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> In-Reply-To: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Laurent Pinchart Cc: Thomas Petazzoni , Miquel Raynal , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kory Maincent X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeeljeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeevgfdvgfektefgfefggeekudfggffhtdfffedtueetheejtddvledvvdelhedtveenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghloheplgduvdejrddtrddurddungdpmhgrihhlfhhrohhmpehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedukedprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepughrihdquggvvhgvlheslhhishhtshdrfhhrvggvuggvshhkthhophdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvr hdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepqhhuihgtpghjvghsshiihhgrnhesqhhuihgtihhntgdrtghomhdprhgtphhtthhopehmihhquhgvlhdrrhgrhihnrghlsegsohhothhlihhnrdgtohhmpdhrtghpthhtohepkhhorhihrdhmrghinhgtvghnthessghoohhtlhhinhdrtghomh X-GND-Sasl: kory.maincent@bootlin.com Faced a binding error check while adding the data-lanes property in the ilitek,ili9881c binding. See the next patch for the binding changes. Here is the error: Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.example.dtb: panel@0: port:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpected) Change the reference of properties/port to $defs/port-base to makes it work. The only difference between port and port-base is the unevaluatedProperty set to false. I have tried to use properties/port in both panel-common and ilitek,ili9881c bindings but the error is still there. The only way to not face the error is to use $defs/port-base reference. I don't really understand the ins and outs, maybe it is a issue from the binding check tool. Signed-off-by: Kory Maincent --- Changes in v2: - New patch --- Documentation/devicetree/bindings/display/panel/panel-common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.y= aml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml index 087415753d606ce67bceabaa9b0ba7d463282f92..635f67ced0cb7103684a1415ab7= 40d83409a7dbb 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml @@ -76,7 +76,7 @@ properties: =20 # Connectivity port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base =20 ddc-i2c-bus: $ref: /schemas/types.yaml#/definitions/phandle --=20 2.34.1 From nobody Thu Dec 18 14:47:19 2025 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 A55302701C1; Thu, 24 Apr 2025 15:08:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507316; cv=none; b=YOjNRSVhe/sobfz3KEXzoVFtDsZ58VfOVmmDaVg0eRI/4vdTyHEGkiaPb35GVbZjvwrK3aFQN9t9NOzZB/cIpUqDWIhU4+0y7QMabmEuWJXeC2zU1kCYUUDVrN4XeKyPNXS4NMEKuZ+qijMQUfIbr9U8gimyeX1xePT/ZZcGfLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507316; c=relaxed/simple; bh=ysqejkYfjxpCIrghiIwEv4Qf5J8es5gI+FCSdP8BhKk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a7cSRAYb/d3VlV6T7AU19OFeunYCAiAvAQzGeDeDJZDb75IPKAK/LnTcfj0twPLvr31rEu+weS1xvk89wYriEYwMiTMdPuf464JxclJH6OQ4SDOoOJG6acL6c8Fl4aMU19jay5jGa1QuijpbVI/7mNfL9sdoyJcTlks/etzJNAM= 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=RYvwIIx4; arc=none smtp.client-ip=217.70.183.201 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="RYvwIIx4" Received: by mail.gandi.net (Postfix) with ESMTPSA id 1A1DB43B33; Thu, 24 Apr 2025 15:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1745507305; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ajfOfaTCL2MKfS2x+WJYBG1jd3ZTHqHodE2MhOxxRPM=; b=RYvwIIx4HZt/EFktTkspO9vNzsFMFwQdKiamtGHRCuoBcSr82nbq1Fk/M66NDRSeUQz0vN lsK7oM9T8vvDSlUoDSXFFoWlSfSQ0wMOi78t5+VsgcXDiaGTpZx1muCvLKtgIA4q/Sc7E3 mjLTLtYgqBerEqXu53Q0s0zM9LjlTA6/k3f6x9Cku2FcRe/TiNnLsQUGrgDN6IKYYQ/GMM EabeS/hLmreGuEfWq2fISip41vDbrW03cGEMnBsuOrX3yLsaMtC4mnITE9EDbTZUxNAjy0 aHrfKG5XnQQIXUIzuPjlgkKNHPEKiW0tVYGJZi+XmQaqj3WB63/3nl2av1cRpw== From: Kory Maincent Date: Thu, 24 Apr 2025 17:07:40 +0200 Subject: [PATCH RFC v2 2/5] dt-bindings: display: panel: ili9881c: Add data-lanes property 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: <20250424-feature_sfto340xc-v2-2-ff7da6192df2@bootlin.com> References: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> In-Reply-To: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Laurent Pinchart Cc: Thomas Petazzoni , Miquel Raynal , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kory Maincent X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeeljeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeevgfdvgfektefgfefggeekudfggffhtdfffedtueetheejtddvledvvdelhedtveenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghloheplgduvdejrddtrddurddungdpmhgrihhlfhhrohhmpehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedukedprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepughrihdquggvvhgvlheslhhishhtshdrfhhrvggvuggvshhkthhophdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvr hdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepqhhuihgtpghjvghsshiihhgrnhesqhhuihgtihhntgdrtghomhdprhgtphhtthhopehmihhquhgvlhdrrhgrhihnrghlsegsohhothhlihhnrdgtohhmpdhrtghpthhtohepkhhorhihrdhmrghinhgtvghnthessghoohhtlhhinhdrtghomh X-GND-Sasl: kory.maincent@bootlin.com Add the data-lanes property to specify the number of DSI lanes used by the panel. This allows configuring the panel for either two, three or four lanes. At the same time, extend the devicetree example with an endpoint node for better clarity. Signed-off-by: Kory Maincent --- Change in v2: - Use data-lanes property from video-interfaces.yaml - Add endpoint description example --- .../bindings/display/panel/ilitek,ili9881c.yaml | 20 ++++++++++++++++= ++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881= c.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.ya= ml index baf5dfe5f5ebdd92f460a78d0e56e1b45e7dd323..3a897e464178dfc8a7c70e0fafb= 51184c50a520b 100644 --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml @@ -27,6 +27,20 @@ properties: reg: maxItems: 1 =20 + port: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + minItems: 1 + maxItems: 4 + backlight: true power-supply: true reset-gpios: true @@ -53,6 +67,12 @@ examples: power-supply =3D <®_display>; reset-gpios =3D <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */ backlight =3D <&pwm_bl>; + port { + panel_in: endpoint { + remote-endpoint =3D <&dsi_out>; + data-lanes =3D <1 2>; + }; + }; }; }; =20 --=20 2.34.1 From nobody Thu Dec 18 14:47:19 2025 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 087CB1A83E2; Thu, 24 Apr 2025 15:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507317; cv=none; b=h3wVptGt2j+tw+8REny8nc10ULpLva+huQK6fjLtx4sLugMBF5XCM37H7RhvzVMTJWkBdkdQA+Wgf+jzPQs9ZEgBXVrIM/FmF0nmYWMc4qLbzRwkTftfFxUaVkQV3Mn51iqgIPD/g9SXHyDhDTWq5NRJhi1+6JuNY91qDLNqBtM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507317; c=relaxed/simple; bh=z6b0mzrpF2aZNgQo9qIcpvObLgZx1nJObxipm36NDhs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q/ZP5kb4IilaerI8YtMFQE1Vdka4uZCEkD/2ZoN4NLgqSTZtNLyrnmx581OjfC8k32zPaj+prNVVvoZBfL6tJwlkc8ikgbx9A9KWoPvKAkTRBGJYJOkNyKM0ooPGOgDttEaALTxv7IKLkcCDXJFc9MeKm1BcpD2m+ihxz55jGqs= 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=k2BAAqgy; arc=none smtp.client-ip=217.70.183.201 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="k2BAAqgy" Received: by mail.gandi.net (Postfix) with ESMTPSA id DE74E43B28; Thu, 24 Apr 2025 15:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1745507306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Dknd1WYoRwFoYs5Ic/5aWkOPzzA922MzeBd+WtZEH0=; b=k2BAAqgyV2SHRY0iWQSduWkBsJXxJ5+pnZZlO5ME8V3jG7ubHVgZksTqDnsBjipOjRnsM1 570PSjO/zio9dFb/0K/2PEmzzO7Vgauilp8tNiwBla0g3yc6fRgwJpePnB4nVCkW/pniBA 1DwT5m2XH1s8SFoGrETpazF1v9CUhPXn7Dq5kanC5sha4Frt3UFUMb3Ihcjre4thNqZdbA pxHID0xubAknh4+Sn3ghEkDMRJNdKnN/Lg6TJBVuWKLL0Pn/PvUfrndGB1vo7HPsnlrVrn Yt20jC51t4UNTyr2he0XMk2ugr91uOICr7QKj+887HD4chY/dcx+Z1B90qwiZQ== From: Kory Maincent Date: Thu, 24 Apr 2025 17:07:41 +0200 Subject: [PATCH RFC v2 3/5] drm/panel: ilitek-ili9881c: Add support for two-lane configuration 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: <20250424-feature_sfto340xc-v2-3-ff7da6192df2@bootlin.com> References: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> In-Reply-To: <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Laurent Pinchart Cc: Thomas Petazzoni , Miquel Raynal , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kory Maincent X-Mailer: b4 0.14.2 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeeljeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeevgfdvgfektefgfefggeekudfggffhtdfffedtueetheejtddvledvvdelhedtveenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghloheplgduvdejrddtrddurddungdpmhgrihhlfhhrohhmpehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedukedprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepughrihdquggvvhgvlheslhhishhtshdrfhhrvggvuggvshhkthhophdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvr hdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepqhhuihgtpghjvghsshiihhgrnhesqhhuihgtihhntgdrtghomhdprhgtphhtthhopehmihhquhgvlhdrrhgrhihnrghlsegsohhothhlihhnrdgtohhmpdhrtghpthhtohepkhhorhihrdhmrghinhgtvghnthessghoohhtlhhinhdrtghomh X-GND-Sasl: kory.maincent@bootlin.com Enable support for two-lane configuration which is done by setting the LANSEL_SW_EN and LANSEL_SW bits in the Pad Control register. Use the data-lanes device tree parameter to configure the number of lanes. The default configuration remains set to four lanes. Signed-off-by: Kory Maincent --- Change in v2: - Read the data-lanes parameter from the port endpoint and use drm_of_get_data_lanes_count instead of of_property_read_u32. --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 33 +++++++++++++++++++++++= ++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c b/drivers/gpu/dr= m/panel/panel-ilitek-ili9881c.c index 28cd7560e5db1d5734b10babdb4e4e553c6e07d0..2e38dea28336f445cb6a074dbbe= c006f0659287a 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c @@ -16,6 +16,7 @@ =20 #include #include +#include #include =20 #include