Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp93062ybt; Tue, 16 Jun 2020 17:36:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5m/tfRhWP/rMpLRAkbZC5EarqrxK8Tz5QifR29a/bFCq5nGPC49n86B4+SLuaKf1PF47U X-Received: by 2002:a17:906:22da:: with SMTP id q26mr4982984eja.256.1592354218919; Tue, 16 Jun 2020 17:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592354218; cv=none; d=google.com; s=arc-20160816; b=v3H0AW5pyRe/ahGm6B1RisUGZhItf5jab6YFmB14te/b6+9fLZWhdsEseOwNjcd1Nx 3WGmRY9f58xeCEr2tJoeIpOjzYY9gBQxfttz04uSnXkrN0i4s9o1/M6NRXjm/bS/FimL mB+3qPL4nKKzs0YMqVisMgRZ6IR/J8gdfSkgLZ5blfUaCHflUs1QfpDhGNiutJIAJ9UA hC366iwyuaDjxvH6Jmpt1+kD4Cgalzirbtee1uR4OOyGiMKw1v58uSkJ0uhiDkXox+pA lHkLzoPN0FhOzo55vRSjJNlYa/Lj/Wn0M9doXviY5/t7zrAp0LPLdNGO7dtda4TBdLgx Ib+g== 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=F4a8c4tvd+zJaAC6d8b6uNqVu6Y0kctI1Ldnlr6rlQY=; b=R1+Enbb9/HGe+VD6YN3ohcYFClndOCFUpatFfXfbqD0Yw2JWix5DronQl+hBlE489E M2xEaXg6mIe0HE5LyNHOFpaiCdzCllNUjCnuDFEwC5OJk/RqVCtc1Gb+elGeH4rS7ATD e7u6HsB09FK9MM8ZrYmvKbNeP9gLBIIhSlsYEIdrt9zV66fqwjGI9vw7PSXaqN414Vr9 6m0L0Zkp6ieWnNFAo3ucpPu8r5aFkdrV/5jPXc93dyxSSn2N9pgmqSJQIXOTvZRUP2jq I1Ntp6QDa95XyhJftb1d9z3R1XC34Ihm8IsIsUiroV6CsWIKOEz9IKlFMnMT4vq6hFFO csHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=o0vX8nMP; 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 dn16si14958661ejc.427.2020.06.16.17.36.33; Tue, 16 Jun 2020 17:36:58 -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=o0vX8nMP; 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 S1726621AbgFQAcS (ORCPT + 99 others); Tue, 16 Jun 2020 20:32:18 -0400 Received: from vps.xff.cz ([195.181.215.36]:44182 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726505AbgFQAcQ (ORCPT ); Tue, 16 Jun 2020 20:32:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1592353934; bh=AevVvrXCG/6msnRbOhEC/03tKHisk5y4PX4d+SPQkuw=; h=From:To:Cc:Subject:Date:References:From; b=o0vX8nMPVcUPUCHAfRZce4ecgwFJ6TrWo0+s5nAauhfo5cRU4lBnRswBWKaN7+twi jMrKSPl5KnNaduv4d2ZsR385eh/NO1UYrmbyyBHzfSUNhwktJw0/6lE58rDi5V1YEd RYuzuIoIQ3cYi2+4ZON79kX++pWVTsGYZ8Dk+MCc= 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 , Rob Herring Subject: [PATCH v4 2/5] dt-bindings: panel: Add binding for Xingbangda XBD599 panel Date: Wed, 17 Jun 2020 02:32:06 +0200 Message-Id: <20200617003209.670819-3-megous@megous.com> In-Reply-To: <20200617003209.670819-1-megous@megous.com> References: <20200617003209.670819-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 Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../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.27.0