From patchwork Fri Jun 9 14:59:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13274073 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 416FCC7EE2E for ; Fri, 9 Jun 2023 15:00:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6719510E6CB; Fri, 9 Jun 2023 14:59:59 +0000 (UTC) X-Greylist: delayed 663 seconds by postgrey-1.36 at gabe; Fri, 09 Jun 2023 14:59:56 UTC Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9FF7410E07D for ; Fri, 9 Jun 2023 14:59:56 +0000 (UTC) X-GND-Sasl: miquel.raynal@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686322794; 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=lCWkW0TUz/Ozehs22EtY0o9dJlwo/nU2nU/fzCoRmvE=; b=DkxySSx9F2TqrgNdHMlCw49dx1Xr7CbCpVn5Z65m8w2XTk1x/KIlUeQVtyqrLPsN/InwzS RLvDcBXm0rhBZHK2NA1sJoZl1VolItq+Q7G5Pkgz+QJqCIx1Rkd/nEe1JZDe0HF6VANbZn WlFbzsCcehEs0MuCQXEw4i1Lel+ucVy3Dsecg7y03wc2Oo6MFjBv97I6GKbaWYYoj59TUz jEwpsGrEew/PVFJ5tCq5GaBkUUSq1yCzfQclvEUH2DXsMujitkjvsQ+o0WyLSTCTj0Nii7 70Bz5L4PHazwSbyzVrbIEBrnzYSM11CkRSIpe30O0lG1fi0pTD2inJs6NVGeVQ== X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 8B356240004; Fri, 9 Jun 2023 14:59:52 +0000 (UTC) From: Miquel Raynal To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Maxime Ripard , dri-devel@lists.freedesktop.org Subject: [PATCH 0/7] drm/panel: sitronix-st7789v: Support ET028013DMA panel Date: Fri, 9 Jun 2023 16:59:44 +0200 Message-Id: <20230609145951.853533-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Thomas Petazzoni , Miquel Raynal Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, The aim of this series is to add support for the EDT ET028013DMA panel. This panel features a Sitronix ST7789V2 LCD controller, which is already supported mainline (or very close to the ST7789V for which Maxime added support years ago). The EDT panel is slightly different on the geometry and appears not to support refresh rates higher than 30fps (above, glitches are visible, despite the incoming signals being rather clean). While I was working on this panel, I found quite inconvenient to not be able to read anything back as it is a great tool for debugging purposes. So the last patch actually adds a read helper and uses it to perform a sanity check at probe time by verifying the Sitronix controller IDs. If deemed irrelevant, this patch may be discarded. Thanks, Miquèl Miquel Raynal (7): drm/panel: sitronix-st7789v: Prevent core spi warnings drm/panel: sitronix-st7789v: Use 9 bits per spi word by default drm/panel: sitronix-st7789v: Specify the expected bus format drm/panel: sitronix-st7789v: Use platform data dt-bindings: display: st7789v: Add the edt,et028013dma panel compatible drm/panel: sitronix-st7789v: Add EDT ET028013DMA panel support drm/panel: sitronix-st7789v: Check display ID .../display/panel/sitronix,st7789v.yaml | 7 +- .../gpu/drm/panel/panel-sitronix-st7789v.c | 157 +++++++++++++++++- 2 files changed, 156 insertions(+), 8 deletions(-)