From patchwork Mon Sep 26 19:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 12989358 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 08D89C6FA82 for ; Mon, 26 Sep 2022 19:15:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2E4410E779; Mon, 26 Sep 2022 19:14:56 +0000 (UTC) Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2604C10E776 for ; Mon, 26 Sep 2022 19:14:36 +0000 (UTC) Received: by mail-oo1-xc29.google.com with SMTP id t4-20020a4aa3c4000000b00475624f2369so1271280ool.3 for ; Mon, 26 Sep 2022 12:14:36 -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=MR8x5tCxo5+AsVIz5WY2dO7QkwtS6s1ctIFSET3Abos=; b=L65alZtt01iELtJ1IiE7y7QJwZaYNPYo4cwTkNruRqcegN1RUG6lT+YA1Bff/H8uCZ lwXf6/hOGdeueLuNLyEtr/GTdRB1mrQXwqwHllidOinFRjB49qn4O1GBYZ0BwBSdYE06 XnNuqxh6IqCIjm9Am3vZX0ez7Ovf1TjkzgRPC2JIlo9FXPzkklA6SVv6uW9iwzp7mcp7 6Gol7vopEh7RoUzbEGJi43kb87CJ35qg6pHzBM/+4dEHsWtzef67/LxbmwccRQaKccXz ahRwZzCwqPQnUv8dlZBffMZkoN8CmwRPx/XQd07DbdXABTcV+07/LhgOwWj1JniZydq1 4hgg== 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=MR8x5tCxo5+AsVIz5WY2dO7QkwtS6s1ctIFSET3Abos=; b=bv1NrwdgVQXuN9o5jz03zraa8mXUKjSap66hA8O5PfaDLSHdQBntbz9dbJBm8jelBj uihb0NNnjcDnHdD1k8Y4wpspia0zMAvylPAW+pFXKcohWb+oE1VcwyufpbHJOAW2psMi 72ZctabbiUgxnjJNIXTWsScHVum6QIEiOztUQIuKjNTZaMIFTu5OKQeX5ajD0N0ePAEb X0bqXuF79lYgii0cCYhWltSKFx8BoL16Q5TzBLgJI/xZFSZCIdeDeLLAIOV2LSmbugT6 1hvOu3/b/TnweJ97R0Vb3XNSQBKE0XbYaxIsy2IDXp6MPHZP0IIqIbmeK1Bt1REFH6g3 33iQ== X-Gm-Message-State: ACrzQf3jC/pSE882W0PlhVYZQ53oi6XHQF2nFPMR3xMrC2amm65v+j0u Kd/Bvc0tZpuGral8lelAYEvnYyDVffo= X-Google-Smtp-Source: AMsMyM7Dq6DumkgXKLXqbaaLst7icSp7XqBUH1rcC+01MfB85jDCGybIlp1dy7fSgBgjokbyMOcnIQ== X-Received: by 2002:a4a:1843:0:b0:436:1611:6b51 with SMTP id 64-20020a4a1843000000b0043616116b51mr6659381ooo.18.1664219674992; Mon, 26 Sep 2022 12:14:34 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 12:14:34 -0700 (PDT) From: Chris Morgan To: dri-devel@lists.freedesktop.org Subject: [PATCH V3 1/3] dt-bindings: vendor-prefixes: add NewVision vendor prefix Date: Mon, 26 Sep 2022 14:14:26 -0500 Message-Id: <20220926191428.4801-2-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 , Krzysztof Kozlowski , 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 NewVision (also sometimes written as New Vision) is a company based in Shenzen that manufactures ICs for controlling LCD panels. https://www.newvisiondisplay.com/ Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 2f0151e9f6be..d9c38e214863 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -873,6 +873,8 @@ patternProperties: description: Shenzhen Netxeon Technology CO., LTD "^neweast,.*": description: Guangdong Neweast Optoelectronics CO., LTD + "^newvision,.*": + description: New Vision Display (Shenzhen) Co., Ltd. "^nexbox,.*": description: Nexbox "^nextthing,.*": 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>; + }; + }; + }; + }; + +... From patchwork Mon Sep 26 19:14:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 12989359 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 AF6EDC6FA82 for ; Mon, 26 Sep 2022 19:15:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 664DA10E77E; Mon, 26 Sep 2022 19:14:57 +0000 (UTC) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D72D10E779 for ; Mon, 26 Sep 2022 19:14:38 +0000 (UTC) Received: by mail-oi1-x22b.google.com with SMTP id g130so9402361oia.13 for ; Mon, 26 Sep 2022 12:14:38 -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=Ueu8YR0DxU73ANRFR1q4A6ko0ZBx9GNf6xMF4KLXD4I=; b=Xy+ouuJC/OQIZA+szHghv428P5oFfoOjAKpyY+bY4cOzwMweUQMBuh0wfKWwcLM4Wm 6szGJSSNhI6/ncHp6F3CxxHwhGHOFesxPcxv1vQVLfO/YxgkgH1cuH3l3hgrxBSAfoR7 9lLopySFqwzCbSuj9B5BuYg2CepCQVspL3rDcPsJS4tzEK7K6hyRr0pknupzYkeiIEPq nq7GrwIgOl7XpW9KvH1dL46anoVV5hIwo7hnemr9+qA807bJ6lTSeWzrrpU6bxs7xsRO U8kvISDQ1UGhW/L6iPgOAOv29TAvkkSsQIAQ6elmM6RRQ4k8/s48Zqm3kEGU3nQyVncz e0NA== 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=Ueu8YR0DxU73ANRFR1q4A6ko0ZBx9GNf6xMF4KLXD4I=; b=5MQpQzpa/Q+4Eqxtw+C98s3XnFbIj1DQV3W9qqct/LxqBDSjB9TnqT3W2qT/4tFNMo Ti5Nm1Qi6RMsc2QsCmv0MCB9d8XseQpMwhWRXsiaaPujKuL+2wEhlr2gCqOo9jCWxtfv 3gMTz7wP8K5MzlCehxifRwp8FRsMEypGBFjvnNXh3S/QRixFAwKu1axIUPbxrGOm37aO g8gSMDeW9LTWXiXC2P0uzlZGJKasXz29A8uC5QNfDfwxPNzudCG36HVZS8vAJ7gHHgLC mHTT7j6D9kyHIJKG/smBtUIKCR61+Oq2epAE6FREy1CRiTZzeTu1eokJNpxri2o/U7/r QtIQ== X-Gm-Message-State: ACrzQf38PuE0pktT3qx6Obcftzpw8prUKx2zaHfxofvLxYb1ho5mjy+5 jiMmXpIb6pFglBWeQvNt64TLCO8Wdbk= X-Google-Smtp-Source: AMsMyM5b5xAWAyDSaxcZTFyTY1HoRMlBD4IwzCguTD6gbP9SnWMT/0tZy5wTaF5ZTJFQ3UeAncnOyA== X-Received: by 2002:a05:6808:d4e:b0:350:9eed:4156 with SMTP id w14-20020a0568080d4e00b003509eed4156mr114251oik.77.1664219677108; Mon, 26 Sep 2022 12:14:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 12:14:36 -0700 (PDT) From: Chris Morgan To: dri-devel@lists.freedesktop.org Subject: [PATCH V3 3/3] drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel Date: Mon, 26 Sep 2022 14:14:28 -0500 Message-Id: <20220926191428.4801-4-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 Support NewVision NV3051D panels as found on the Anbernic RG353P and RG353V. The underlying LCD part number for the RG353x devices is unknown, so the device name and a fallback for the driver IC is used instead. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-newvision-nv3051d.c | 525 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-newvision-nv3051d.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index a9043eacce97..7258d28dda2f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -296,6 +296,15 @@ config DRM_PANEL_NEC_NL8048HL11 panel (found on the Zoom2/3/3630 SDP boards). To compile this driver as a module, choose M here. +config DRM_PANEL_NEWVISION_NV3051D + tristate "NewVision NV3051D DSI panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + This driver supports the NV3051D based panel found on the Anbernic + RG353P and RG353V. + config DRM_PANEL_NEWVISION_NV3052C tristate "NewVision NV3052C RGB/SPI panel" depends on OF && SPI diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 34e717382dbb..cb03b3a82738 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829) += panel-leadtek-ltk500hd1829.o obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) += panel-lg-lb035q02.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o obj-$(CONFIG_DRM_PANEL_NEC_NL8048HL11) += panel-nec-nl8048hl11.o +obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3051D) += panel-newvision-nv3051d.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3052C) += panel-newvision-nv3052c.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35510) += panel-novatek-nt35510.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35560) += panel-novatek-nt35560.o diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3051d.c b/drivers/gpu/drm/panel/panel-newvision-nv3051d.c new file mode 100644 index 000000000000..a15b6e4cb668 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-newvision-nv3051d.c @@ -0,0 +1,525 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * NV3051D MIPI-DSI panel driver for Anbernic RG353x + * Copyright (C) 2022 Chris Morgan + * + * based on + * + * Elida kd35t133 3.5" MIPI-DSI panel driver + * Copyright (C) Theobroma Systems 2020 + */ + +#include +#include +#include +#include +#include +#include + +#include