Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp832456ybk; Wed, 13 May 2020 14:27:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyifCTCKOpHIRtYpn/fM5fOCHDIoiPm+RYLHe3eBj0mI2Xy22ljqKCXr1UujkmwPiyj4Scd X-Received: by 2002:a17:906:3952:: with SMTP id g18mr960703eje.191.1589405240503; Wed, 13 May 2020 14:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589405240; cv=none; d=google.com; s=arc-20160816; b=ENSuAppt9MzONZ8Fh08B4uMJfIZL50z7N1dHpklMgnJh75KfMlSBVM5iB2mpTHeunx QAlvEEkIuJTp+fetLJUD0rbBGMCvYP6o3njENEBIeZtNYwJyKprsRI7HNVE0aIZ+/1Ws oJ+Mazvjduz0ehOgZTW30Su8vLjQCu9KHQQQjOGHcOuqBshhFli/Hw914ETMPZA0nhr1 2B3/F4M6VYz1Pl/26vCzir/Ziy+04PF7pOMSN6UaMDEJf84HPtP0KqtbTHWa6J39aV8f frzjG3szsoGW4bnN7eo4eZ2cQiGUDjm57NKdGYWdEmcim6VEnJa1QM+KfO1e9mI10zAN 942g== 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=GWgEal1/Tv5GBlkS24WpKTmVp4SiyFbbcMe5jZw/xZM=; b=qEB2995zXWYaQZl/kGZs8BByYiogVL0NI6RiE+SAxHJDbtxIraS+ywEZV/K1oShSDm ITMOmemrvA2/FaSQ1Fi2jVxDMPwem3H3ZSANRu1D/ZRwIkfhcw7011S2lw+MPzEwTWaM bA3+k4D2fG+XHbhNMUnpP1wGNivYBaQk0kklj9zIpge+15tEkui4PtsKuvxcBKtDsofg uGa7Coy7ZTzzd1f6a0iuE3oQ9cl4sms0JxHhVgrBFlZsfKkUDmFi2AI/BNqVCabS2qy6 0wFmpjO6BrjPLgXOsqbLARQLho7BY9Mde3NjIGwWqtgyT7/nhtZGuREiB0y7DQpAyip9 HEBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=NRRp3FXF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si498312edk.160.2020.05.13.14.26.57; Wed, 13 May 2020 14:27:20 -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=pass header.i=@megous.com header.s=mail header.b=NRRp3FXF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728954AbgEMVY7 (ORCPT + 99 others); Wed, 13 May 2020 17:24:59 -0400 Received: from vps.xff.cz ([195.181.215.36]:33780 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728692AbgEMVY5 (ORCPT ); Wed, 13 May 2020 17:24:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1589405095; bh=gvSRm0rmQ7W+MSQqWiSzV31k3+eFDx+2BX8HfaNKv+o=; h=From:To:Cc:Subject:Date:References:From; b=NRRp3FXFRr6+JDPCv93mEyKR4cWbL4cCSQmwvGLKLoduDFsYwh1vOTtJUq0XlbHm+ Zg6KGIJ9ii8UQlUxsPRjV89ludJxM3Sv3jaQNfrMN5F/XTQ7UqrAcorWf9Ptjg887M QOnxFZhPb5rKTwnEdCHYBtin7lFc72rVfcSRPGu8= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Icenowy Zheng Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah , Ondrej Jirman Subject: [PATCH v3 2/5] dt-bindings: panel: Add binding for Xingbangda XBD599 panel Date: Wed, 13 May 2020 23:24:48 +0200 Message-Id: <20200513212451.1919013-3-megous@megous.com> In-Reply-To: <20200513212451.1919013-1-megous@megous.com> References: <20200513212451.1919013-1-megous@megous.com> 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 From: Icenowy Zheng Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. It is based on Sitronix ST7703 LCD controller. Add its device tree binding. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman --- .../display/panel/sitronix,st7703.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7703.yaml diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7703.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7703.yaml new file mode 100644 index 000000000000..6e1606db4ab4 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7703.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sitronix,st7703.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sitronix ST7703 MIPI DSI panel + +maintainers: + - Icenowy Zheng + - Ondrej Jirman + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - xingbangda,xbd599 + - const: sitronix,st7703 + + reg: + description: DSI virtual channel used by that screen + maxItems: 1 + + vcc-supply: + description: regulator that supplies the VCC voltage + + iovcc-supply: + description: regulator that supplies the IOVCC voltage + + reset-gpios: true + + backlight: true + +required: + - compatible + - reg + - vcc-supply + - iovcc-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "xingbangda,xbd599", "sitronix,st7703"; + reg = <0>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + iovcc-supply = <®_dldo2>; + vcc-supply = <®_ldo_io0>; + backlight = <&backlight>; + }; + }; + -- 2.26.2