Message ID | 20230422205012.2464933-1-sre@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1887323vqo; Sat, 22 Apr 2023 13:51:19 -0700 (PDT) X-Google-Smtp-Source: AKy350Y83F+wDBrm5w2311Xa4ZVi9yzQeDAFveiRRopOACx5A4lVN4i/dbZ8f49P28mZS9lOuV4R X-Received: by 2002:a17:90b:1906:b0:23d:54e8:3bb7 with SMTP id mp6-20020a17090b190600b0023d54e83bb7mr10983282pjb.17.1682196679103; Sat, 22 Apr 2023 13:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682196679; cv=none; d=google.com; s=arc-20160816; b=hFDEb481/Vj1L3EyYKrxih1omS0pcBPI422Njo7JPvtCfgFWfGyLRh1Sj3LWB3XQ/k 83VO0MtjeiEPTWn4dGDedUlWE3//J7VBW2W9AV+TJDXpo/2ovh9hasCjZNPvq3NMjpOG i86i8ezKTLOG7OsH2trfX6KXP9+mQ4wFjbKbVNZS5JpqPhr9iAn3AEgGZgVc4ElOGraW bBNzcR7VCFpSNu32kSZ5+buXaRiha0Jrmu04XtFYdIJowEQx+pTMXn5vah1oEmISUuhX +mDvVLUl5FWEKTI9Lbhk+KAyGN7fal8Fye/NgSdxvcPEOxmPC7dbHTPO4ua491H6YIor isHg== 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=8BFM30E//DsmYWSuCOcixcndmyNxxM+AUm93RIThdZI=; b=Pd1QoZPqufN6YDWf8CKx8Qg9VgJcm753SVUiTpvCre7cKDdXxOJS4IlOA56TCESlPv bwX7A50m+lXGEfQIz3q/TBygoK5uE2eHddmPqxWlF9gsZf9eyZoe/b6pMxFU9B8IKbeH oJ8vn8bdij3hbdIVSZypV45BbtzE6xGQvg8f0TIileCYvub7I5ZLsE7HLAbUxb29tWBD K/I789LzcTIO0fIIOJQt2M8MyQW3vOfzRrAAf+RLXikX+fjBxMyilip+Scjf8QPIyj5X U2AZQfwdETNERc0SQ7RZi9FDiVJk8z4dptnnVGpRQ7zgC+bLCQRB76O9XDlFR17t/R7+ 8buA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ukQ3ghS2; 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 a12-20020a17090a740c00b0024962ecab25si3637236pjg.49.2023.04.22.13.51.04; Sat, 22 Apr 2023 13:51:19 -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=ukQ3ghS2; 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 S229815AbjDVUuc (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Sat, 22 Apr 2023 16:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjDVUua (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 22 Apr 2023 16:50:30 -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 04B1C26AC; Sat, 22 Apr 2023 13:50:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 836A26141C; Sat, 22 Apr 2023 20:50:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADE25C433EF; Sat, 22 Apr 2023 20:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682196627; bh=bc966mPuHp6GXalMrFKC71SEtTQR845SWL1piWdHfRM=; h=From:To:Cc:Subject:Date:From; b=ukQ3ghS2bhWNPG+kTcJ4OQsFpLEBnGAsvMfE9Wv/HiOOCo3cDlLBxp4NxJLUFZfBD +ABayrKwFI4DaNErTFD2p49gvSGYkLQGFEFQI3L0XclQ5ZsegMTOdsDGXF1KnqmMp8 m/6A7IpyvoSBSOSwTBHYVz/kdL8iD6EUwBWvFrCwa0H2bIY12wKsfOyUWVgztVry3A BJhn/ElsydXFG/j9/vttsVVcPvwgdlVZic407vipfF/ZgL26NYQ05vyNvsHNElaALb Gl/ayClkk4cRwdvgRigGnQPUQgLU9dxnyLMH/z+jD7goCxgVV/H8WgY4MXBoHz0pVZ HLAof4xenMt0g== Received: by mercury (Postfix, from userid 1000) id 0939F1066CBD; Sat, 22 Apr 2023 22:50:25 +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>, 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 v2 00/13] Add Inanbo T28CP45TN89 panel support Date: Sat, 22 Apr 2023 22:49:59 +0200 Message-Id: <20230422205012.2464933-1-sre@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763911065023910573?= X-GMAIL-MSGID: =?utf-8?q?1763911065023910573?= |
Series |
Add Inanbo T28CP45TN89 panel support
|
|
Message
Sebastian Reichel
April 22, 2023, 8:49 p.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. 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 -- Sebastian 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 | 5 +- .../devicetree/bindings/vendor-prefixes.yaml | 2 + .../gpu/drm/panel/panel-sitronix-st7789v.c | 148 ++++++++++++++---- 3 files changed, 120 insertions(+), 35 deletions(-)
Comments
Hi Sebastian, + Thomas sre@kernel.org wrote on Sat, 22 Apr 2023 22:49:59 +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 haven't seen another version for this series so I assume it is still the one to look at. As you already know, I also want to add support for a panel based on the st7789 display controller. As discussed, I rebased my changes on top of yours as you actually sent them upstream much earlier than I did. As a single minor comment was made to this version of the series, I would like to know if you wanted to send a new version soon? Or if it would make sense to send a bigger series with all our common patches in one single shot (mine should apply cleanly without further work on yours). Let me know how we can move forward. For the record, here are my patches. Link: https://lore.kernel.org/all/20230619155958.3119181-1-miquel.raynal@bootlin.com/ Thanks a lot, Miquèl > > 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 > > -- Sebastian > > 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 | 5 +- > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > .../gpu/drm/panel/panel-sitronix-st7789v.c | 148 ++++++++++++++---- > 3 files changed, 120 insertions(+), 35 deletions(-) >