From patchwork Wed Dec 14 11:00:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Branchereau X-Patchwork-Id: 13073004 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 85FE2C4332F for ; Wed, 14 Dec 2022 11:01:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27C7410E05E; Wed, 14 Dec 2022 11:00:59 +0000 (UTC) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2604610E05E for ; Wed, 14 Dec 2022 11:00:55 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id o5so18889528wrm.1 for ; Wed, 14 Dec 2022 03:00:55 -0800 (PST) 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 :message-id:reply-to; bh=UxEwCtwZkbo/SE2lM+SFwhtddp9U5nr3fRj5lE/pCQU=; b=qkIo8apE6wPveAxrTPls0JzOt/rL9PFCLyGUfd7u8N6CEsd+GnAynINEmMpFhDmCh3 +qxl0KMr94ttaHM1+9vGi5TvBw2aP46Uzj0HYeqizB9gYpJYEsAp9w5+oSra3Jc50rjc XbFE5pvpA8woVsD4Wr2SdQBtZ2fKMCDSHY5Oua9rscOltiKOhVRNMd9mHJK09mAb4w8F JwCtAELfxo8zMslMPj8L3exc09pWQmAksKe5s8Cc7IqRDwJ+jy1Ph0RKJnZbiW0/hbQa 93JYj0PWqkVPjrYG0fYTISnEPJ8cTvGIWY2SHUxMrSTv8DhUTbEt+wjIUX0e2RmXbxzP jjgA== 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:message-id:reply-to; bh=UxEwCtwZkbo/SE2lM+SFwhtddp9U5nr3fRj5lE/pCQU=; b=r9WBuN7vgiHX33yVe/tSzAKwOblYIimFnY8qC13QpmkiZXKkUndbQtgE2gmYHeS9hC zPSGBnycRpMjIlp0kbzU1/v4bhnmUGdFVUhsDjfrlQChKsOGUxZLS3xYsRLJVfvW09Jh IGK0wsdFlg219hEY1CcaQeHqI/3a53G6F0KKOSmQf7kd2AtdEsPN7rEPsKyRV7PRToRL glXu7jmbfvMqs9D0BonHWwef6vHY//CaZAu0bi9bUY9mxQBWGesrxIxwvrHznPKtnCP5 L29hG+SF0+hW2rm/vWdBHJ0FiQXxFuyrMVpquRSrHO4xYwPeaPnymkMLeiEaZmOic4hg MJpQ== X-Gm-Message-State: ANoB5pnaGgmuXV2gD/SUf1T+/SlW1L1/EOQcA+JJcAgQicqE3Y77D6vT eknkXBB3b/sSUyDbIwFvvTnJtD+/GMw= X-Google-Smtp-Source: AA0mqf59FBVRgtaf6cj5kFR/HiVbmK7de5Q+pWQcjUEGezL/ocj+OLcGbULF+zUHMy1A/kYu6VKu7g== X-Received: by 2002:a05:6000:910:b0:236:61bb:c79b with SMTP id bz16-20020a056000091000b0023661bbc79bmr16981257wrb.3.1671015653583; Wed, 14 Dec 2022 03:00:53 -0800 (PST) Received: from localhost.localdomain (2a02-8428-46a0-7c01-bc7c-15f1-6c3b-ad74.rev.sfr.net. [2a02:8428:46a0:7c01:bc7c:15f1:6c3b:ad74]) by smtp.gmail.com with ESMTPSA id h1-20020adfaa81000000b002366c3eefccsm2462096wrc.109.2022.12.14.03.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 03:00:52 -0800 (PST) From: Christophe Branchereau To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: display/panel: Add the Focaltech gpt3 Date: Wed, 14 Dec 2022 12:00:37 +0100 Message-Id: <20221214110037.149387-3-cbranchereau@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221214110037.149387-1-cbranchereau@gmail.com> References: <20221214110037.149387-1-cbranchereau@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: Christophe Branchereau Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for the Forcaltech gpt3, which is a 640x480 3.0" 4:3 IPS LCD Panel found in the YLM/Anbernic RG300X handheld. Signed-off-by: Christophe Branchereau Reviewed-by: Krzysztof Kozlowski --- .../display/panel/focaltech,gpt3.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml diff --git a/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml b/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml new file mode 100644 index 000000000000..d54e96b2a9e1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel + +maintainers: + - Christophe Branchereau + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + const: focaltech,gpt3 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - power-supply + - reset-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "focaltech,gpt3"; + reg = <0>; + + spi-max-frequency = <3125000>; + + reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; + + backlight = <&backlight>; + power-supply = <&vcc>; + + port { + panel_input: endpoint { + remote-endpoint = <&panel_output>; + }; + }; + }; + };