From patchwork Thu Aug 1 13:52:48 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: 11070719 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 87A8413A4 for ; Thu, 1 Aug 2019 13:53:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 781EF285BD for ; Thu, 1 Aug 2019 13:53:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B9522867F; Thu, 1 Aug 2019 13:53:15 +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 4D31A285EE for ; Thu, 1 Aug 2019 13:53:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28B296E613; Thu, 1 Aug 2019 13:53:10 +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 1E9326E613 for ; Thu, 1 Aug 2019 13:53:08 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:56446 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 1htBVy-0000ZK-4Y; Thu, 01 Aug 2019 15:53:06 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/4] drm/tiny/mi0283qt: Move driver to panel-ilitek-ili9341 Date: Thu, 1 Aug 2019 15:52:48 +0200 Message-Id: <20190801135249.28803-4-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190801135249.28803-1-noralf@tronnes.org> References: <20190801135249.28803-1-noralf@tronnes.org> 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:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=Kdx/MQSGR2mtFAqaFFGAj24oZVd6ODw7t3/9N+hERtg=; b=VWqAtDZB3EzI/qPefFbQX1fwpYjRQv17QeTrHGzLuJrARS0RpBlXFHLziIBuvWZb62Ij4JpQtM4TKTfh23Hk0FFuDkVFnH9yEP95uCgDIG5uRFQ7F80w6IHOZ5D4WaQpwaOqn1Rr8L5DgP9qfj7hnAGod+7nMntkwn9B3Y96SkJu5dSeDgiS9QpzQf+un5W0LYNawB6/pSowbbtpZWkKNdVfhBbDYUj3Ar4BAgokCrcBQdBc9cijotveQ5x06ODKiJLQ+ehpIqWPAWxMP2cNwxjBVJCUn4OpG3MdQ8khIUtgyX/LVn0aMPJHYBsqxVPAHfrBmD9BswxSr6Zd+vLjAQ==; 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: David Lechner , daniel.vetter@ffwll.ch, emil.l.velikov@gmail.com, 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 The MI0283QT panels use a ILI9341 controller so it makes sense to merge it with the other ili9341 code. The DRM driver name is ABI, so that is retained. Cc: David Lechner Signed-off-by: Noralf Trønnes --- MAINTAINERS | 9 +- drivers/gpu/drm/panel/Kconfig | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 161 +++++++++- drivers/gpu/drm/tiny/Kconfig | 11 - drivers/gpu/drm/tiny/Makefile | 1 - drivers/gpu/drm/tiny/mi0283qt.c | 294 ------------------- 6 files changed, 161 insertions(+), 316 deletions(-) delete mode 100644 drivers/gpu/drm/tiny/mi0283qt.c diff --git a/MAINTAINERS b/MAINTAINERS index 66b3893a100f..cd7b8bdb3780 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5110,10 +5110,12 @@ F: Documentation/devicetree/bindings/display/ilitek,ili9225.txt DRM DRIVER FOR ILITEK ILI9341 PANELS M: David Lechner +M: Noralf Trønnes T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained F: drivers/gpu/drm/panel/panel-ilitek-ili9341.c F: Documentation/devicetree/bindings/display/ilitek,ili9341.txt +F: Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt DRM DRIVER FOR HX8357D PANELS M: Eric Anholt @@ -5137,13 +5139,6 @@ M: Dave Airlie S: Odd Fixes F: drivers/gpu/drm/mgag200/ -DRM DRIVER FOR MI0283QT -M: Noralf Trønnes -T: git git://anongit.freedesktop.org/drm/drm-misc -S: Maintained -F: drivers/gpu/drm/tiny/mi0283qt.c -F: Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt - DRM DRIVER FOR MSM ADRENO GPU M: Rob Clark M: Sean Paul diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index a24953ec2d40..fbb5a723eeb5 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -65,6 +65,7 @@ config DRM_PANEL_ILITEK_ILI9341 help DRM driver for the following Ilitek ILI9341 panels: * YX240QV29-T 2.4" 240x320 TFT (Adafruit 2.4") + * Multi-Inno MI0283QT If M is selected the module will be called panel-ilitek-ili9341. diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9341.c b/drivers/gpu/drm/panel/panel-ilitek-ili9341.c index f8df737018d3..f6082fa2a389 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9341.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9341.c @@ -3,8 +3,6 @@ * DRM driver for Ilitek ILI9341 panels * * Copyright 2018 David Lechner - * - * Based on mi0283qt.c: * Copyright 2016 Noralf Trønnes */ @@ -13,7 +11,9 @@ #include #include #include +#include #include +#include #include #include