|
|
Subscribe / Log in / New account

Add support for Saef SFTO340XC panel.

From:  Kory Maincent <kory.maincent-AT-bootlin.com>
To:  Neil Armstrong <neil.armstrong-AT-linaro.org>, Jessica Zhang <quic_jesszhan-AT-quicinc.com>, Maarten Lankhorst <maarten.lankhorst-AT-linux.intel.com>, Maxime Ripard <mripard-AT-kernel.org>, Thomas Zimmermann <tzimmermann-AT-suse.de>, David Airlie <airlied-AT-gmail.com>, Simona Vetter <simona-AT-ffwll.ch>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Thierry Reding <thierry.reding-AT-gmail.com>, Laurent Pinchart <laurent.pinchart+renesas-AT-ideasonboard.com>
Subject:  [PATCH RFC v2 0/5] Add support for Saef SFTO340XC panel.
Date:  Thu, 24 Apr 2025 17:07:38 +0200
Message-ID:  <20250424-feature_sfto340xc-v2-0-ff7da6192df2@bootlin.com>
Cc:  Thomas Petazzoni <thomas.petazzoni-AT-bootlin.com>, Miquel Raynal <miquel.raynal-AT-bootlin.com>, dri-devel-AT-lists.freedesktop.org, linux-kernel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, Kory Maincent <kory.maincent-AT-bootlin.com>
Archive-link:  Article

Add support for Saef Technology Limited SFTO340XC LCD panel.
Add alongside the number of lanes configuration in the ili9881c driver
as the board on my desc use the panel with only two lanes.

Faced an issue with panel-common binding. Wrote a fix (first patch) but not
sure it is the right one. If someone from dt tree could take a look, it
would be nice.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
Changes in v2:
- Add new patch trying to fix panel-common binding.
- Read the data-lanes parameter from the port endpoint and use
  drm_of_get_data_lanes_count instead of of_property_read_u32.
- Link to v1: https://lore.kernel.org/r/20250408-feature_sfto340xc-v1-0...

---
Kory Maincent (5):
      dt-bindings: display: panel: Fix port binding
      dt-bindings: display: panel: ili9881c: Add data-lanes property
      drm/panel: ilitek-ili9881c: Add support for two-lane configuration
      dt-bindings: ili9881c: Add Saef SFTO340XC support
      drm: panel: Add Saef SFTO340XC LCD panel

 .../bindings/display/panel/ilitek,ili9881c.yaml    |  21 ++
 .../bindings/display/panel/panel-common.yaml       |   2 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c      | 265 ++++++++++++++++++++-
 3 files changed, 285 insertions(+), 3 deletions(-)
---
base-commit: bef4f1156b74721b7d111114538659031119b6f2
change-id: 20250129-feature_sfto340xc-d2b25a5b5748

Best regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds