From patchwork Wed Mar 11 16:33:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 11432213 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B7D41392 for ; Wed, 11 Mar 2020 16:34:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 388552072F for ; Wed, 11 Mar 2020 16:34:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uESV+V7L"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=aosc.io header.i=@aosc.io header.b="qBfqYufK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 388552072F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aosc.io Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ve+Dt46htg9y6GM1QXE7kIUkEyf6erXI1PPOh7Yri6A=; b=uESV+V7LV7p6Vg 6/4y7qEu0Pajq9ICiJslY387QepzQqAjXiZnPbCAA14Ict0H9uvIxS6sZP+P2kox1ZoqvD/FOtM/u osbuR4hSQEj1xAlI1DeGBxas6jfsL4MyIxDTBb37smpUbai/2lnDAi1GUJAQkMjSIQbi8kW/o1hSv yu6XwLeOIpCOPJf6kx05DEMBD+ge5UbjKWQ8U9qYJWUR8nMV/X4f0GmzGJXIElQYhafVI+3VCZ01x 3lNgcz6Ex5MpFnIkD7xPOpOIpi2fb0XvqmrvBNnk3Ow4zgroISOkkImdqD1ciM+TF7F7To4ycxtcU Tg+sEDER5qT7v5gjY0tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC4JI-0003nv-OE; Wed, 11 Mar 2020 16:34:20 +0000 Received: from dodo.xh.is ([2001:19f0:8001:184d:5400:2ff:fe7b:e8bd]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC4J6-0003cB-Ek for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2020 16:34:10 +0000 X-Spam: yes X-Spam-Score: 6.6 / 99999 X-Spam-Symbols: ARC_NA, RCVD_VIA_SMTP_AUTH, FROM_HAS_DN, R_MISSING_CHARSET, MIME_TRACE, RCVD_NO_TLS_LAST, FROM_EQ_ENVFROM, ASN, TO_DN_SOME, BROKEN_CONTENT_TYPE, FREEMAIL_TO, RCVD_COUNT_TWO, SUSPICIOUS_RECIPS, FREEMAIL_ENVRCPT, TAGGED_RCPT, TO_MATCH_ENVRCPT_SOME, MID_CONTAINS_FROM, RCPT_COUNT_TWELVE Received: by dodo.xh.is (OpenSMTPD) with ESMTPSA id b6d436e9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 11 Mar 2020 09:34:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id B66154C335; Wed, 11 Mar 2020 16:34:01 +0000 (UTC) From: Icenowy Zheng To: Thierry Reding , Sam Ravnborg , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Ondrej Jirman Subject: [PATCH 2/5] dt-bindings: panel: add binding for Xingbangda XBD599 panel Date: Thu, 12 Mar 2020 00:33:26 +0800 Message-Id: <20200311163329.221840-3-icenowy@aosc.io> In-Reply-To: <20200311163329.221840-1-icenowy@aosc.io> References: <20200311163329.221840-1-icenowy@aosc.io> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.io; s=dkim; t=1583944446; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=ryOGBJbE0EZPCIwKdiVXZpn09MvjjBMYu9MRV2Z6xEo=; b=qBfqYufKA6WV46oKBRByMkVugBf2lR8zLWOu+gI3ucJ2ZoooPNStJsI4kXFwa+wkIK8fU4 IH13K/0pI3/zED0kFD9w9Zl7ECGOT4cTZuaC0wIb6x5cNXtJxtadldZwqY5EdcsLp1vp8Z milTs2CU64tt69l7ntjJEU5gha8ieWc= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_093408_543114_C1220F94 X-CRM114-Status: GOOD ( 12.25 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:19f0:8001:184d:5400:2ff:fe7b:e8bd listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Icenowy Zheng Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. Add its device tree binding. Signed-off-by: Icenowy Zheng --- .../display/panel/xingbangda,xbd599.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml diff --git a/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml b/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml new file mode 100644 index 000000000000..62816b34de31 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/xingbangda,xbd599.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xingbangda XBD599 5.99in MIPI-DSI LCD panel + +maintainers: + - Icenowy Zheng + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: xingbangda,xbd599 + reg: true + backlight: true + reset-gpios: true + vcc-supply: + description: regulator that supplies the VCC voltage + iovcc-supply: + description: regulator that supplies the IOVCC voltage + +required: + - compatible + - reg + - backlight + - vcc-supply + - iovcc-supply + +additionalProperties: false + +examples: + - | + &dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "xingbangda,xbd599"; + reg = <0>; + backlight = <&backlight>; + iovcc-supply = <®_dldo2>; + vcc-supply = <®_ldo_io0>; + }; + }; + +...