Message ID | 20230607115508.2964574-2-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 p6csp302181rwl; Wed, 7 Jun 2023 05:08:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hdVxnMLEe6GTFowwdPUUqtMBhxjk3g1P/jnIOF78G8t8sinoBtODDSxEJLDCbdYOQQxkU X-Received: by 2002:a05:6a00:99b:b0:655:6bcf:208a with SMTP id u27-20020a056a00099b00b006556bcf208amr6164727pfg.6.1686139715434; Wed, 07 Jun 2023 05:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686139715; cv=none; d=google.com; s=arc-20160816; b=ULC5NPkgmOmWhuPhGpzYWUeBLF7lcpnYd+7iP/F19Qsr5li4USQb8t1sNYebONcNwN 8JZ6KSY+stFkf/EvisbPIlIXEKF3DcV+RPsa8QRNaJXK43WpqEc2R7srOvBnvuCYnp7P 6htbVhO+rarLncWbk+sagepOjZvrm+fy+qEAQaYlznapGX6GPgqJcllet6Ny/+ZXdrnr 1tltWhmLFDwrxyIL2F/9X/G16YRpZZw6NH7A5UfZD/cqdHSJIf6zoap8sqKA4NeEGsDG n4M1j96qhyVH6T3U+dfGljUrVpA+6YjIs1IWh/BsF5dkmRf7Nref/sxmoogRtyRrxGhK AHVg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=csNqqZGNKHg7WVpRdNOyC7kyeP07jLWbHx5CAgP6Xzg=; b=U/VGgpQtGup/ik/ORHhhP/Uk+to1YQE96dj5st0x4gwdmToVw8k9DRSABf3GaX1sw5 Ze1CNnCIfeM2Ry/DSqc00cPOlbxTJMPLk0Exx/zIeduUO32+gSpf3OQpNN2DNyE+qVip whV1LLMykA5FKdYb3vlj3sN4vEyzrlmE8e/VKb7cjz1WSEJTDOlJA3FqVRHgTzmS1nwO jZ11OtA4c2jMGhqMPmw4ELwsu0CpGO8LJyxTu2vEUGXq0TuuPnuTNoOc1zWiE0xxzXVt k6K9Fp63O45Qqd3/Jwnykqj/gWkQ8zurW96YtIOj51IbfO5+PRrMXaiq2L4/eY+aNezX Dx3g== 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 w12-20020aa79a0c000000b006626454ef63si43130pfj.364.2023.06.07.05.08.21; Wed, 07 Jun 2023 05:08:35 -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 S239705AbjFGL46 (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 07:56:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239529AbjFGL4y (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 07:56:54 -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 918FF1BC7 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 04:56:53 -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 1q6rmN-00006J-O9; Wed, 07 Jun 2023 13:56:43 +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 1q6rmN-005jFg-2L; Wed, 07 Jun 2023 13:56:43 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q6rmM-00CSxV-4q; Wed, 07 Jun 2023 13:56:42 +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> Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/8] dt-bindings: display: panel: mipi-dbi-spi: add spi-3wire property Date: Wed, 7 Jun 2023 13:55:01 +0200 Message-Id: <20230607115508.2964574-2-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607115508.2964574-1-l.goehrs@pengutronix.de> References: <20230607115508.2964574-1-l.goehrs@pengutronix.de> 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?1768045638153382626?= X-GMAIL-MSGID: =?utf-8?q?1768045638153382626?= |
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
Some MIPI DBI panels support a three wire mode (clock, chip select,
bidirectional data) that can be used to ask the panel if it is already set
up by e.g. the bootloader and can thus skip the initialization.
This enables a flicker-free boot.
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
.../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 ++
1 file changed, 2 insertions(+)
Comments
On Wed, Jun 07, 2023 at 01:55:01PM +0200, Leonard Göhrs wrote: > Some MIPI DBI panels support a three wire mode (clock, chip select, > bidirectional data) that can be used to ask the panel if it is already set > up by e.g. the bootloader and can thus skip the initialization. > This enables a flicker-free boot. > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
On Wed, Jun 07, 2023 at 09:59:47PM +0200, Noralf Trønnes wrote: > > > On 6/7/23 13:55, Leonard Göhrs wrote: > > Some MIPI DBI panels support a three wire mode (clock, chip select, > > bidirectional data) that can be used to ask the panel if it is already set > > up by e.g. the bootloader and can thus skip the initialization. > > This enables a flicker-free boot. > > > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > > --- > > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 ++ > > 1 file changed, 2 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 c07da1a9e6288..2f0238b770eba 100644 > > --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > > +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > > @@ -87,6 +87,8 @@ properties: > > Logic level supply for interface signals (Vddi). > > No need to set if this is the same as power-supply. > > > > + spi-3wire: true > > + > > I don't think this should be added here. spi-cpha and spi-cpol are also > supported but they are not mentioned. Instead those are documented in > bindings/spi/spi-controller.yaml. Why they're not documented in > bindings/spi/spi-peripheral-props.yaml instead which this binding has a > ref to, I have no idea. spi-peripheral-props.yaml are properties of the controller in the peripheral nodes. spi-cpha and spi-cpol are properties of the device which are completely invalid on some devices. We can only check that by documenting where they are valid. I think spi-3wire is similar. There should be more explanation in the spi-peripheral-props.yaml commit history. Rob
On Wed, 07 Jun 2023 13:55:01 +0200, Leonard Göhrs wrote: > Some MIPI DBI panels support a three wire mode (clock, chip select, > bidirectional data) that can be used to ask the panel if it is already set > up by e.g. the bootloader and can thus skip the initialization. > This enables a flicker-free boot. > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > --- > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 ++ > 1 file changed, 2 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 c07da1a9e6288..2f0238b770eba 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml @@ -87,6 +87,8 @@ properties: Logic level supply for interface signals (Vddi). No need to set if this is the same as power-supply. + spi-3wire: true + required: - compatible - reg