[v1,1/8] dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible
Message ID | 20230607115508.2964574-1-l.goehrs@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp295468rwl; Wed, 7 Jun 2023 05:00:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qUtQf0HYxbtb33NB4suF6/G51C6YCThYjN6cUr0jyHQMc2ajBrKCJPxPejECzPrq3M3Uv X-Received: by 2002:a17:90a:d48b:b0:253:927d:6a36 with SMTP id s11-20020a17090ad48b00b00253927d6a36mr1793207pju.18.1686139250507; Wed, 07 Jun 2023 05:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686139250; cv=none; d=google.com; s=arc-20160816; b=lqsQb5betvIfycQO/yha0RD36yzlUOrl4fVyT+cnYhyym8Bm2qShnG3zmY90F14LgM kpFtE5BCRSRSW14xz5EwN/IN2y5co2Jt3LvWAUOe9565vAI85My4T8al2xaQoWMpGN7g Hr9vZvLoPzDdOTU5VX9q/NEbWMmlUGGYOubYhXL/EvJAxMt/V3sQLqGFmHEl+Qwc2KNH UgOXOdEU5xTf9O0mDkZftm5l3v4R0iEjQU6Hnw0Pf1lK24ODgNxK45HCAslBLQivCqVW a21j380oelo8ZJlEh19J6U25xouZI0ZJLm4Mf7FFi0ecBsxcQSysbfRWdfd/QBMM3VbB E9jA== 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; bh=iQAd7zAJjW+UIF5juAc1VXbeSt9nhvtbDpg6/ZPzAZw=; b=mhWSP7MY+te1Da0NAHTvgiFEL3WtG4VojFxpj7suI/XQ39ABqAclmM6JCnV/Ubi9gC eNOUS3hbhVDziU6GNB8IpGjfN9C00k1yBw1c995I8MASd53wnILVhCHOkSvk/hvG2LaJ oDqioY6r2Eibf+kFPux27mAe0YdBHYMHc6uRuCn9+SwUP2s5OemeQIugXXKGBM+Fp2eb 6xplCJGFDKYbizQkDSBOk3ykmDuLxs4VOacIiDnY+hYoqd5oPHXdf8g6W2h94LOspdeN 4vmbm/9TzT7ylYE8srjL4phOjPyJACaNxycS3WHfpt23ZPvAWAv1HbLTetzyLhGzogIy /3gA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020a17090a470e00b00250a4d72bc9si981021pjg.108.2023.06.07.05.00.27; Wed, 07 Jun 2023 05:00: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239001AbjFGL4x (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 07:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238698AbjFGL4v (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 07:56:51 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A57D71BD4 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 04:56:48 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <lgo@pengutronix.de>) id 1q6rm8-0008S2-31; Wed, 07 Jun 2023 13:56:28 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q6rm6-005jFb-JT; Wed, 07 Jun 2023 13:56:26 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q6rm5-00CStO-ML; Wed, 07 Jun 2023 13:56:25 +0200 From: =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de> To: =?utf-8?q?Noralf_Tr=C3=B8nnes?= <noralf@tronnes.org>, Neil Armstrong <neil.armstrong@linaro.org>, 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>, Conor Dooley <conor+dt@kernel.org> Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/8] dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible Date: Wed, 7 Jun 2023 13:55:00 +0200 Message-Id: <20230607115508.2964574-1-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: lgo@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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?1768045150828235336?= X-GMAIL-MSGID: =?utf-8?q?1768045150828235336?= |
Series |
[v1,1/8] dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible
|
|
Commit Message
Leonard Göhrs
June 7, 2023, 11:55 a.m. UTC
The Shineworld LH133K is a 1.3" 240x240px RGB LCD with a MIPI DBI
compatible SPI interface.
The initialization procedure is quite basic with the exception of
requiring inverted colors.
A basic mipi-dbi-cmd[1] script to get the display running thus looks
like this:
$ cat shineworld,lh133k.txt
command 0x11 # exit sleep mode
delay 120
# The display seems to require display color inversion, so enable it.
command 0x21 # INVON
# Enable normal display mode (in contrast to partial display mode).
command 0x13 # NORON
command 0x29 # MIPI_DCS_SET_DISPLAY_ON
$ mipi-dbi-cmd shineworld,lh133k.bin shineworld,lh133k.txt
[1]: https://github.com/notro/panel-mipi-dbi
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
.../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 1 +
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
2 files changed, 3 insertions(+)
base-commit: 9561de3a55bed6bdd44a12820ba81ec416e705a7
Comments
On Wed, Jun 07, 2023 at 01:55:00PM +0200, Leonard Göhrs wrote: > The Shineworld LH133K is a 1.3" 240x240px RGB LCD with a MIPI DBI > compatible SPI interface. > The initialization procedure is quite basic with the exception of > requiring inverted colors. > A basic mipi-dbi-cmd[1] script to get the display running thus looks > like this: > > $ cat shineworld,lh133k.txt > command 0x11 # exit sleep mode > delay 120 > > # The display seems to require display color inversion, so enable it. > command 0x21 # INVON > > # Enable normal display mode (in contrast to partial display mode). > command 0x13 # NORON > command 0x29 # MIPI_DCS_SET_DISPLAY_ON > > $ mipi-dbi-cmd shineworld,lh133k.bin shineworld,lh133k.txt > > [1]: https://github.com/notro/panel-mipi-dbi > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > --- > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 1 + > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > index 9b701df5e9d28..c07da1a9e6288 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > @@ -67,6 +67,7 @@ properties: > items: > - enum: > - sainsmart18 > + - shineworld,lh133k > - const: panel-mipi-dbi-spi > > write-only: > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml > index 82d39ab0231b0..b0afa421bc4a5 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > @@ -1189,6 +1189,8 @@ patternProperties: > description: SHIFT GmbH > "^shimafuji,.*": > description: Shimafuji Electric, Inc. > + "^shineworld,.*": > + description: ShineWorld Innovations > "^shiratech,.*": > description: Shiratech Solutions > "^si-en,.*": AFAIU, these are supposed to be split into separate patches. Otherwise, Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
On Wed, 07 Jun 2023 13:55:00 +0200, Leonard Göhrs wrote: > The Shineworld LH133K is a 1.3" 240x240px RGB LCD with a MIPI DBI > compatible SPI interface. > The initialization procedure is quite basic with the exception of > requiring inverted colors. > A basic mipi-dbi-cmd[1] script to get the display running thus looks > like this: > > $ cat shineworld,lh133k.txt > command 0x11 # exit sleep mode > delay 120 > > # The display seems to require display color inversion, so enable it. > command 0x21 # INVON > > # Enable normal display mode (in contrast to partial display mode). > command 0x13 # NORON > command 0x29 # MIPI_DCS_SET_DISPLAY_ON > > $ mipi-dbi-cmd shineworld,lh133k.bin shineworld,lh133k.txt > > [1]: https://github.com/notro/panel-mipi-dbi > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > --- > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 1 + > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 2 files changed, 3 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml index 9b701df5e9d28..c07da1a9e6288 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml @@ -67,6 +67,7 @@ properties: items: - enum: - sainsmart18 + - shineworld,lh133k - const: panel-mipi-dbi-spi write-only: diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 82d39ab0231b0..b0afa421bc4a5 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1189,6 +1189,8 @@ patternProperties: description: SHIFT GmbH "^shimafuji,.*": description: Shimafuji Electric, Inc. + "^shineworld,.*": + description: ShineWorld Innovations "^shiratech,.*": description: Shiratech Solutions "^si-en,.*":