Message ID | 1626430843-23823-1-git-send-email-dillon.minfei@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=4GXH=MI=lists.freedesktop.org=dri-devel-bounces@kernel.org> 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=-8.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_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 49F21C07E95 for <dri-devel@archiver.kernel.org>; Fri, 16 Jul 2021 10:20:51 +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 07A8A613F7 for <dri-devel@archiver.kernel.org>; Fri, 16 Jul 2021 10:20:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07A8A613F7 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 491FB6E877; Fri, 16 Jul 2021 10:20:50 +0000 (UTC) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4655E6E877 for <dri-devel@lists.freedesktop.org>; Fri, 16 Jul 2021 10:20:49 +0000 (UTC) Received: by mail-pf1-x433.google.com with SMTP id j199so8530311pfd.7 for <dri-devel@lists.freedesktop.org>; Fri, 16 Jul 2021 03:20:49 -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; bh=YCyNWjhO4V+grwdhX/Rkj6AZtgSXulvvHbE6SHCabhc=; b=NvMTrO9AvBHK5PXr7Tq2AEdo5sCNQniw/lPvn4rNiQnQfO8GutVkkVt9Wn8swq8XVu jPQgA/zwLuuTlLLFo1vf4D65idV8ehQ1yinIrwaow8COmr8iyVERNdEA/JHs9irRRAq1 aIvWu1iD2PLOnJ5B2kwFfOrD3qAJW+3h/2XEY/xWGwygw60BZxKbZCHSZNujuo6vkup4 Gbmdb/gIo8GQv38AVpguvhSdtK3o8QodmbUuSkJDEtMg14zaDqGf8rWZ9oNaklO8RRp/ Iy7QBq52gWiuIYXvfpw/cz6yJDO+I14mqy5ss8IvSUY9jICLRaAwKgC+kVtKkF+nl1G2 YLHg== 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; bh=YCyNWjhO4V+grwdhX/Rkj6AZtgSXulvvHbE6SHCabhc=; b=MwzIMXk6/gV4SwkbzLKsM/JVGIDXkJ3fxLV+G+Jfqpr8zI9UCA4yFDOuy33SvyG5Qk eKVG8oO2Bx5DcfDTgDWukeysdW7H/fZf+Z0JY3WIbk6KVgZZMvmzcYng+tCwqhTdv55e q8IgqE2PMjLg0bCTNQn3GR6PaLLNT2yXSRLh6k0TAguJxpoVaJOK5eR+fwCNAuj4Om9Y 0oSkfqBEx43XFVslwWvLceBa9WTDyd+niDRoI7wdKoF5tz4M2gXmY0HsaEYnPChc6GEG sxMxy6JVibovS9tvWcwnEYBCUg21MV5ngA6h2i33+LzUX3nCsVB7yjFBoY89B/x71xYN sBHQ== X-Gm-Message-State: AOAM533KhbKU95vnRXH4C2+OgJqbeX8qy8OIxTgSXi3EZxyGXAe1vwZ3 F1kEsRJePgS2VMOSUBacWXg= X-Google-Smtp-Source: ABdhPJyV/WkPZ7cH7PDgBqZ26JunVbj8zu2wDGcXqX9ALU+XHA62RewLfxASyZnmk4Pi7OI6tBvAOg== X-Received: by 2002:a62:3344:0:b029:28c:6f0f:cb90 with SMTP id z65-20020a6233440000b029028c6f0fcb90mr9497355pfz.58.1626430848877; Fri, 16 Jul 2021 03:20:48 -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.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jul 2021 03:20:48 -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 0/2] Add ilitek ili9341 panel driver Date: Fri, 16 Jul 2021 18:20:41 +0800 Message-Id: <1626430843-23823-1-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=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 <dillon.minfei@gmail.com> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Add ilitek ili9341 panel driver
|
expand
|
From: Dillon Min <dillon.minfei@gmail.com> Since the st,sf-tc240t-9370-t dts binding already exist in stm32f429-disco.dts but, the panel driver didn't get accepted from mainline. it's time to submit patch fot it. This driver can support two different interface by different dts bindings: - spi+dpi, use spi to configure register, dpi for graphic data. st,sf-tc240t-9370-t - only spi, just like tiny/ili9341.c (actually, this part is copy from tiny) adafruit,yx240qv29 I submited the first patch last year, you can find it at [1]. this patch has one major difference from that one, which is replace the low level communication way, from spi_sync() to mipi_dbi_{command, command_stackbuf}() interface, referred from Linus's patch [2]. both the two dpi/dbi interface was tested on stm32f429-disco board, if anyone want to verify this patch, you need apply the clk patch for this board first, you can get it from [3] [1] "drm/panel: Add ilitek ili9341 panel driver" https://lore.kernel.org/lkml/1590378348-8115-7-git-send-email-dillon.minfei@gmail.com/ [2] "drm/panel: s6e63m0: Switch to DBI abstraction for SPI" https://lore.kernel.org/dri-devel/20210611214243.669892-1-linus.walleij@linaro.org/ [3] https://lore.kernel.org/lkml/1590378348-8115-6-git-send-email-dillon.minfei@gmail.com/ Dillon Min (2): dt-bindings: display: panel: Add ilitek ili9341 panel bindings drm/panel: Add ilitek ili9341 panel driver .../bindings/display/panel/ilitek,ili9341.yaml | 69 ++ drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 778 +++++++++++++++++++++ 4 files changed, 860 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9341.c