Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756554AbbKEFmJ (ORCPT ); Thu, 5 Nov 2015 00:42:09 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:34128 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755926AbbKEFmG (ORCPT ); Thu, 5 Nov 2015 00:42:06 -0500 Subject: Re: [PATCH v2 2/2] drm/panel: Add Sharp LS043T1LE01 MIPI DSI panel To: Bjorn Andersson , Thierry Reding , David Airlie References: <1446244470-8517-1-git-send-email-bjorn.andersson@sonymobile.com> <1446244470-8517-2-git-send-email-bjorn.andersson@sonymobile.com> Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org From: Archit Taneja Message-ID: <563AEC26.1060601@codeaurora.org> Date: Thu, 5 Nov 2015 11:11:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1446244470-8517-2-git-send-email-bjorn.andersson@sonymobile.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12676 Lines: 454 On 10/31/2015 04:04 AM, Bjorn Andersson wrote: > From: Werner Johansson > > This adds support for the Sharp panel found on the Qualcomm > Snapdragon 800 Dragonboard (APQ8074) > > Signed-off-by: Werner Johansson > Signed-off-by: Bjorn Andersson Reviewed-by: Archit Taneja > --- > > Change since v1: > - Dropped -vid suffix from compatible > > drivers/gpu/drm/panel/Kconfig | 9 + > drivers/gpu/drm/panel/Makefile | 1 + > drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 387 ++++++++++++++++++++++++ > 3 files changed, 397 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 7d4704b1292b..da3b9c7889c4 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -51,4 +51,13 @@ config DRM_PANEL_SHARP_LQ101R1SX01 > To compile this driver as a module, choose M here: the module > will be called panel-sharp-lq101r1sx01. > > +config DRM_PANEL_SHARP_LS043T1LE01 > + tristate "Sharp LS043T1LE01 qHD video mode panel" > + depends on OF > + depends on DRM_MIPI_DSI > + depends on BACKLIGHT_CLASS_DEVICE > + help > + Say Y here if you want to enable support for Sharp LS043T1LE01 qHD > + (540x960) DSI panel as found on the Qualcomm APQ8074 Dragonboard > + > endmenu > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > index d0f016dd7ddb..53de90aa49cd 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -3,3 +3,4 @@ obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o > obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o > obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o > obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o > +obj-$(CONFIG_DRM_PANEL_SHARP_LS043T1LE01) += panel-sharp-ls043t1le01.o > diff --git a/drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c b/drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c > new file mode 100644 > index 000000000000..3aeb0bda4947 > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c > @@ -0,0 +1,387 @@ > +/* > + * Copyright (C) 2015 Red Hat > + * Copyright (C) 2015 Sony Mobile Communications Inc. > + * Author: Werner Johansson > + * > + * Based on AUO panel driver by Rob Clark > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License version 2 as published by > + * the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, but WITHOUT > + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or > + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for > + * more details. > + * > + * You should have received a copy of the GNU General Public License along with > + * this program. If not, see . > + */ > + > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > + > +#include