From patchwork Mon Jul 29 19:55:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 11064445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7A11714DB for ; Mon, 29 Jul 2019 19:55:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60485209CE for ; Mon, 29 Jul 2019 19:55:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D31627FC0; Mon, 29 Jul 2019 19:55:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2F96209CE for ; Mon, 29 Jul 2019 19:55:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A1896E1D3; Mon, 29 Jul 2019 19:55:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id A9A2989D44 for ; Mon, 29 Jul 2019 19:55:48 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:57528 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hsBkI-0003F7-6y; Mon, 29 Jul 2019 21:55:46 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [RFC 0/4] drm/mipi-dbi: Support panel drivers Date: Mon, 29 Jul 2019 21:55:22 +0200 Message-Id: <20190729195526.13337-1-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=dYiWPS00hd1Ya6xf94NYBtNfNi5AxS+aP/56O35HEdk=; b=uMNzIF98uOSCGdhJFJ2sCB59EqBUZdF/5WmEO3sTCaIT96f0EIvJAaF+qrRByzh0e2Em5+EUf98OPwAaRHLwHSr5aYScWhX32DbHf18w8X+0HkJZ55vntHE/usu+k/oI+RF/PdQ4cvllTL5yp9PzqoBlUogeRJcvkRc7yJ9QKc72pKvcsiJ87378lJqE8eMqPOc6p1wdE4sGqkIpOR6csxOcBTnamJ7Sya2wrGMMSI2v/vNwWE4ByIdD4LhEfcF1LGhHlFpV3iY4LY6OaHuNKw9GZfJ+GZB5Tek1KDiF3u29sQfQd8r9mGxHZ3bFlwbhZaY0EF/OwlAjZCCJuf+fjQ==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@ffwll.ch, josef@lusticky.cz, thierry.reding@gmail.com, laurent.pinchart@ideasonboard.com, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Inspired by the thread[1] following the submission of a new ili9341 panel driver[2], I set out to see if I could support panel drivers in drm_mipi_dbi. I have included the original driver, done some prep work on it, added panel support to drm_mipi_dbi and converted mi0283qt to this new panel driver. The big question is whether or not panel drivers should be allowed to turn themselves into full fledged DRM drivers. Noralf. [1] https://lists.freedesktop.org/archives/dri-devel/2019-July/228193.html [2] https://patchwork.freedesktop.org/patch/316528/ Josef Lusticky (1): drm/panel: Add Ilitek ILI9341 parallel RGB panel driver Noralf Trønnes (3): drm/panel/ili9341: Rebase and some more drm/mipi-dbi: Support command mode panel drivers drm/panel/ili9341: Support mi0283qt MAINTAINERS | 6 + drivers/gpu/drm/drm_mipi_dbi.c | 110 +++++ drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 452 +++++++++++++++++++ include/drm/drm_mipi_dbi.h | 8 + 6 files changed, 586 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9341.c