Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2631864ybk; Mon, 18 May 2020 04:12:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzlAlo60I/DMsLNvz3lSwVz0OPk6S7//Nh9iMR8EnETCRzaESsJ6hxlG8LFxjGoCyvujkP X-Received: by 2002:a17:907:42fe:: with SMTP id oa22mr13949454ejb.98.1589800335305; Mon, 18 May 2020 04:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589800335; cv=none; d=google.com; s=arc-20160816; b=YOEPh5md26X8OEqzvzrtg15Mkgw61TiNgUjmo0M4AjbW+4Wchw50mtoD2dgH85Ek0t g8s1sD9ezkDUZeiR6otuXTB7yivuDgtWzAYs8y7W2nSaNWHD3wDFMUpQMicIrL9gjf0O E8LeodJ1kcXDOmKfiKBliBjG1uW2p4uNP2SHSk27ti8/M1F4GAWxmh9XDis9zLbqUaUI zb8RMrjgW1hh/18rwXOxjEmxY81iXbdUPnxlZ8DLZQesU8CUv8XoZMxVFD6aLz1kIylz t+LJQReB14HWmrl9i+1e4nr/5RZPcuJX8Ar+uX/teN0MN4P5Cjht0Fv1ioTv0C8SRvn4 izOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=MtXq2QWDOoN0CBKSeH60c2tJASyOu/uu0I8Lzq6RPtM=; b=yagV2HznsxQiX1FqGsCNDX8zXUiBBSOy11IgYRAULYHHZJr0slHWWtcsGwEwGjvHfg 3ES72VFPAPbE10eW1Eoop9na+25t1/3bisL1w54zrrPxM5/A2bvDpk7dPRzfUAiTloIh 0JEpBeKjdvtB3GBWAdfs+g10quYzcoRgDMlwDlmbiU4LukA66uxf/k613kp1QyH/0lTW BhFkOLRroGIzPDv2nJf19GbBn3VAkyU2Pf/9h5LYXPPcv3C0roDfEwjZIcOgrOAjEAQp Svcmyg/JNc+cnf2qBlOfW0w6Ob8uAstzu81BP/Eozi1sOvtuBCKLMjlLUk/X+hv3Njbk xT1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHoYOYK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m30si6381889ede.253.2020.05.18.04.11.52; Mon, 18 May 2020 04:12:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHoYOYK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727832AbgERLKA (ORCPT + 99 others); Mon, 18 May 2020 07:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726739AbgERLJ7 (ORCPT ); Mon, 18 May 2020 07:09:59 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2D6EC061A0C; Mon, 18 May 2020 04:09:58 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id 5so1766111pjd.0; Mon, 18 May 2020 04:09:58 -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=MtXq2QWDOoN0CBKSeH60c2tJASyOu/uu0I8Lzq6RPtM=; b=dHoYOYK5C7B8o27fpfv0M/0F5nWFg9K5JTaF8DiGokgF4H7Hk3ORmVZhH3ivC7ze8u 9GAjIx2MoqagVgcDWJ6W2sYD+coutMesqQ/4GpWyxLl2zddTgTzrnncEKk+loHjJTcGw L/Y5RJWiKplc++xkLT0gU1mfy/6xT5V5OLziXZkcymlb+cpNv+KfwdLRHdhzcp82TUg0 lOPL9DG2zyNY9DLYMuASfG4YUn+ECzfxEsqLPrrHlKxMpfMU/FbOrPf6OE3KO7bv1FZE TZUTDKw68lNWMqNX6eD7G1Sn+daagSzcGiZIkyXMJGUOonAgYk7SqqajzgfcMjb26RC9 2d3w== 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=MtXq2QWDOoN0CBKSeH60c2tJASyOu/uu0I8Lzq6RPtM=; b=qd/kp793nn+on8Bv2ky53UEaIrjXA9lbypHebngMXy2h6JC2ydqNNYGPOJXNpfwoYe YODy5aN1U0JJyizasRjL8r45JaKMMZ2JFdIwo58zYKSlmVDFGwtpK3Zge1vo+Seo0SKf n1ovV2rg4hrPXjlFuRGHPHy9IRqdCNr1qbhL6ZheuD+1rJbLnOpPnmp1K2+KWdARrVZE ebwMZTwb/mZUpX6IRIKAvPA4rddrCgIrJsbHVP1Ye/npwRKTlh4gVzbZ+tjzluV8ntFf LYgaw9XVVqbEoK4BGn9NqTTAzUelEdapix5JAMaa0qb5syi+aWNaNg2P+29LjpFGRDIs 7d7g== X-Gm-Message-State: AOAM530bNO9SCIQF4Br5koNmNq3IhCjWeUWptTjLFQaDupk/xTvnMzXS 0ALaRfC/cFHLwlRURoxrqaQ= X-Received: by 2002:a17:902:b187:: with SMTP id s7mr16222773plr.60.1589800198488; Mon, 18 May 2020 04:09:58 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([103.206.190.146]) by smtp.gmail.com with ESMTPSA id a15sm8290630pju.3.2020.05.18.04.09.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2020 04:09:58 -0700 (PDT) From: dillon.minfei@gmail.com To: robh+dt@kernel.org, p.zabel@pengutronix.de, mcoquelin.stm32@gmail.com, broonie@kernel.org, devicetree@vger.kernel.org, alexandre.torgue@st.com, thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, mturquette@baylibre.com, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, dillon min Subject: [PATCH v4 5/8] dt-bindings: display: panel: Add ilitek ili9341 panel bindings Date: Mon, 18 May 2020 19:09:22 +0800 Message-Id: <1589800165-3271-6-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589800165-3271-1-git-send-email-dillon.minfei@gmail.com> References: <1589800165-3271-1-git-send-email-dillon.minfei@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: dillon min Add documentation for "ilitek,ili9341" panel. Signed-off-by: dillon min --- .../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 0000000..2172f88 --- /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>; + }; + }; + }; + }; +... + -- 2.7.4