Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1730914ybj; Wed, 6 May 2020 04:22:35 -0700 (PDT) X-Google-Smtp-Source: APiQypK2Zy1Tws6viEt3yWXgrMIncLAEt+uvE6eo1YPrSNBp+7iWuwgJIgvLTi3nBy9+KWcRrd5O X-Received: by 2002:aa7:c649:: with SMTP id z9mr6562820edr.288.1588764154970; Wed, 06 May 2020 04:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588764154; cv=none; d=google.com; s=arc-20160816; b=x2M3BvlbwLA65gGLZJKwOaMXAeCaTtJeE4nw32wRRODRPI4MTgZ12/9Xjw+jHT2tEC GTBlE6IRmOk8rBkGcNzTDpEbicsJkitJd8YLrn/jPNh+J9Mo8fGQdp3MD50kYton3Xe/ ldZBUCm1k0/PfYc9kaVOZ+lOkMY8es4cERTYpDnxuvVZSJunaZoU61/qfcyB0dkor2Ur a6N8lFTCM6ETOOHrRJnHZHCggy8hC5EkjIVCjWu979bAE+mj68oo6L7oxIrN+Vako/EO kfpc0QgNKNZp/GaQCz0PHSv2y2earA4olh0KQE8lvkO0Y7vZ1a3tlOdc7x5YDIAr1z5S QSgQ== 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=2Kklx6WNLIBEUnlaQW9xoqKKQiAQpc9O2rLkXNwH/Ew=; b=ygFFXBoLx2H9SxdMMnlVEIUjgyzbAR3eOS977g8fUXp8sTb1J9yBXtv+CWzaDP5ui5 npU+jhg0oqiLY0J2KZgo7KRtyA5kVm+tMqcwXsvqIIoOOO5kbgoIuuh/yJO7Prl+yyHO yDRZ+y8v+A+7bdirJWEV66QkPmLJ1BasKIhRRtwYEn+/ULUOiJ1hJfonfaRK8sHOgGHV l2VZka/ocmyNzkITybrvus5UqJJ9QtGc2LaIxUS4DsDHaqx1fPtprzHK9YAjYLHvwKsd 4LSwnxOPMzIQbv5k3CXdovhEyDCDSCTzrm/SPYRCl42SHY7X+ryuh++brz/BmUlEcFbi muDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bU7UCV6b; 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 6si862381edp.2.2020.05.06.04.22.12; Wed, 06 May 2020 04:22: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=bU7UCV6b; 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 S1727954AbgEFGbq (ORCPT + 99 others); Wed, 6 May 2020 02:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725882AbgEFGbp (ORCPT ); Wed, 6 May 2020 02:31:45 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38486C061A0F; Tue, 5 May 2020 23:31:45 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id d184so510592pfd.4; Tue, 05 May 2020 23:31:45 -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=2Kklx6WNLIBEUnlaQW9xoqKKQiAQpc9O2rLkXNwH/Ew=; b=bU7UCV6bT4jUeZ7RQOMu3wRGQ+cZ2Cu8ugjmU1y3EAWGuBnm6OpfWbbpm6You3RxiK +LNF41UdPSiADhh5JhmW871M4g9IyrtTY1VBBlcdOnXjrbiSLoEC9cw73n94zcbxC/h4 uTcyuFXuXjfASNKh0szxgXDzYvSFQaxJAVYZs3yeVCNIzfKVS9Js1tAMtPCytYfB9FO2 GbZGWunwUSAsMp15drDmbitMgBncVnT1rOujQS3EKdwaSx98nrVIOieXLoRGhBPGvOlI HBBSfV0L6Y4Ovy8H6VTXXQk7wj31wccLCPh3rMi08OpmJ7Pn1VfItyFPGxlWIZf5+Jxc Kn4w== 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=2Kklx6WNLIBEUnlaQW9xoqKKQiAQpc9O2rLkXNwH/Ew=; b=LnncpD0Q3GHYEI72bYq7sbyW+vPUNUXTNZV0bmSmD+YjuGOkT4UhX6Sq3IgavW6pce rEIdCNxasWMEb4pXAXoIqBhd2+nER4xlOAMDeJxvuaha5au4R8G7X1bsMEHXwmqwADVM XHEMK735VwCWthpTfBZ4QaC96CBatYK05TusFo70FPMNUCM+Rrq1TFh/1yryURA2rW5L KfqTBHH95CDiZL5zepX2aOB4Gxc7Hzia1qzSeLi39npZOTga32o8FvLft8bje7Ao4cxd j+VpHOj/yqAxXpVwKZX2F5Ztzyk6mR+bUFgpjjedsHuGWHW4YtyNlfbDCCQblS1LEk2p R/IA== X-Gm-Message-State: AGi0PuawJzghjMJNzK/JXATJjq0svWTA96tBthY1HdtWYiT/1ism9Aok tSrY8pLcgt4A5tqIQAlJ1iU= X-Received: by 2002:a63:b51b:: with SMTP id y27mr5362061pge.400.1588746704798; Tue, 05 May 2020 23:31:44 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([103.206.190.146]) by smtp.gmail.com with ESMTPSA id y3sm3771975pjb.41.2020.05.05.23.31.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2020 23:31:44 -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 Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dillon min Subject: [PATCH 2/4] dt-bindings: display: Add ilitek-9341 binding Date: Wed, 6 May 2020 14:31:33 +0800 Message-Id: <1588746693-31078-2-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1588746693-31078-1-git-send-email-dillon.minfei@gmail.com> References: <1588746693-31078-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 ili9341 for stm32f429-disco board some hardware resources can be found here https://www.st.com/zh/evaluation-tools/32f429idiscovery.html Signed-off-by: dillon min --- .../bindings/display/panel/ilitek,ili9341.yaml | 55 ++++++++++++++++++++++ 1 file changed, 55 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..5138f56 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml @@ -0,0 +1,55 @@ +# 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. + VCOMH outputs. + +properties: + compatible: + items: + - const: ilitek,ili9341 + + reg: + maxItems: 1 + + data-mapping: + const: stm32f429-disco,ltdc-panel + + dc-gpios: true + + port: true + +additionalProperties: false + +required: + - compatible + - reg + - dc-gpios + +examples: + - | + panel: display@0 { + compatible = "stm32f429-disco,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