Message ID | 20230714013756.1546769-1-sre@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2210586vqm; Thu, 13 Jul 2023 18:53:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9XVIBZ83pJU1SQLeoHW/mnjUqtPZkFksMBzF4bmb0/cC+9dxmeGYN47eAPuK0w80i9epR X-Received: by 2002:a5d:58e3:0:b0:314:4473:5bad with SMTP id f3-20020a5d58e3000000b0031444735badmr3424143wrd.65.1689299630946; Thu, 13 Jul 2023 18:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689299630; cv=none; d=google.com; s=arc-20160816; b=ridsy5mh/mBLqKCTkf7qaw/53lCBYGEIIToJrA/S2jE8yJ+8GTV+qYHOdfV6RHzvTA 2P8uAgyuhmZPQIuznzKEnbpXbASbdRDbP9E3mlTRInx3J4GmIq8k1EGwpS0FSFjAtuCS KTXEz/HWw4LvKrbInXp04K6RKRdZ8S1S14GBWBA8ZnUrxKzWIEp2inJKlOg0NTRxeGOB AdaaLTeRwOGSEKn5y/zVEhP0EGC0LUvL6HC2xuwFeGrcfzCufyG1lO5W4+VLnFbINftC rZ7X9cFuD9rgQRNZt78ZBXKddy2+MeTtckYmW8CN8owrb7UwxY8nKQ3oOh5dYOK91G8W 1i4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qxTd8GGFu3OYkc2XVlC5+9v++7biOqJh/ghA+PW7crU=; fh=qGUBn30YJyENtYt8Bk1+br1osKcezKO+AP/l3XKcoBs=; b=f563/UYMdRlND/CnIqUo58KBWn8vn8olH1ECWs9V4FAnSzp8ljgjzR4fwIIPJUE1tx 2u0Cit1y9S9yWwlRXD3IzMjeASCGv5rozD1qmcO1eN+gchqaTGFhS3SHuAVH9Bt7S+s9 ba3aZfGNRKZg1bwY2uiwnOv9ws6fuKKubIvhBUWmrp5rGi+SupECZpE1AudZcEgyJX+s PUdi1GPumYmJoIPAtg/5OysIkGclVXdEj/dTAQB0EayIVieT9zLSfPdZcOE+c/KdKmDR 06ZgElT1x469UoSNoe9A1URYyhkt1CaT18OhqBZcbPtoVf/xhf02usrvSlM1NegnGt5/ 0TlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iBXhPgcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020aa7de02000000b0051a52a48ed4si8357035edv.156.2023.07.13.18.53.24; Thu, 13 Jul 2023 18:53:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iBXhPgcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233674AbjGNBiJ (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Thu, 13 Jul 2023 21:38:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233535AbjGNBiE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Jul 2023 21:38:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48C142D64; Thu, 13 Jul 2023 18:38:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8CD6C61BBA; Fri, 14 Jul 2023 01:38:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF2F5C433CC; Fri, 14 Jul 2023 01:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689298681; bh=9TI9J6mC1lCJpPc8yugRRuczYXnteaBnSfpK07oP/rw=; h=From:To:Cc:Subject:Date:From; b=iBXhPgcriMJ1+XItROFvnpDxNjY1K+s4THIVfK4o36kH1expG9OZZ+RQMu0ZVMj7n XHOhNIvHHsRas+cnh0my5HI0IfnuuRNH6CYaMa9A6J20I7JThbvU3W//+IgxVXibOY 6Kd4G1xAoma53alLiT6jIYw+OKzpBrHMiTvIBEV+r859L+UCwqhTJXPn1Ob5MUAlXF zIf3oUR8N5Rl7t/1QZKKC/70m6WY2Pc729Dy5TUR0zovKYd2+cxLFxBjfSvmszeOD2 dfpYGMEraP9W1feXMVfyypVUjTudO3JvPhP97zMZemX7af7feuhNOMXuL/TiCD0fPm eIw+QTEWuGQXw== Received: by mercury (Postfix, from userid 1000) id C9628106766D; Fri, 14 Jul 2023 03:37:58 +0200 (CEST) From: Sebastian Reichel <sre@kernel.org> To: Sebastian Reichel <sre@kernel.org> Cc: Gerald Loacker <gerald.loacker@wolfvision.net>, Michael Riesch <michael.riesch@wolfvision.net>, Miquel Raynal <miquel.raynal@bootlin.com>, Thierry Reding <thierry.reding@gmail.com>, Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 00/19] Sitronix ST7789V improvements Date: Fri, 14 Jul 2023 03:37:37 +0200 Message-Id: <20230714013756.1546769-1-sre@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771359049554907978 X-GMAIL-MSGID: 1771359049554907978 |
Series |
Sitronix ST7789V improvements
|
|
Message
Sebastian Reichel
July 14, 2023, 1:37 a.m. UTC
Hi, This adds panel support for Inanbo T28CP45TN89, which I found inside of a handheld thermal camera. The panel is based on the st7789v controller. All information is based on reverse engineering. I also appended the series from Miquel Raynal adding EDT ET028013DMA panel support, so that I could easily test it with my SPI_NO_RX setup. They are slightly different due to rebasing. Changes since PATCHv2: * https://lore.kernel.org/all/20230422205012.2464933-1-sre@kernel.org/ * https://lore.kernel.org/all/20230616163255.2804163-1-miquel.raynal@bootlin.com/ * Add Rob Herring's R-b for the DT binding * Make panel info "static const" * Add Michael Riesch's R-b to all my patches * Rebase to 6.5-rc1 * Append Miquel's series Changes since PATCHv1: * https://lore.kernel.org/all/20230317232355.1554980-1-sre@kernel.org/ * Apply DT binding changes requested by Krzysztof Kozlowski and his Ack * I changed the driver patches to avoid code duplication and splitted the code a bit more Greetings, -- Sebastian Miquel Raynal (6): dt-bindings: display: st7789v: Add the edt,et028013dma panel compatible dt-bindings: display: st7789v: bound the number of Rx data lines drm/panel: sitronix-st7789v: Use 9 bits per spi word by default drm/panel: sitronix-st7789v: Clarify a definition drm/panel: sitronix-st7789v: Add EDT ET028013DMA panel support drm/panel: sitronix-st7789v: Check display ID Sebastian Reichel (13): dt-bindings: vendor-prefixes: add Inanbo dt-bindings: display: st7789v: add Inanbo T28CP45TN89 drm/panel: sitronix-st7789v: add SPI ID table drm/panel: sitronix-st7789v: remove unused constants drm/panel: sitronix-st7789v: make reset GPIO optional drm/panel: sitronix-st7789v: simplify st7789v_spi_write drm/panel: sitronix-st7789v: improve error handling drm/panel: sitronix-st7789v: avoid hardcoding mode info drm/panel: sitronix-st7789v: avoid hardcoding panel size drm/panel: sitronix-st7789v: add media bus format drm/panel: sitronix-st7789v: avoid hardcoding invert mode drm/panel: sitronix-st7789v: avoid hardcoding polarity info drm/panel: sitronix-st7789v: add Inanbo T28CP45TN89 support .../display/panel/sitronix,st7789v.yaml | 10 +- .../devicetree/bindings/vendor-prefixes.yaml | 2 + .../gpu/drm/panel/panel-sitronix-st7789v.c | 262 +++++++++++++++--- 3 files changed, 237 insertions(+), 37 deletions(-)
Comments
Hi Sebastian, + Thomas sre@kernel.org wrote on Fri, 14 Jul 2023 03:37:37 +0200: > Hi, > > This adds panel support for Inanbo T28CP45TN89, which I found inside of a > handheld thermal camera. The panel is based on the st7789v controller. All > information is based on reverse engineering. I also appended the series > from Miquel Raynal adding EDT ET028013DMA panel support, so that I could > easily test it with my SPI_NO_RX setup. They are slightly different due > to rebasing. Thanks a lot! I'll continue following the series and provide my help when required. Cheers, Miquèl > > Changes since PATCHv2: > * https://lore.kernel.org/all/20230422205012.2464933-1-sre@kernel.org/ > * https://lore.kernel.org/all/20230616163255.2804163-1-miquel.raynal@bootlin.com/ > * Add Rob Herring's R-b for the DT binding > * Make panel info "static const" > * Add Michael Riesch's R-b to all my patches > * Rebase to 6.5-rc1 > * Append Miquel's series > > Changes since PATCHv1: > * https://lore.kernel.org/all/20230317232355.1554980-1-sre@kernel.org/ > * Apply DT binding changes requested by Krzysztof Kozlowski and his Ack > * I changed the driver patches to avoid code duplication and splitted > the code a bit more > > Greetings, > > -- Sebastian > > Miquel Raynal (6): > dt-bindings: display: st7789v: Add the edt,et028013dma panel > compatible > dt-bindings: display: st7789v: bound the number of Rx data lines > drm/panel: sitronix-st7789v: Use 9 bits per spi word by default > drm/panel: sitronix-st7789v: Clarify a definition > drm/panel: sitronix-st7789v: Add EDT ET028013DMA panel support > drm/panel: sitronix-st7789v: Check display ID > > Sebastian Reichel (13): > dt-bindings: vendor-prefixes: add Inanbo > dt-bindings: display: st7789v: add Inanbo T28CP45TN89 > drm/panel: sitronix-st7789v: add SPI ID table > drm/panel: sitronix-st7789v: remove unused constants > drm/panel: sitronix-st7789v: make reset GPIO optional > drm/panel: sitronix-st7789v: simplify st7789v_spi_write > drm/panel: sitronix-st7789v: improve error handling > drm/panel: sitronix-st7789v: avoid hardcoding mode info > drm/panel: sitronix-st7789v: avoid hardcoding panel size > drm/panel: sitronix-st7789v: add media bus format > drm/panel: sitronix-st7789v: avoid hardcoding invert mode > drm/panel: sitronix-st7789v: avoid hardcoding polarity info > drm/panel: sitronix-st7789v: add Inanbo T28CP45TN89 support > > .../display/panel/sitronix,st7789v.yaml | 10 +- > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > .../gpu/drm/panel/panel-sitronix-st7789v.c | 262 +++++++++++++++--- > 3 files changed, 237 insertions(+), 37 deletions(-) >
Hi, On Fri, 14 Jul 2023 03:37:37 +0200, Sebastian Reichel wrote: > This adds panel support for Inanbo T28CP45TN89, which I found inside of a > handheld thermal camera. The panel is based on the st7789v controller. All > information is based on reverse engineering. I also appended the series > from Miquel Raynal adding EDT ET028013DMA panel support, so that I could > easily test it with my SPI_NO_RX setup. They are slightly different due > to rebasing. > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [01/19] dt-bindings: vendor-prefixes: add Inanbo https://cgit.freedesktop.org/drm/drm-misc/commit/?id=b93e0e203e27492a2277169e05ac59afb9bf7fcd [02/19] dt-bindings: display: st7789v: add Inanbo T28CP45TN89 https://cgit.freedesktop.org/drm/drm-misc/commit/?id=ff984a81cf601a68ba99a9c3264145f4d931783d [03/19] drm/panel: sitronix-st7789v: add SPI ID table https://cgit.freedesktop.org/drm/drm-misc/commit/?id=11649154ec46f1c7f7c58bac22e2c5927ca6b6a2 [04/19] drm/panel: sitronix-st7789v: remove unused constants https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c2974f43b1237e0c985760156bc3ca4dccbb5243 [05/19] drm/panel: sitronix-st7789v: make reset GPIO optional https://cgit.freedesktop.org/drm/drm-misc/commit/?id=b6b65e45e09a2e940e48722fa0bfdf16e6f4edf8 [06/19] drm/panel: sitronix-st7789v: simplify st7789v_spi_write https://cgit.freedesktop.org/drm/drm-misc/commit/?id=fbad26dcb657830e59ba2ca5eaba6be0019b97f9 [07/19] drm/panel: sitronix-st7789v: improve error handling https://cgit.freedesktop.org/drm/drm-misc/commit/?id=bc2aa99b2306bc9d91586bc9187bfef4e61d3882 [08/19] drm/panel: sitronix-st7789v: avoid hardcoding mode info https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9b4454fa2528c617b5986517c9c73e50e30d237d [09/19] drm/panel: sitronix-st7789v: avoid hardcoding panel size https://cgit.freedesktop.org/drm/drm-misc/commit/?id=4098d1867f27de2443c33e116b064ad3082aecb9 [10/19] drm/panel: sitronix-st7789v: add media bus format https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a4b563b1d19dea9de366f81cae6342d80b663a45 [11/19] drm/panel: sitronix-st7789v: avoid hardcoding invert mode https://cgit.freedesktop.org/drm/drm-misc/commit/?id=7a6288726cf6bc0fa1bca0f24922a06425b84bf1 [12/19] drm/panel: sitronix-st7789v: avoid hardcoding polarity info https://cgit.freedesktop.org/drm/drm-misc/commit/?id=e4572f99f8a7dfd8a081c9135943ab82abe6f692 [13/19] drm/panel: sitronix-st7789v: add Inanbo T28CP45TN89 support https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a411558cc14309073616e72d259083602585b296 [14/19] dt-bindings: display: st7789v: Add the edt,et028013dma panel compatible https://cgit.freedesktop.org/drm/drm-misc/commit/?id=893cfba7c56aa3fed34935b6fbc14a008c3b8172 [15/19] dt-bindings: display: st7789v: bound the number of Rx data lines https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9943981aa3ab7841186827fce2177279c766b6df [16/19] drm/panel: sitronix-st7789v: Use 9 bits per spi word by default https://cgit.freedesktop.org/drm/drm-misc/commit/?id=6b00e72e4bee08048379a6365251b195b8a946d1 [17/19] drm/panel: sitronix-st7789v: Clarify a definition https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a368b40836e7fc4f24dbb0fcfb9dedcde1dcaa38 [18/19] drm/panel: sitronix-st7789v: Add EDT ET028013DMA panel support https://cgit.freedesktop.org/drm/drm-misc/commit/?id=71f739082160b5e4def3a7083dc25583cc195d04 [19/19] drm/panel: sitronix-st7789v: Check display ID https://cgit.freedesktop.org/drm/drm-misc/commit/?id=290cdd7959a734a0ef20ec096af7810177c4b9f8