Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7344225ybl; Wed, 15 Jan 2020 21:02:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzuzMhe58soeiPA8pp8+NL/DQBlvIM9hZeANpTSBka++oHdvD7cpsbrqppPrY9SU3E0a9Cd X-Received: by 2002:a05:6830:1016:: with SMTP id a22mr628301otp.83.1579150928525; Wed, 15 Jan 2020 21:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579150928; cv=none; d=google.com; s=arc-20160816; b=wO5pxGk9c2dpTWxZZr/lhJ6MLZkvtLUq668zpesnXEehJO9EgPW+xMm91PavF95zsH CsHsPhH1/SXOrXOiUS2P0cGmjsjv1ZQOCInIWirAFrNWNYjhcpHK9+ORO3pMAsfZrftJ z9RRVe1iJk9WOdikN6II3JCFPjIiM4BGPrDPw9sF66av7GMl/dtHu43lhCWeXz9hM6Bv ZsyNJyoBGqpgo5sWbmeY0BRUGOmtrAHwwdQHwtPm9J+yKu1exTOkr6xP8HchOIGCNI/M 5jO7P02G6QyCfIIYUCnDVgwLMDep8ZtFJ12MRtXy4a5gAtFEQZykQHoHhTdk+YD15VLS nXTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=lHS6Swr03XduvTqv2QteW+VB+Hxp6wJDnUuUYIsTnfk=; b=UhAL036Nel3vdZ9R22cjjvV2+A3El12RHCMM+e9RIjOyrSveRBwfB8paoTs0U7+7xR mkdeIXfTxdOPXGJhQGyninAgqZTOkh9m8/6LJKPSiYrBu7gRr5FARgFkrrJiCesYDkx5 rb8SH4SkAAT0L69wAN4n1RUg+Aw6oWtBXS9L7q3WLoiaWUtm1AnHLs6oExzp5RzPc8Zx /90cm/ys6X/GTDs3FRmD/I9J4j1lSz05gcUAlPixp9bNWElUwKYxgD9m9hLtXV1qszCP zfzVEo2BW4JkOyVdhutJvPpuO/QkvSvdIbBR6lvqRygRX4wlcOQiDKG4kcD0fBcD1dHd Fl1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aosc.io header.s=dkim header.b="G5hY/H3U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si10679308oiz.230.2020.01.15.21.01.56; Wed, 15 Jan 2020 21:02:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aosc.io header.s=dkim header.b="G5hY/H3U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729949AbgAPDhY (ORCPT + 99 others); Wed, 15 Jan 2020 22:37:24 -0500 Received: from hermes.aosc.io ([199.195.250.187]:57142 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729841AbgAPDhX (ORCPT ); Wed, 15 Jan 2020 22:37:23 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 5BEF147720; Thu, 16 Jan 2020 03:37:17 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter 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 Subject: [PATCH v2 2/5] dt-bindings: panel: add Feixin K101 IM2BA02 MIPI-DSI panel Date: Thu, 16 Jan 2020 11:36:33 +0800 Message-Id: <20200116033636.512461-3-icenowy@aosc.io> In-Reply-To: <20200116033636.512461-1-icenowy@aosc.io> References: <20200116033636.512461-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.io; s=dkim; t=1579145843; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=lHS6Swr03XduvTqv2QteW+VB+Hxp6wJDnUuUYIsTnfk=; b=G5hY/H3UtY5cx1AC1m/L0XknFiHJy2q3+6cWrpWEYHvTDUjTctI1xd5Va6bK3IhIxksf/f trCzZDgBRfws2+9M+iRIqRYDf3EEwqOhCQz0+UH2TzHx0lSSJiFXqIu73KAsTKyblwuliE 2KTURuu8T24SrZg1OS7SXnZQ3I0hXVo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Feixin K101 IM2BA02 is a 10.1" 800x1280 4-lane MIPI-DSI panel. Add device tree binding for it. Signed-off-by: Icenowy Zheng --- Changes in v2: - Set backlight property to optional. (Technically this panel requires backlight, but theortically it can be not adjustable.) - Tweaked the example to pass schema check. .../display/panel/feixin,k101-im2ba02.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml diff --git a/Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml b/Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml new file mode 100644 index 000000000000..be1ecce9c3c6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/feixin,k101-im2ba02.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel + +maintainers: + - Icenowy Zheng + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: feixin,k101-im2ba02 + reg: true + backlight: true + reset-gpios: true + avdd-supply: + description: regulator that supplies the AVDD voltage + dvdd-supply: + description: regulator that supplies the DVDD voltage + cvdd-supply: + description: regulator that supplies the CVDD voltage + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - cvdd-supply + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "feixin,k101-im2ba02"; + reg = <0>; + avdd-supply = <®_dc1sw>; + dvdd-supply = <®_dc1sw>; + cvdd-supply = <®_ldo_io1>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; + }; + }; + +... -- 2.23.0