From mboxrd@z Thu Jan 1 00:00:00 1970 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 C00B51A0B08; Thu, 24 Apr 2025 15:08:31 +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=1745507314; cv=none; b=iGf74wqVNzok2qy+ZrYZk8DqAJWkYFrvA8sAHoZsmKtU3KlssyIz3iAtsTzLcffVhab3OJ5dYZVqb623bMEDdeU9/k3awGIEKYm0EUEgxTnZcn+pUiRO+NNimpMTPMFRt127HWXlN/Br3kghsZSVox3wb4rpbKleySBCopXDjlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745507314; c=relaxed/simple; bh=YyEFImIP8G947wOmlJxVQp2pk0BNQWGOAI1K5GOen/I=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=XSDiFKn1K2OM8Llnn/Q9IwSpAmNaTEd2YhSnFRiQx3WKXeqW2xn5/KlcDxnf2LLZBYRkRW60f/XcpP79IowsqCPg1EoiQ4isWEDwXq3cezyP2neCWoSTU6dNf4Kx1pnYYHpJPgD4MiS/My/XOA0fhMx9ssE1sDdiLZWbPDqmAU8= 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=hkTO/UrV; 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="hkTO/UrV" Received: by mail.gandi.net (Postfix) with ESMTPSA id F002E43B30; Thu, 24 Apr 2025 15:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1745507304; 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; bh=kwtZUDd9gopu8zcCC7uUuLCyqfUunCI+oJq4E/2cP8w=; b=hkTO/UrVpap4HBu2e4bKxBkum05gdM3+9VhWemsvQ+uRDD4HMct7fWS5UgCPPOQQdxr1SC QFuCeGhoN05wFQlRS4I3cZZP6qlPMcahbHZxB+cafbzqvvlC6OQiE2QJj+1Hx9hTGRr3BD 3Iz8XrPhwfi/11uKR9SlKRoiMZPwIYVHNnMmZFUIXis9QAEzBuy8JewQkDq4Yc3IVR65T7 kuaL/J60EB/TGfDRLbM/YRoGS/gtiDYHsSlST/waKW9Rb/KiwgtoNEVSHwPW+dImFRfA/z YOS6ZHRvODDFZyLSxo4WB0hA9NC183cDu29kGoAaE2Zevkb2ADdC8dlXhDVJ/w== From: Kory Maincent 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> 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: 8bit X-B4-Tracking: v=1; b=H4sIALpTCmgC/22NQQrCMBREryJ/bSRJG21cCYIHcCtFkvbHftBGk lgqpXc3ZO3yzTBvFogYCCMcNwsEnCiSHzPI7Qa6wYwPZNRnBsml4kJq5tCkT8B7dMlXNZ871ks rlVFWHeoG8u4d0NFcnDe4Xs7Q5nCgmHz4lp9JlKooa978UU6CceYqXvXCaqP1/mS9T08ad51/Q buu6w+KmomFuQAAAA== X-Change-ID: 20250129-feature_sfto340xc-d2b25a5b5748 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: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeeljeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhufffkfggtgfgvfevofesthekredtredtjeenucfhrhhomhepmfhorhihucforghinhgtvghnthcuoehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpeduhfevudetfffgkedvhfevheeghedtleeghfffudeiffefvdehfeegieeivdekteenucffohhmrghinhepkhgvrhhnvghlrdhorhhgpdgsohhothhlihhnrdgtohhmnecukfhppeeltddrkeelrdduieefrdduvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledtrdekledrudeifedruddvjedphhgvlhhopegluddvjedrtddruddrudgnpdhmrghilhhfrhhomhepkhhorhihrdhmrghinhgtvghnthessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepudekpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegurhhiqdguvghvvghlsehlihhsthhsrdhfrhgvvgguvghskhhtohhprdhorhhgpdhrtghpthhtoheptghonhhorhdoughtsehkvghrn hgvlhdrohhrghdprhgtphhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehquhhitggpjhgvshhsiihhrghnsehquhhitghinhgtrdgtohhmpdhrtghpthhtohepmhhiqhhuvghlrdhrrgihnhgrlhessghoohhtlhhinhdrtghomhdprhgtphhtthhopehkohhrhidrmhgrihhntggvnhhtsegsohhothhlihhnrdgtohhm X-GND-Sasl: kory.maincent@bootlin.com 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 --- 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-f303d1b9a996@bootlin.com --- 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