From patchwork Mon Sep 26 19:14:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 12989357 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7090C32771 for ; Mon, 26 Sep 2022 19:14:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D18A910E776; Mon, 26 Sep 2022 19:14:55 +0000 (UTC) Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D42A10E776 for ; Mon, 26 Sep 2022 19:14:37 +0000 (UTC) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1278624b7c4so10530244fac.5 for ; Mon, 26 Sep 2022 12:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=oVTQdW/tfDHRh/TCdE4iVdi/g1MuzKivPgDmxM+3q+A=; b=QU/NQWPJs4Q+/ftfZmS91BLZ8GdSEp1uYK0+GqH4EqFgJHXxX8jWD5VXbeNnLX1LS9 oA5vHA5w415BV7MOQ5VVwUZo8qrDJoZjF4dHttcBSr6sQzbOvXy4i0Ia9TGhaYjNVn2T ixdq9SerZ06QxnKcxhCDMsT7cLqKCuPtRAgVd36Kd0GmF3/vYfRPqJY0wDcgVGxfz+N8 s0qFYvth5kdVk+HUus4Q1ncij7WfN4s1uQell/Ck8hPa50lJwQN1vdGqK5/BjzcoA2No Q01cQmU/3i3B89ppyBS6Qf8KodIvgYX2B6yXU6QE9vGQ9HWVXzG7OstIdJbhYBMzx+MK Pbxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=oVTQdW/tfDHRh/TCdE4iVdi/g1MuzKivPgDmxM+3q+A=; b=GMYV8mFzyIUm5nSlH6e/tJGqfPm5yFuM4P6jyji8qKtBB39kCrgST36wmeafSS5vot wtbPxdkroyZKyBEl3nmhDifKHF6STra0d3tcPECssc1r+alBvDTtJh49BJ1ylfj5Nt+O jNDVRM7vKWrQo+PNCrEm9SXPfFnMbxI1t6ndSxTtjFkz+H+Hx3ZOgxmyAE6XQpiKGPFH gt6IqQRu9TQ2eyC7dzLyGkftPyq6ZPs2thg913UNR3uJuT01vO1O9gmVeHZvdqWBQNKh a47Rk1CRGRESJdpdjak2Hl2HxXNIPcxLgUXP2ztum4SeCce9Oox6E0DGfxigbSI5mA3W Zvkw== X-Gm-Message-State: ACrzQf38k1CbicyfWc+CFrzRTPkV5Ktu6hytyStju2+TkzbjRhaf1uBV 8ZAVOBMKdlxJXfxe+84ZmuJf2L1O3Ig= X-Google-Smtp-Source: AMsMyM4x1iC5ARhX9zZ56d4RsEc1+FO47pCIMHBsUuT+cYLmC6WVLcRzE0kSeBWjgYBk82U+r2/myw== X-Received: by 2002:a05:6871:88b:b0:122:84e4:ad75 with SMTP id r11-20020a056871088b00b0012284e4ad75mr117680oaq.259.1664219676033; Mon, 26 Sep 2022 12:14:36 -0700 (PDT) Received: from wintermute.localdomain (76-244-6-13.lightspeed.rcsntx.sbcglobal.net. [76.244.6.13]) by smtp.gmail.com with ESMTPSA id p130-20020aca4288000000b00350c5d946casm7278131oia.4.2022.09.26.12.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 12:14:35 -0700 (PDT) From: Chris Morgan To: dri-devel@lists.freedesktop.org Subject: [PATCH V3 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings Date: Mon, 26 Sep 2022 14:14:27 -0500 Message-Id: <20220926191428.4801-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926191428.4801-1-macroalpha82@gmail.com> References: <20220926191428.4801-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, Chris Morgan , robh+dt@kernel.org, thierry.reding@gmail.com, sam@ravnborg.org, maccraft123mc@gmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Chris Morgan Add documentation for the NewVision NV3051D panel bindings. Note that for the two expected consumers of this panel binding the underlying LCD model is unknown. Name "anbernic,rg353p-panel" is used because the hardware itself is known as "anbernic,rg353p". Signed-off-by: Chris Morgan Reviewed-by: Rob Herring --- .../display/panel/newvision,nv3051d.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml diff --git a/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml b/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml new file mode 100644 index 000000000000..407de7fb5499 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.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/newvision,nv3051d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NewVision NV3051D based LCD panel + +description: | + The NewVision NV3051D is a driver chip used to drive DSI panels. For now, + this driver only supports the 640x480 panels found in the Anbernic RG353 + based devices. + +maintainers: + - Chris Morgan + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - anbernic,rg353p-panel + - anbernic,rg353v-panel + - const: newvision,nv3051d + + reg: true + backlight: true + port: true + reset-gpios: true + vdd-supply: true + +required: + - compatible + - reg + - backlight + - vdd-supply + +additionalProperties: false + +examples: + - | + #include + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "anbernic,rg353p-panel", "newvision,nv3051d"; + reg = <0>; + backlight = <&backlight>; + reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc3v3_lcd>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; + }; + +...