Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1313713ybj; Thu, 7 May 2020 21:15:34 -0700 (PDT) X-Google-Smtp-Source: APiQypLW4ZvqkUYhpdx7C50NhshVJXcnipj+lcagpqUffYexC29uev7u4tcghU70mWQENiihmXhp X-Received: by 2002:a17:906:18e9:: with SMTP id e9mr280996ejf.140.1588911334175; Thu, 07 May 2020 21:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588911334; cv=none; d=google.com; s=arc-20160816; b=LPsMt+6tdkpVvzPZCK8pFpoVEG5UIMR2rpyxI1VNZi+DmqTpwpElJn7SelCSG7Ec00 OK8MX7qtuNHzfYDO/JDKKcl8q6AZI+UjeCvcZ+h6+98rPOPyFMb9VkpkEogKwFhlZNAN 4IrqWFBdBHQ/IMi/uZh8rj6bXoGWan9ELh9DBmJ8FWGoeEc7xQauJG/UhXS0Dh0W+SM5 0E8iYF8QWX8FQfAlnyXQLzXwJ9eWkJZpizXccXdFaj6l+h7atbjR6SXaxNTP5qiO9NJ4 E6QEp0S8MIoJmzfSNurYgxMCQUpIlKhs0JSUkq2Ma1GPSKTJBZuul1fvrnXvLkqRHhv6 KkaQ== 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=Db6qOihor5Bj8DkFXZYYMAre3zfCOsyEXmYIyTZWgqc=; b=SvezJ2UImOp8RO4m29gU+kORtYwGqV97Y0c7aQif14UMweJhH1Ll2dE0pKmtu/iyWB aoY+MSgo+V6Q2r1Y1GgoxXGMsJasmIdof9d8OaDs819GmYbvbWhgrntAPH5uYq51Xl9I MmAHnbZaXm2AZyVvm885D+6Ysx2LEkmO2ZOTM9x4TmIWFasInk0u/8phCRh7Mog9cGH6 a6ZX+c51Dmc2NVhKQN+cjtlg+HufCfepM1BaExzRF5wrmaaffSGaAHInGLmNT0uPQwrW ZmVd9ysCNLegEuPwdfIGxZOMT0UddLEVtTx2udcWiKwCuAJP9ddyg5d67XZKc0JrQ1Hi h1ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HZa4Ftrm; 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 t6si248308edj.527.2020.05.07.21.15.10; Thu, 07 May 2020 21:15:34 -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=HZa4Ftrm; 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 S1726690AbgEHENf (ORCPT + 99 others); Fri, 8 May 2020 00:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725287AbgEHENe (ORCPT ); Fri, 8 May 2020 00:13:34 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3823EC05BD43; Thu, 7 May 2020 21:13:34 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id hi11so3665876pjb.3; Thu, 07 May 2020 21:13:34 -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=Db6qOihor5Bj8DkFXZYYMAre3zfCOsyEXmYIyTZWgqc=; b=HZa4Ftrmwnb5Ap1XUema1giGFlB40rvdwsHrEWexpeZ6u5tBF43Pq4MFzxAYUu84aI JunK7vj/+KG0NUE2q78MI7A8GNKQoC+8zU6hWn6d1wy/rzVCxyRUPShkVXyJi/z4rZ8X i25uLgD5ruVcCH5djhBBhZKzsS361Rev4ajBHWYRd4FOcqm3ApHA7RHKdjnCKfSxMdL/ OYq7KHB0yYJoOYEjmMuKH2w3YwgJDQNmQMo5R1V5fS/spm2DHonKxkvkoJEquM3oeLcX SCQtrBzKRLKh6kVEGNoNtw3jUeLMTnSQoqR3iHXqONoXhHB0amdTdYRt6MPXFkfyz2Fy C1xw== 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=Db6qOihor5Bj8DkFXZYYMAre3zfCOsyEXmYIyTZWgqc=; b=kN9XUvekDgWUFRGY9S/3GnIgHRWROel/SC9kXNhiPJwrHpXT0fCwjy9LeS4UQiDy38 HO1MXlFdjIu/It8T0atTveb+5B6N6uVJ3Q4BfMvMWHyEnqPYX59eV5we7GlMgIy/ILva pwh5QnyKn9J4BMhH7D1mRwozZ3L6ihQvopNX3B5TC0yCvGqlJ/LPU1KwjQqOccwVgbAB 3nqt5QxOUcbFi13gWcnmQ1G2ivpk1DXc9y1UauDa8IsTCKeV+xEeOL3TSjyFHP2E+icc 9jb+fqQzOjQCBcHrScyrP6i4lIAvDKU+MRSWWxqB45vOL0m+yDUzqQFoE6xrhiHASoiF Dsmg== X-Gm-Message-State: AGi0PuZ6/pddXFXmoTc6jjQJ6McOF1bjLQJrUF7tZTqNNXdLPzcV1oR7 RXM5PLkmraQzbv0cVe371jc= X-Received: by 2002:a17:90a:208f:: with SMTP id f15mr3825087pjg.60.1588911213774; Thu, 07 May 2020 21:13:33 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([103.206.190.146]) by smtp.gmail.com with ESMTPSA id h12sm314868pfq.176.2020.05.07.21.13.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2020 21:13:33 -0700 (PDT) From: dillon.minfei@gmail.com To: robh+dt@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, mturquette@baylibre.com, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, dillon min Subject: [PATCH v2 3/5] dt-bindings: display: panel: Add ilitek ili9341 panel bindings Date: Fri, 8 May 2020 12:13:12 +0800 Message-Id: <1588911194-12433-4-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1588911194-12433-1-git-send-email-dillon.minfei@gmail.com> References: <1588911194-12433-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 --- Hi Rob Herring, This patch [PATCH V2 3/5] about ilitek,ili9341.yaml was verifyed with make dt_binding_check thanks. best regards, dillon, .../bindings/display/panel/ilitek,ili9341.yaml | 68 ++++++++++++++++++++++ 1 file changed, 68 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..94c2b15 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml @@ -0,0 +1,68 @@ +# 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 that get adapted and scaled to the panel. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: stm32f429,ltdc-panel + - {} # ilitek,ili9341, but not listed here to avoid false select + + reg: true + + dc-gpios: + maxItems: 1 + description: panel spi dc gpio + + spi-3wire: true + + spi-max-frequency: + const: 10000000 + + port: true + +additionalProperties: false + +required: + - compatible + - reg + - dc-gpios + - spi-3wire + - spi-max-frequency + - port + +examples: + - |+ + spi { + #address-cells = <1>; + #size-cells = <0>; + panel: display@0 { + compatible = "stm32f429,ltdc-panel", "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