Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp5060710pjb; Mon, 27 Jul 2020 11:54:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU1MfJBtKQGqIVkwYmqR9PhRvTrnvH44zELifdmvhgo88PNdSGOYWzALondKRDxHPshsgW X-Received: by 2002:a17:906:bcc4:: with SMTP id lw4mr11636668ejb.361.1595876076540; Mon, 27 Jul 2020 11:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595876076; cv=none; d=google.com; s=arc-20160816; b=LZK9I+X78YyIU679rId8j63SpzgTOpelDeXrwmdpCIbxF/c7qHyOPFbZfhYddjbJzb 9PMvjlw+EJv2iwar+q26KfZqhP9aa+MBiCsL4xbK9UYrEjMlxjqOMVIH+mgnGulSXzW9 vlcsB9yYq/xp2wf7GTuPFh6uAxBRKthWrSvHUUGX8rC/aR332u8ykBo1Sb8bt05tn1j5 yWDLDZeQG8eY3EK2+9QylZ+O3LMpJ9PysrvmqlmkgnDFWgQs08YjcaIQBeJbwoZqCUuw XgNvfd3Vf36IqXxdoZnz5FuxTa2z8JUQ0Jjp0ziHC386PaLu8dRpCy4BQHBqtTjxUvSN jkng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mA0DRhoXYfyoP4lmizj2glYU71M+JBHynLFFki0MJG8=; b=t5MjqyT+RZzPFATGmTC55QowxxVlqZgbBsDtIE6jpCRxZTgGGRKZhQMLBhTVC9vWHt Qlv42rEWj7ulpYwEND32PMwo+KhKELaoUXbpjcaCPxHlNdcAApCll2915lPeyzbmhz6O 94IKvNsqDWodJTXtnx34OX5pCYJDqpnEmH/EvVU+J8u2pd62fqLUtrVZ4+e9ZWyEJXDk I/jd6NbOV1cz8SUb3TjHSdDnF672AJJFyC1AN8VsSSO5lgxcdvGW7rukAptItovQVrsJ wgD7spHieFgIGDeg2EFk8G1rMFhz+6nuuL/CBslOY+yBfjwfXo6SwSYgBL3lnXhNE/A2 WPgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=XIm9XgIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si6103711eds.213.2020.07.27.11.54.14; Mon, 27 Jul 2020 11:54:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=XIm9XgIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728580AbgG0Qqi (ORCPT + 99 others); Mon, 27 Jul 2020 12:46:38 -0400 Received: from crapouillou.net ([89.234.176.41]:36810 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbgG0Qqi (ORCPT ); Mon, 27 Jul 2020 12:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1595868389; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mA0DRhoXYfyoP4lmizj2glYU71M+JBHynLFFki0MJG8=; b=XIm9XgIArDbF4XmISOig7RvqAcx2s2zsdQ/st5sKUc3lnzQLwZGgWB2dnrlViJ29MyFxjH 5++A+qejU3P8LvWhrRnc1te9rNuHOWdv4oO1kS01RJ137rB8EVNyTYPnqe+bEkzlOkgHez D2mA/+gq9Eovh2JDYJochFF/yY3rK0k= From: Paul Cercueil To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Cc: od@zcrc.me, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 1/6] dt-bindings: display: Document NewVision NV3052C DT node Date: Mon, 27 Jul 2020 18:46:08 +0200 Message-Id: <20200727164613.19744-2-paul@crapouillou.net> In-Reply-To: <20200727164613.19744-1-paul@crapouillou.net> References: <20200727164613.19744-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for the Device Tree node for LCD panels based on the NewVision NV3052C controller. Signed-off-by: Paul Cercueil --- .../display/panel/newvision,nv3052c.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/newvision,nv3052c.yaml diff --git a/Documentation/devicetree/bindings/display/panel/newvision,nv3052c.yaml b/Documentation/devicetree/bindings/display/panel/newvision,nv3052c.yaml new file mode 100644 index 000000000000..751a28800fc2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/newvision,nv3052c.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/newvision,nv3052c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NewVision NV3052C TFT LCD panel driver with SPI control bus + +maintainers: + - Paul Cercueil + +description: | + This is a driver for 320x240 TFT panels, accepting a variety of input + streams that get adapted and scaled to the panel. The panel output has + 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and + VCOMH outputs. + + The panel must obey the rules for a SPI slave device as specified in + spi/spi-controller.yaml + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - leadtek,ltk035c5444t-spi + + - const: newvision,nv3052c + + reg: + maxItems: 1 + + reset-gpios: true + port: true + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + display@0 { + compatible = "leadtek,ltk035c5444t-spi", "newvision,nv3052c"; + reg = <0>; + + spi-max-frequency = <15000000>; + spi-3wire; + reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + power-supply = <&vcc>; + + port { + panel_input: endpoint { + remote-endpoint = <&panel_output>; + }; + }; + }; + }; + +... -- 2.27.0