lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250424-feature_sfto340xc-v2-2-ff7da6192df2@bootlin.com>
Date: Thu, 24 Apr 2025 17:07:40 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Neil Armstrong <neil.armstrong@...aro.org>, 
 Jessica Zhang <quic_jesszhan@...cinc.com>, 
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, 
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, 
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>, 
 Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, 
 Thierry Reding <thierry.reding@...il.com>, 
 Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>, 
 Miquel Raynal <miquel.raynal@...tlin.com>, dri-devel@...ts.freedesktop.org, 
 linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, 
 Kory Maincent <kory.maincent@...tlin.com>
Subject: [PATCH RFC v2 2/5] dt-bindings: display: panel: ili9881c: Add
 data-lanes property

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 <kory.maincent@...tlin.com>
---

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,ili9881c.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml
index baf5dfe5f5ebdd92f460a78d0e56e1b45e7dd323..3a897e464178dfc8a7c70e0fafb51184c50a520b 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
 
+  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 = <&reg_display>;
             reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
             backlight = <&pwm_bl>;
+            port {
+                panel_in: endpoint {
+                    remote-endpoint = <&dsi_out>;
+                    data-lanes = <1 2>;
+                };
+            };
         };
     };
 

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ