From patchwork Fri Jul 16 10:20:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dillon Min X-Patchwork-Id: 12381865 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA3A8C636CA for ; Fri, 16 Jul 2021 10:20:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8B9B5613F6 for ; Fri, 16 Jul 2021 10:20:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B9B5613F6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 97AA36E955; Fri, 16 Jul 2021 10:20:54 +0000 (UTC) Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 42C076E955 for ; Fri, 16 Jul 2021 10:20:52 +0000 (UTC) Received: by mail-pf1-x42f.google.com with SMTP id 21so8552931pfp.3 for ; Fri, 16 Jul 2021 03:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uwvb3QWku+HNovH19DlhDz0b4w6Vu5NMYC9MHw5EcPM=; b=KwueLB6SEOIvNcXwpAvMp4AbdQfduP3fAkeNyfZBcHiOLPzPKjbMF4oIMk3dHea7ue HyOI+Fx3Rj94cdRsFt3c8jef3xKdrFjptu4lZVHdqqb2lM7oBB7GwXZK5/MYhOEydA1U ltEz5C4j0WcMYFLK0d9SY0pGfmmAUA400qx43duaJNT1CSswGTPsXHEP+RI2IFmVKHmQ Z73LHVnEQcqFwrhPoK9jzbSQwjJyhhIAp6tQ4hJMwbLDvbZf6hcjeXKBjX8u7DRKYi6g OFDbDPVFUFp1Au4Se96+tnpjw6Nq/5gRSbH2uGrAHfnmA+cyM50UEs0BefHSdYSYapcT qh6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uwvb3QWku+HNovH19DlhDz0b4w6Vu5NMYC9MHw5EcPM=; b=O8/ITFmotlOPDUIyDRcHViOXE8kk1ZXL1Xftqdnq1H99PpjlKAETNLSZf5sbHsDhFn UkwuVI/YbnRoLdcEVO8zYvNfMRYAS6hTYlgoUsWfYUxFkr3Uw8MiXHbTaizYNl7Fj9q0 fgffTRpJS8Q2PLjtWz5I9hBryMHlOMQQHjBA0B7+6zDPzOi2nl8zuWpdj0oQjl2ihT5b mA4isrG/xRhFdoQ89UGECnVufcXimGRlRdeeqwUZntslpP1cZeXlydZCtcSqMxkqCVyy 0l9yhIgQ7QbfCO8asjWNS/7ZkOmzqhP7qu/TiTjB+A9AXn5mXlAdLNKqOLhQIL2OuDb0 JEkg== X-Gm-Message-State: AOAM53321N8aRTSPDqP8mTMx9Z8Dt/ub9cnOvFhZCSFVOnP6fymbxvEt ajgoGitaQ/CZ214tHkLJiek= X-Google-Smtp-Source: ABdhPJzFtu7JjB2t0Zj1kRNmPyfIWq0L24tJIZ1LdUS6HEDrlpsVzcKp5Jcj1xs08LByu7MsdLtrMw== X-Received: by 2002:aa7:8683:0:b029:32e:2a35:941e with SMTP id d3-20020aa786830000b029032e2a35941emr9892595pfo.44.1626430852131; Fri, 16 Jul 2021 03:20:52 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([137.59.103.165]) by smtp.gmail.com with ESMTPSA id f3sm8051285pjt.19.2021.07.16.03.20.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jul 2021 03:20:51 -0700 (PDT) From: dillon.minfei@gmail.com To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, linus.walleij@linaro.org Subject: [PATCH 1/2] dt-bindings: display: panel: Add ilitek ili9341 panel bindings Date: Fri, 16 Jul 2021 18:20:42 +0800 Message-Id: <1626430843-23823-2-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1626430843-23823-1-git-send-email-dillon.minfei@gmail.com> References: <1626430843-23823-1-git-send-email-dillon.minfei@gmail.com> 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, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, dianders@chromium.org, noralf@tronnes.org, Dillon Min Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Dillon Min Add documentation for "ilitek,ili9341" panel. Signed-off-by: Dillon Min Reported-by: kernel test robot --- .../bindings/display/panel/ilitek,ili9341.yaml | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml new file mode 100644 index 000000000000..2172f889af3c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,ili9341.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek-9341 Display Panel + +maintainers: + - Dillon Min + +description: | + Ilitek ILI9341 TFT panel driver with SPI control bus + This is a driver for 320x240 TFT panels, accepting a rgb input + streams with 16 bits or 18 bits. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + # ili9341 240*320 Color on stm32f429-disco board + - st,sf-tc240t-9370-t + - const: ilitek,ili9341 + + reg: true + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + spi-3wire: true + + spi-max-frequency: + const: 10000000 + + port: true + +additionalProperties: false + +required: + - compatible + - reg + - dc-gpios + - port + +examples: + - |+ + spi { + #address-cells = <1>; + #size-cells = <0>; + panel: display@0 { + compatible = "st,sf-tc240t-9370-t", + "ilitek,ili9341"; + reg = <0>; + spi-3wire; + spi-max-frequency = <10000000>; + dc-gpios = <&gpiod 13 0>; + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; + }; + }; +... +